linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 2/3] ARM: dts: at91: sam9x60ek: enable watchdog node
  2020-02-11  8:07 [PATCH 1/3] ARM: dts: at91: sam9x60: add watchdog node Eugen.Hristev
@ 2020-02-11  8:07 ` Eugen.Hristev
  2020-02-12 11:28   ` Alexandre Belloni
  2020-02-11  8:07 ` [PATCH 3/3] ARM: configs: at91: enable sama5d4 compatible watchdog Eugen.Hristev
  2020-02-12 11:27 ` [PATCH 1/3] ARM: dts: at91: sam9x60: add watchdog node Alexandre Belloni
  2 siblings, 1 reply; 6+ messages in thread
From: Eugen.Hristev @ 2020-02-11  8:07 UTC (permalink / raw)
  To: alexandre.belloni, Ludovic.Desroches
  Cc: Nicolas.Ferre, robh+dt, Claudiu.Beznea, linux-arm-kernel,
	devicetree, linux-kernel, Eugen.Hristev

From: Eugen Hristev <eugen.hristev@microchip.com>

Enable node for watchdog timer

Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
---
 arch/arm/boot/dts/at91-sam9x60ek.dts | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/arch/arm/boot/dts/at91-sam9x60ek.dts b/arch/arm/boot/dts/at91-sam9x60ek.dts
index 9f30132..b484745 100644
--- a/arch/arm/boot/dts/at91-sam9x60ek.dts
+++ b/arch/arm/boot/dts/at91-sam9x60ek.dts
@@ -645,3 +645,8 @@
 &usb2 {
 	status = "okay";
 };
+
+&watchdog {
+	status = "okay";
+};
+
-- 
2.7.4

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

* [PATCH 1/3] ARM: dts: at91: sam9x60: add watchdog node
@ 2020-02-11  8:07 Eugen.Hristev
  2020-02-11  8:07 ` [PATCH 2/3] ARM: dts: at91: sam9x60ek: enable " Eugen.Hristev
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Eugen.Hristev @ 2020-02-11  8:07 UTC (permalink / raw)
  To: alexandre.belloni, Ludovic.Desroches
  Cc: Nicolas.Ferre, robh+dt, Claudiu.Beznea, linux-arm-kernel,
	devicetree, linux-kernel, Eugen.Hristev

From: Eugen Hristev <eugen.hristev@microchip.com>

Add node for watchdog timer.

Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
---
 arch/arm/boot/dts/sam9x60.dtsi | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/arch/arm/boot/dts/sam9x60.dtsi b/arch/arm/boot/dts/sam9x60.dtsi
index 326b393..6763423 100644
--- a/arch/arm/boot/dts/sam9x60.dtsi
+++ b/arch/arm/boot/dts/sam9x60.dtsi
@@ -686,6 +686,14 @@
 				interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
 				clocks = <&clk32k 0>;
 			};
+
+			watchdog: watchdog@ffffff80 {
+				compatible = "microchip,sam9x60-wdt";
+				reg = <0xffffff80 0x24>;
+				interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
+				clocks = <&clk32k 0>;
+				status = "disabled";
+			};
 		};
 	};
 };
-- 
2.7.4

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

* [PATCH 3/3] ARM: configs: at91: enable sama5d4 compatible watchdog
  2020-02-11  8:07 [PATCH 1/3] ARM: dts: at91: sam9x60: add watchdog node Eugen.Hristev
  2020-02-11  8:07 ` [PATCH 2/3] ARM: dts: at91: sam9x60ek: enable " Eugen.Hristev
@ 2020-02-11  8:07 ` Eugen.Hristev
  2020-02-12 11:29   ` Alexandre Belloni
  2020-02-12 11:27 ` [PATCH 1/3] ARM: dts: at91: sam9x60: add watchdog node Alexandre Belloni
  2 siblings, 1 reply; 6+ messages in thread
From: Eugen.Hristev @ 2020-02-11  8:07 UTC (permalink / raw)
  To: alexandre.belloni, Ludovic.Desroches
  Cc: Nicolas.Ferre, robh+dt, Claudiu.Beznea, linux-arm-kernel,
	devicetree, linux-kernel, Eugen.Hristev

From: Eugen Hristev <eugen.hristev@microchip.com>

Enable CONFIG_SAMA5D4_WATCHDOG. This driver is compatible with sam9x60
watchdog timer block.

Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
---
 arch/arm/configs/at91_dt_defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/configs/at91_dt_defconfig b/arch/arm/configs/at91_dt_defconfig
index f66bb98..4a0ba2a 100644
--- a/arch/arm/configs/at91_dt_defconfig
+++ b/arch/arm/configs/at91_dt_defconfig
@@ -118,6 +118,7 @@ CONFIG_POWER_SUPPLY=y
 # CONFIG_HWMON is not set
 CONFIG_WATCHDOG=y
 CONFIG_AT91SAM9X_WATCHDOG=y
+CONFIG_SAMA5D4_WATCHDOG=y
 CONFIG_MFD_ATMEL_FLEXCOM=y
 CONFIG_MFD_ATMEL_HLCDC=y
 CONFIG_REGULATOR=y
-- 
2.7.4

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

* Re: [PATCH 1/3] ARM: dts: at91: sam9x60: add watchdog node
  2020-02-11  8:07 [PATCH 1/3] ARM: dts: at91: sam9x60: add watchdog node Eugen.Hristev
  2020-02-11  8:07 ` [PATCH 2/3] ARM: dts: at91: sam9x60ek: enable " Eugen.Hristev
  2020-02-11  8:07 ` [PATCH 3/3] ARM: configs: at91: enable sama5d4 compatible watchdog Eugen.Hristev
@ 2020-02-12 11:27 ` Alexandre Belloni
  2 siblings, 0 replies; 6+ messages in thread
