diff mbox series

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

Message ID 20200121171806.9933-1-swboyd@chromium.org (mailing list archive)
State Accepted
Commit 31a233a5a17b5405faa7c52700d15cd5b3ef7c52
Headers show
Series arm64: dts: qcom: sdm845: Disable pwrkey on Cheza | expand

Commit Message

Stephen Boyd Jan. 21, 2020, 5:18 p.m. UTC
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 <dianders@chromium.org>
Signed-off-by: Stephen Boyd <swboyd@chromium.org>
---
 arch/arm64/boot/dts/qcom/pm8998.dtsi       | 2 +-
 arch/arm64/boot/dts/qcom/sdm845-cheza.dtsi | 4 ++++
 2 files changed, 5 insertions(+), 1 deletion(-)

Comments

Doug Anderson Jan. 21, 2020, 8:49 p.m. UTC | #1
Hi,

On Tue, Jan 21, 2020 at 9:18 AM Stephen Boyd <swboyd@chromium.org> wrote:
>
> 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 <dianders@chromium.org>
> Signed-off-by: Stephen Boyd <swboyd@chromium.org>
> ---
>  arch/arm64/boot/dts/qcom/pm8998.dtsi       | 2 +-
>  arch/arm64/boot/dts/qcom/sdm845-cheza.dtsi | 4 ++++
>  2 files changed, 5 insertions(+), 1 deletion(-)

Reviewed-by: Douglas Anderson <dianders@chromium.org>
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/qcom/pm8998.dtsi b/arch/arm64/boot/dts/qcom/pm8998.dtsi
index dc2ce23cde05..67283d60e2ac 100644
--- a/arch/arm64/boot/dts/qcom/pm8998.dtsi
+++ b/arch/arm64/boot/dts/qcom/pm8998.dtsi
@@ -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>;
diff --git a/arch/arm64/boot/dts/qcom/sdm845-cheza.dtsi b/arch/arm64/boot/dts/qcom/sdm845-cheza.dtsi
index 7b53b3c7ffe6..a8e9f639a2bb 100644
--- a/arch/arm64/boot/dts/qcom/sdm845-cheza.dtsi
+++ b/arch/arm64/boot/dts/qcom/sdm845-cheza.dtsi
@@ -626,6 +626,10 @@  &mdss_mdp {
 	status = "okay";
 };
 
+&pm8998_pwrkey {
+	status = "disabled";
+};
+
 &qupv3_id_0 {
 	status = "okay";
 };