Message ID | 1542962678-13697-3-git-send-email-loic.poulain@linaro.org |
---|---|
State | Accepted |
Commit | 0f60e6fb54fb2d749e701d910de7f39f67c0020c |
Headers | show |
Series | None | expand |
On Fri, Nov 23, 2018 at 09:44:38AM +0100, Loic Poulain wrote: > Add watchdog child node to the PM8916 PON device. > > Signed-off-by: Loic Poulain <loic.poulain@linaro.org> Acked-by: Guenter Roeck <linux@roeck-us.net> ... with the assumption that this patch will be pushed through an arm tree. Guenter > --- > v2: Add interrupts and timeout-sec props > v3: no change > > arch/arm64/boot/dts/qcom/pm8916.dtsi | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/pm8916.dtsi b/arch/arm64/boot/dts/qcom/pm8916.dtsi > index a05ebaf..3230b88 100644 > --- a/arch/arm64/boot/dts/qcom/pm8916.dtsi > +++ b/arch/arm64/boot/dts/qcom/pm8916.dtsi > @@ -32,6 +32,12 @@ > bias-pull-up; > linux,code = <KEY_POWER>; > }; > + > + watchdog { > + compatible = "qcom,pm8916-wdt"; > + interrupts = <0x0 0x8 6 IRQ_TYPE_EDGE_RISING>; > + timeout-sec = <60>; > + }; > }; > > pm8916_gpios: gpios@c000 {
diff --git a/arch/arm64/boot/dts/qcom/pm8916.dtsi b/arch/arm64/boot/dts/qcom/pm8916.dtsi index a05ebaf..3230b88 100644 --- a/arch/arm64/boot/dts/qcom/pm8916.dtsi +++ b/arch/arm64/boot/dts/qcom/pm8916.dtsi @@ -32,6 +32,12 @@ bias-pull-up; linux,code = <KEY_POWER>; }; + + watchdog { + compatible = "qcom,pm8916-wdt"; + interrupts = <0x0 0x8 6 IRQ_TYPE_EDGE_RISING>; + timeout-sec = <60>; + }; }; pm8916_gpios: gpios@c000 {
Add watchdog child node to the PM8916 PON device. Signed-off-by: Loic Poulain <loic.poulain@linaro.org> --- v2: Add interrupts and timeout-sec props v3: no change arch/arm64/boot/dts/qcom/pm8916.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) -- 2.7.4