diff mbox series

[3/3] arm64: dts: qcom:qrb5165-rb5: enabled pwrkey and resin nodes

Message ID 20210916151341.1797512-3-dmitry.baryshkov@linaro.org
State Accepted
Commit 30b83220aa009b8654f17a8ad6cf8b08959110f2
Headers show
Series [1/3] arm64: dts: qcom: pm8150: use qcom,pm8998-pon binding | expand

Commit Message

Dmitry Baryshkov Sept. 16, 2021, 3:13 p.m. UTC
Enable powerkey and resin nodes to let the board handle POWER and
Volume- keys properly.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>

---
 arch/arm64/boot/dts/qcom/qrb5165-rb5.dts | 10 ++++++++++
 1 file changed, 10 insertions(+)

-- 
2.33.0
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts b/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts
index 8ac96f8e79d4..28d5b5528516 100644
--- a/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts
+++ b/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts
@@ -804,6 +804,16 @@  lt9611_rst_pin: lt9611-rst-pin {
 	};
 };
 
+&pon_pwrkey {
+	status = "okay";
+};
+
+&pon_resin {
+	status = "okay";
+
+	linux,code = <KEY_VOLUMEDOWN>;
+};
+
 &qupv3_id_0 {
 	status = "okay";
 };