All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: dts: ast2600: Make WDT by default disabled
@ 2021-09-16  6:10 Chia-Wei Wang
  2021-09-16  7:11 ` Ryan Chen
  2021-10-03 23:33 ` Tom Rini
  0 siblings, 2 replies; 3+ messages in thread
From: Chia-Wei Wang @ 2021-09-16  6:10 UTC (permalink / raw)
  To: u-boot; +Cc: ryan_chen

The WDT devices described in the general .dtsi file
should be marked as "disabled" by default.

A WDT should be then enabled in the board specific
.dts file on demands.

Signed-off-by: Chia-Wei Wang <chiawei_wang@aspeedtech.com>
---
 arch/arm/dts/ast2600.dtsi | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/arm/dts/ast2600.dtsi b/arch/arm/dts/ast2600.dtsi
index ac0f08b7ea..f121f547e6 100644
--- a/arch/arm/dts/ast2600.dtsi
+++ b/arch/arm/dts/ast2600.dtsi
@@ -474,21 +474,25 @@
 			wdt1: watchdog@1e785000 {
 				compatible = "aspeed,ast2600-wdt";
 				reg = <0x1e785000 0x40>;
+				status = "disabled";
 			};
 
 			wdt2: watchdog@1e785040 {
 				compatible = "aspeed,ast2600-wdt";
 				reg = <0x1e785040 0x40>;
+				status = "disabled";
 			};
 
 			wdt3: watchdog@1e785080 {
 				compatible = "aspeed,ast2600-wdt";
 				reg = <0x1e785080 0x40>;
+				status = "disabled";
 			};
 
 			wdt4: watchdog@1e7850C0 {
 				compatible = "aspeed,ast2600-wdt";
 				reg = <0x1e7850C0 0x40>;
+				status = "disabled";
 			};
 
 			lpc: lpc@1e789000 {
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* RE: [PATCH] ARM: dts: ast2600: Make WDT by default disabled
  2021-09-16  6:10 [PATCH] ARM: dts: ast2600: Make WDT by default disabled Chia-Wei Wang
@ 2021-09-16  7:11 ` Ryan Chen
  2021-10-03 23:33 ` Tom Rini
  1 sibling, 0 replies; 3+ messages in thread
From: Ryan Chen @ 2021-09-16  7:11 UTC (permalink / raw)
  To: ChiaWei Wang, u-boot

> -----Original Message-----
> From: ChiaWei Wang <chiawei_wang@aspeedtech.com>
> Sent: Thursday, September 16, 2021 2:10 PM
> To: u-boot@lists.denx.de
> Cc: Ryan Chen <ryan_chen@aspeedtech.com>
> Subject: [PATCH] ARM: dts: ast2600: Make WDT by default disabled
> 
> The WDT devices described in the general .dtsi file should be marked as
> "disabled" by default.
> 
> A WDT should be then enabled in the board specific .dts file on demands.
> 
> Signed-off-by: Chia-Wei Wang <chiawei_wang@aspeedtech.com>
Reviewed-by: Ryan Chen <ryan_chen@aspeedtech.com>
> ---
>  arch/arm/dts/ast2600.dtsi | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/arch/arm/dts/ast2600.dtsi b/arch/arm/dts/ast2600.dtsi index
> ac0f08b7ea..f121f547e6 100644
> --- a/arch/arm/dts/ast2600.dtsi
> +++ b/arch/arm/dts/ast2600.dtsi
> @@ -474,21 +474,25 @@
>  			wdt1: watchdog@1e785000 {
>  				compatible = "aspeed,ast2600-wdt";
>  				reg = <0x1e785000 0x40>;
> +				status = "disabled";
>  			};
> 
>  			wdt2: watchdog@1e785040 {
>  				compatible = "aspeed,ast2600-wdt";
>  				reg = <0x1e785040 0x40>;
> +				status = "disabled";
>  			};
> 
>  			wdt3: watchdog@1e785080 {
>  				compatible = "aspeed,ast2600-wdt";
>  				reg = <0x1e785080 0x40>;
> +				status = "disabled";
>  			};
> 
>  			wdt4: watchdog@1e7850C0 {
>  				compatible = "aspeed,ast2600-wdt";
>  				reg = <0x1e7850C0 0x40>;
> +				status = "disabled";
>  			};
> 
>  			lpc: lpc@1e789000 {
> --
> 2.17.1


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] ARM: dts: ast2600: Make WDT by default disabled
  2021-09-16  6:10 [PATCH] ARM: dts: ast2600: Make WDT by default disabled Chia-Wei Wang
  2021-09-16  7:11 ` Ryan Chen
@ 2021-10-03 23:33 ` Tom Rini
  1 sibling, 0 replies; 3+ messages in thread
From: Tom Rini @ 2021-10-03 23:33 UTC (permalink / raw)
  To: Chia-Wei Wang; +Cc: u-boot, ryan_chen

[-- Attachment #1: Type: text/plain, Size: 416 bytes --]

On Thu, Sep 16, 2021 at 02:10:09PM +0800, Chia-Wei Wang wrote:

> The WDT devices described in the general .dtsi file
> should be marked as "disabled" by default.
> 
> A WDT should be then enabled in the board specific
> .dts file on demands.
> 
> Signed-off-by: Chia-Wei Wang <chiawei_wang@aspeedtech.com>
> Reviewed-by: Ryan Chen <ryan_chen@aspeedtech.com>

Applied to u-boot/next, thanks!

-- 
Tom

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-10-03 23:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-16  6:10 [PATCH] ARM: dts: ast2600: Make WDT by default disabled Chia-Wei Wang
2021-09-16  7:11 ` Ryan Chen
2021-10-03 23:33 ` Tom Rini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.