diff mbox series

[v3,3/4] arm64: dts: qcom: apq8016-sbc: Add resin binding

Message ID 20180827103033.6359-4-vkoul@kernel.org (mailing list archive)
State Superseded
Delegated to: Andy Gross
Headers show
Series arm64: dts: Add PON & resin binding | expand

Commit Message

Vinod Koul Aug. 27, 2018, 10:30 a.m. UTC
Signed-off-by: Vinod Koul <vkoul@kernel.org>
---
 arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

Comments

Bjorn Andersson Sept. 2, 2018, 3:50 a.m. UTC | #1
On Mon 27 Aug 03:30 PDT 2018, Vinod Koul wrote:

> Signed-off-by: Vinod Koul <vkoul@kernel.org>

Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>

Regards,
Bjorn

> ---
>  arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi | 14 ++++++++++++++
>  1 file changed, 14 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi b/arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi
> index 78ce3979ef09..46feedf7c989 100644
> --- a/arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi
> +++ b/arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi
> @@ -545,6 +545,20 @@
>  	};
>  };
>  
> +&spmi_bus {
> +	pm8916_0: pm8916@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>;
> +			};
> +		};
> +	};
> +};
> +
>  &wcd_codec {
>          status = "okay";
>          clocks = <&gcc GCC_CODEC_DIGCODEC_CLK>;
> -- 
> 2.14.4
>
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi b/arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi
index 78ce3979ef09..46feedf7c989 100644
--- a/arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi
+++ b/arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi
@@ -545,6 +545,20 @@ 
 	};
 };
 
+&spmi_bus {
+	pm8916_0: pm8916@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>;
+			};
+		};
+	};
+};
+
 &wcd_codec {
         status = "okay";
         clocks = <&gcc GCC_CODEC_DIGCODEC_CLK>;