ARM: dts: qcom: pm8921: Disable keypad by default
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Thu, 28 Sep 2023 11:03:06 +0000 (14:03 +0300)
committerBjorn Andersson <andersson@kernel.org>
Tue, 14 Nov 2023 17:26:00 +0000 (11:26 -0600)
Since keypad is used only by some devices, disable it by default and enable explicitly.

Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20230928110309.1212221-34-dmitry.baryshkov@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm/boot/dts/qcom/pm8921.dtsi
arch/arm/boot/dts/qcom/qcom-msm8960-cdp.dts

index 360a179670c549dbc8a5addc3bdff85cf04a3578..058962af30051d9df99231b627a23535dc43504e 100644 (file)
@@ -43,6 +43,7 @@
                        debounce = <15>;
                        scan-delay = <32>;
                        row-hold = <91500>;
+                       status = "disabled";
                };
 
                pm8921_gpio: gpio@150 {
index a5ea4843db43c965aa956e65ca9339a2725606c3..36f4c997b0b3aa8c9bbbee78906f03dad0a73e7e 100644 (file)
                >;
        keypad,num-rows = <1>;
        keypad,num-columns = <5>;
+
+       status = "okay";
 };
 
 &rpm {