OSDN Git Service

arm64: dts: qcom: apq8096-db820c: Add resin node
authorVinod Koul <vkoul@kernel.org>
Mon, 10 Sep 2018 09:48:49 +0000 (15:18 +0530)
committerAndy Gross <andy.gross@linaro.org>
Thu, 13 Sep 2018 18:43:05 +0000 (13:43 -0500)
Resin is board specific, so add the resin node in apq8096-db820c dtsi

Signed-off-by: Vinod Koul <vkoul@kernel.org>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi

index 0ef90c6..bf20c55 100644 (file)
                };
        };
 };
+
+&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>;
+                       };
+               };
+       };
+};