From: Alexandre Belloni @ 2020-02-12 11:27 UTC (permalink / raw)
  To: Eugen.Hristev
  Cc: Ludovic.Desroches, Nicolas.Ferre, robh+dt, Claudiu.Beznea,
	linux-arm-kernel, devicetree, linux-kernel

On 11/02/2020 08:07:14+0000, Eugen.Hristev@microchip.com wrote:
> From: Eugen Hristev <eugen.hristev@microchip.com>
> 
> Add node for watchdog timer.
> 
> Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
> ---
>  arch/arm/boot/dts/sam9x60.dtsi | 8 ++++++++
>  1 file changed, 8 insertions(+)
> 
Applied, thanks.

-- 
Alexandre Belloni, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

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

* Re: [PATCH 2/3] ARM: dts: at91: sam9x60ek: enable watchdog node
  2020-02-11  8:07 ` [PATCH 2/3] ARM: dts: at91: sam9x60ek: enable " Eugen.Hristev
@ 2020-02-12 11:28   ` Alexandre Belloni
  0 siblings, 0 replies; 6+ messages in thread
From: Alexandre Belloni @ 2020-02-12 11:28 UTC (permalink / raw)
  To: Eugen.Hristev
  Cc: Ludovic.Desroches, Nicolas.Ferre, robh+dt, Claudiu.Beznea,
	linux-arm-kernel, devicetree, linux-kernel

On 11/02/2020 08:07:14+0000, Eugen.Hristev@microchip.com wrote:
> From: Eugen Hristev <eugen.hristev@microchip.com>
> 
> Enable node for watchdog timer
> 
> Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
> ---
>  arch/arm/boot/dts/at91-sam9x60ek.dts | 5 +++++
>  1 file changed, 5 insertions(+)
> 
Applied, thanks.

-- 
Alexandre Belloni, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

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

* Re: [PATCH 3/3] ARM: configs: at91: enable sama5d4 compatible watchdog
  2020-02-11  8:07 ` [PATCH 3/3] ARM: configs: at91: enable sama5d4 compatible watchdog Eugen.Hristev
@ 2020-02-12 11:29   ` Alexandre Belloni
  0 siblings, 0 replies; 6+ messages in thread
From: Alexandre Belloni @ 2020-02-12 11:29 UTC (permalink / raw)
  To: Eugen.Hristev
  Cc: Ludovic.Desroches, Nicolas.Ferre, robh+dt, Claudiu.Beznea,
	linux-arm-kernel, devicetree, linux-kernel

On 11/02/2020 08:07:15+0000, Eugen.Hristev@microchip.com wrote:
> From: Eugen Hristev <eugen.hristev@microchip.com>
> 
> Enable CONFIG_SAMA5D4_WATCHDOG. This driver is compatible with sam9x60
> watchdog timer block.
> 
> Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
> ---
>  arch/arm/configs/at91_dt_defconfig | 1 +
>  1 file changed, 1 insertion(+)
> 
Applied, thanks.

-- 
Alexandre Belloni, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

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

end of thread, other threads:[~2020-02-12 11:29 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-11  8:07 [PATCH 1/3] ARM: dts: at91: sam9x60: add watchdog node Eugen.Hristev
2020-02-11  8:07 ` [PATCH 2/3] ARM: dts: at91: sam9x60ek: enable " Eugen.Hristev
2020-02-12 11:28   ` Alexandre Belloni
2020-02-11  8:07 ` [PATCH 3/3] ARM: configs: at91: enable sama5d4 compatible watchdog Eugen.Hristev
2020-02-12 11:29   ` Alexandre Belloni
2020-02-12 11:27 ` [PATCH 1/3] ARM: dts: at91: sam9x60: add watchdog node Alexandre Belloni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).