diff mbox series

[v2,4/4] arm64: dts: qcom: apq8096-db820c: Add resin binding

Message ID 20180731161421.30731-4-vkoul@kernel.org (mailing list archive)
State Superseded, archived
Delegated to: Andy Gross
Headers show
Series [v2,1/4] arm64: dts: qcom: pm8916: Add PON binding | expand

Commit Message

Vinod Koul July 31, 2018, 4:14 p.m. UTC
Signed-off-by: Vinod Koul <vkoul@kernel.org>
---
 arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi b/arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi
index 8f88315e3953..d51baa068a9d 100644
--- a/arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi
+++ b/arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi
@@ -384,3 +384,17 @@ 
 		};
 	};
 };
+
+&spmi_bus {
+	pmic@0 {
+		pon@800 {
+			resin {
+				compatible = "qcom,pm8941-resin";
+				interrupts = <0x0 0x8 1 IRQ_TYPE_EDGE_BOTH>;
+				debounce = <15625>;
+				bias-pull-up;
+				linux,code = <KEY_VOLUMEDOWN>;
+			};
+		};
+	};
+};