Skip to contentSkip to conversation

arm64: dts: qcom: sdm845: Disable pwrkey on Cheza

PATCH In review Stephen Boyd 2 participants 2 messages Jan 21, 2020

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm64: dts: qcom: sdm845: Disable pwrkey on Cheza

We don't use the power key from the PMIC on Cheza. Disable this node so that we don't probe the driver for this device.

Cc Douglas Anderson <[email protected]>
---
 arch/arm64/boot/dts/qcom/pm8998.dtsi       | 2 +-
 arch/arm64/boot/dts/qcom/sdm845-cheza.dtsi | 4 ++++
 2 files changed, 5 insertions(+), 1 deletion(-)
arch/arm64/boot/dts/qcom/pm8998.dtsi +1 -1
index dc2ce23cde05..67283d60e2ac 100644
@@ -45,7 +45,7 @@ pm8998_pon: pon@800 {
 			mode-bootloader = <0x2>;
 			mode-recovery = <0x1>;
 
-			pwrkey {
+			pm8998_pwrkey: pwrkey {
 				compatible = "qcom,pm8941-pwrkey";
 				interrupts = <0x0 0x8 0 IRQ_TYPE_EDGE_BOTH>;
 				debounce = <15625>;
arch/arm64/boot/dts/qcom/sdm845-cheza.dtsi +4 -0
index 7b53b3c7ffe6..a8e9f639a2bb 100644
@@ -626,6 +626,10 @@ &mdss_mdp {
 	status = "okay";
 };
 
+&pm8998_pwrkey {
+	status = "disabled";
+};
+
 &qupv3_id_0 {
 	status = "okay";
 };
Signature · 1 line
Sent by a computer, using git, on the internet
Reviewed-by on v1 1/1
#1 lore raw

Hi,

Quoted 10 lines · Stephen Boyd

We don't use the power key from the PMIC on Cheza. Disable this node so that we don't probe the driver for this device.

Cc Douglas Anderson <[email protected]>
---
 arch/arm64/boot/dts/qcom/pm8998.dtsi       | 2 +-
 arch/arm64/boot/dts/qcom/sdm845-cheza.dtsi | 4 ++++
 2 files changed, 5 insertions(+), 1 deletion(-)