mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-03-04 03:56:44 -05:00
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:
committed by
Bjorn Andersson
parent
4e71c38244
commit
3706bcfbdb
@@ -484,6 +484,10 @@ &pcie3_phy {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&pmc8180_pwrkey {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&pmc8180c_lpg {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
@@ -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>;
|
||||
|
||||
@@ -578,6 +578,10 @@ &pcie1_phy {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&pmc8180_pwrkey {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&pmc8180c_lpg {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user