diff mbox series

[v4,4/4] arm64: dts: qcom: apq8096-db820c: Add resin node

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

Commit Message

Vinod Koul Sept. 7, 2018, 6:11 a.m. UTC
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
---
 arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

Comments

Amit Kucheria Sept. 7, 2018, 7:08 a.m. UTC | #1
Missing patch description? :-)

On Fri, Sep 7, 2018 at 11:41 AM, Vinod Koul <vkoul@kernel.org> wrote:
> Signed-off-by: Vinod Koul <vkoul@kernel.org>
> Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
> ---
>  arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi | 14 ++++++++++++++
>  1 file changed, 14 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi b/arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi
> index 0ef90c6554a9..bf20c55a6bc4 100644
> --- a/arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi
> +++ b/arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi
> @@ -623,3 +623,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>;
> +                       };
> +               };
> +       };
> +};
> --
> 2.14.4
>
Vinod Koul Sept. 7, 2018, 7:25 a.m. UTC | #2
On 07-09-18, 12:38, Amit Kucheria wrote:
> Missing patch description? :-)

Yes I should have added more details, will add.

> On Fri, Sep 7, 2018 at 11:41 AM, Vinod Koul <vkoul@kernel.org> wrote:
> > Signed-off-by: Vinod Koul <vkoul@kernel.org>
> > Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
> > ---
> >  arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi | 14 ++++++++++++++
> >  1 file changed, 14 insertions(+)
> >
> > diff --git a/arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi b/arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi
> > index 0ef90c6554a9..bf20c55a6bc4 100644
> > --- a/arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi
> > +++ b/arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi
> > @@ -623,3 +623,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>;
> > +                       };
> > +               };
> > +       };
> > +};
> > --
> > 2.14.4
> >
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 0ef90c6554a9..bf20c55a6bc4 100644
--- a/arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi
+++ b/arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi
@@ -623,3 +623,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>;
+			};
+		};
+	};
+};