[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190814125012.8700-17-vkoul@kernel.org>
Date: Wed, 14 Aug 2019 18:20:06 +0530
From: Vinod Koul <vkoul@...nel.org>
To: Andy Gross <agross@...nel.org>
Cc: linux-arm-msm@...r.kernel.org,
Bjorn Andersson <bjorn.andersson@...aro.org>,
sibis@...eaurora.org, Vinod Koul <vkoul@...nel.org>,
Rob Herring <robh+dt@...nel.org>,
Mark Rutland <mark.rutland@....com>,
Stephen Boyd <sboyd@...nel.org>, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [PATCH 16/22] arm64: dts: qcom: sm8150-mtp: Add resin node
The sm8150-mtp board has a reset button which also works as a volume
down key. Add the node for resin device to handle the resin and volume
down key
Signed-off-by: Vinod Koul <vkoul@...nel.org>
---
arch/arm64/boot/dts/qcom/sm8150-mtp.dts | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/sm8150-mtp.dts b/arch/arm64/boot/dts/qcom/sm8150-mtp.dts
index 43ba14cc0b00..a42f1c154600 100644
--- a/arch/arm64/boot/dts/qcom/sm8150-mtp.dts
+++ b/arch/arm64/boot/dts/qcom/sm8150-mtp.dts
@@ -26,6 +26,15 @@
status = "okay";
};
+&pon {
+ resin {
+ compatible = "qcom,pm8941-resin";
+ interrupts = <0x0 0x8 1 IRQ_TYPE_EDGE_BOTH>;
+ debounce = <15625>;
+ bias-pull-up;
+ linux,code = <KEY_VOLUMEDOWN>;
+ };
+};
&tlmm {
gpio-reserved-ranges = <0 4>, <126 4>;
};
--
2.20.1
Powered by blists - more mailing lists