arm64: dts: qcom: sc8180x: Enable the power key

No input events are generated from the pressing of the power key on
either Primus or Flex 5G, because the device node isn't enabled.

Give the power key node a label and enable this for the two devices.

Signed-off-by: Bjorn Andersson <quic_bjorande@quicinc.com>
Tested-by: Steev Klimaszewski <steev@kali.org>
Link: https://lore.kernel.org/r/20240812-sc8180x-pwrkey-enable-v1-1-2bcc22133774@quicinc.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
This commit is contained in:
Bjorn Andersson
2024-08-12 20:34:19 -07:00
committed by Bjorn Andersson
parent 4e71c38244
commit 3706bcfbdb
3 changed files with 9 additions and 1 deletions

View File

@@ -484,6 +484,10 @@ &pcie3_phy {
status = "okay";
};
&pmc8180_pwrkey {
status = "okay";
};
&pmc8180c_lpg {
status = "okay";
};

View File

@@ -75,7 +75,7 @@ pmc8180_0: pmic@0 {
pon: pon@800 {
compatible = "qcom,pm8916-pon";
reg = <0x0800>;
pwrkey {
pmc8180_pwrkey: pwrkey {
compatible = "qcom,pm8941-pwrkey";
interrupts = <0x0 0x8 0x0 IRQ_TYPE_EDGE_BOTH>;
debounce = <15625>;

View File

@@ -578,6 +578,10 @@ &pcie1_phy {
status = "okay";
};
&pmc8180_pwrkey {
status = "okay";
};
&pmc8180c_lpg {
status = "okay";
};