diff mbox

[linux,dev-4.10] arch/arm/boot/dts: Add watchdog 1 optional properties.

Message ID 20170706140642.22377-1-cbostic@linux.vnet.ibm.com
State Superseded, archived
Headers show

Commit Message

Christopher Bostic July 6, 2017, 2:06 p.m. UTC
Define external-signal and no system reset optional parameters
to the dev tree so that watchdog 1 can be configured for these
modes.

Signed-off-by: Christopher Bostic <cbostic@linux.vnet.ibm.com>
---
 arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts | 5 +++++
 1 file changed, 5 insertions(+)

Comments

Joel Stanley July 6, 2017, 2:11 p.m. UTC | #1
On Thu, Jul 6, 2017 at 11:36 PM, Christopher Bostic
<cbostic@linux.vnet.ibm.com> wrote:
> Define external-signal and no system reset optional parameters
> to the dev tree so that watchdog 1 can be configured for these
> modes.

Thanks. Take a look at the history of the dts changes. Convention is
to use the prefix:

 "ARM: dts: aspeed: Add watchdog 1 optional properties"

Keep it in mind for next time. I'll fix it up for you when I apply it.

Cheers,

Joel
>
> Signed-off-by: Christopher Bostic <cbostic@linux.vnet.ibm.com>
> ---
>  arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts | 5 +++++
>  1 file changed, 5 insertions(+)
>
> diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts b/arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts
> index 31315d0..20bbda6 100644
> --- a/arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts
> +++ b/arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts
> @@ -420,6 +420,11 @@
>         aspeed,external-nodes = <&gfx &lhc>;
>  };
>
> +&wdt1 {
> +       aspeed,no-sys-reset;
> +       aspeed,external-signal;
> +};
> +
>  &wdt2 {
>         status = "okay";
>  };
> --
> 1.8.2.2
>
diff mbox

Patch

diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts b/arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts
index 31315d0..20bbda6 100644
--- a/arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts
+++ b/arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts
@@ -420,6 +420,11 @@ 
 	aspeed,external-nodes = <&gfx &lhc>;
 };
 
+&wdt1 {
+	aspeed,no-sys-reset;
+	aspeed,external-signal;
+};
+
 &wdt2 {
 	status = "okay";
 };