diff mbox series

[v3,3/3] arm64: dts: qcom: pm8916: Add PON watchdog node

Message ID 1542962678-13697-3-git-send-email-loic.poulain@linaro.org
State Accepted
Commit 0f60e6fb54fb2d749e701d910de7f39f67c0020c
Headers show
Series None | expand

Commit Message

Loic Poulain Nov. 23, 2018, 8:44 a.m. UTC
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

Comments

Guenter Roeck Dec. 15, 2018, 4:27 p.m. UTC | #1
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 mbox series

Patch

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 {