All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/2] arm64: Realtek RTD1295 watchdog
@ 2019-10-20 15:36 ` Andreas Färber
  0 siblings, 0 replies; 10+ messages in thread
From: Andreas Färber @ 2019-10-20 15:36 UTC (permalink / raw)
  To: linux-realtek-soc
  Cc: linux-arm-kernel, Andreas Färber, Wim Van Sebroeck,
	Guenter Roeck, linux-watchdog, Roc He, 蒋丽琴,
	linux-clk, devicetree

Hello,

This series adds the watchdog for the Realtek RTD1295 SoC.

v3 adds the missing DT node, previously dependent on an unreviewed clk series.

Have a lot of fun!

Cheers,
Andreas

v2 -> v3:
* Driver was merged
* Split off needed osc27M clock from clk patch series

v1 -> v2:
* Prepared remove (Guenther)
* Set timeout field (Guenther)
* Cleanups (Guenther, Andreas)

Cc: Wim Van Sebroeck <wim@iguana.be>
Cc: Guenter Roeck <linux@roeck-us.net>
Cc: linux-watchdog@vger.kernel.org
Cc: Roc He <hepeng@zidoo.tv>
Cc: 蒋丽琴 <jiang.liqin@geniatech.com>
Cc: linux-clk@vger.kernel.org
Cc: devicetree@vger.kernel.org

Andreas Färber (2):
  arm64: dts: realtek: Add oscillator for RTD129x
  arm64: dts: realtek: Add watchdog node for RTD129x

 arch/arm64/boot/dts/realtek/rtd129x.dtsi | 13 +++++++++++++
 1 file changed, 13 insertions(+)

-- 
2.16.4


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

* [PATCH v3 0/2] arm64: Realtek RTD1295 watchdog
@ 2019-10-20 15:36 ` Andreas Färber
  0 siblings, 0 replies; 10+ messages in thread
From: Andreas Färber @ 2019-10-20 15:36 UTC (permalink / raw)
  To: linux-realtek-soc
  Cc: devicetree, Roc He, 蒋丽琴,
	linux-clk, Wim Van Sebroeck, linux-arm-kernel,
	Andreas Färber, Guenter Roeck, linux-watchdog

Hello,

This series adds the watchdog for the Realtek RTD1295 SoC.

v3 adds the missing DT node, previously dependent on an unreviewed clk series.

Have a lot of fun!

Cheers,
Andreas

v2 -> v3:
* Driver was merged
* Split off needed osc27M clock from clk patch series

v1 -> v2:
* Prepared remove (Guenther)
* Set timeout field (Guenther)
* Cleanups (Guenther, Andreas)

Cc: Wim Van Sebroeck <wim@iguana.be>
Cc: Guenter Roeck <linux@roeck-us.net>
Cc: linux-watchdog@vger.kernel.org
Cc: Roc He <hepeng@zidoo.tv>
Cc: 蒋丽琴 <jiang.liqin@geniatech.com>
Cc: linux-clk@vger.kernel.org
Cc: devicetree@vger.kernel.org

Andreas Färber (2):
  arm64: dts: realtek: Add oscillator for RTD129x
  arm64: dts: realtek: Add watchdog node for RTD129x

 arch/arm64/boot/dts/realtek/rtd129x.dtsi | 13 +++++++++++++
 1 file changed, 13 insertions(+)

-- 
2.16.4


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* [PATCH v3 1/2] arm64: dts: realtek: Add oscillator for RTD129x
  2019-10-20 15:36 ` Andreas Färber
@ 2019-10-20 15:36   ` Andreas Färber
  -1 siblings, 0 replies; 10+ messages in thread
From: Andreas Färber @ 2019-10-20 15:36 UTC (permalink / raw)
  To: linux-realtek-soc
  Cc: linux-arm-kernel, Andreas Färber, Rob Herring, Mark Rutland,
	devicetree, linux-kernel

Add 27 MHz oscillator clock node.

Signed-off-by: Andreas Färber <afaerber@suse.de>
---
 v3: New (from previously blocking clk patch series)
 
 arch/arm64/boot/dts/realtek/rtd129x.dtsi | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/arch/arm64/boot/dts/realtek/rtd129x.dtsi b/arch/arm64/boot/dts/realtek/rtd129x.dtsi
index a26c375ee1bb..4fb16611159b 100644
--- a/arch/arm64/boot/dts/realtek/rtd129x.dtsi
+++ b/arch/arm64/boot/dts/realtek/rtd129x.dtsi
@@ -23,6 +23,13 @@
 		interrupts = <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>;
 	};
 
+	osc27M: osc {
+		compatible = "fixed-clock";
+		clock-frequency = <27000000>;
+		#clock-cells = <0>;
+		clock-output-names = "osc27M";
+	};
+
 	soc {
 		compatible = "simple-bus";
 		#address-cells = <1>;
-- 
2.16.4


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

* [PATCH v3 1/2] arm64: dts: realtek: Add oscillator for RTD129x
@ 2019-10-20 15:36   ` Andreas Färber
  0 siblings, 0 replies; 10+ messages in thread
From: Andreas Färber @ 2019-10-20 15:36 UTC (permalink / raw)
  To: linux-realtek-soc
  Cc: Mark Rutland, devicetree, linux-kernel, Rob Herring,
	Andreas Färber, linux-arm-kernel

Add 27 MHz oscillator clock node.

Signed-off-by: Andreas Färber <afaerber@suse.de>
---
 v3: New (from previously blocking clk patch series)
 
 arch/arm64/boot/dts/realtek/rtd129x.dtsi | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/arch/arm64/boot/dts/realtek/rtd129x.dtsi b/arch/arm64/boot/dts/realtek/rtd129x.dtsi
index a26c375ee1bb..4fb16611159b 100644
--- a/arch/arm64/boot/dts/realtek/rtd129x.dtsi
+++ b/arch/arm64/boot/dts/realtek/rtd129x.dtsi
@@ -23,6 +23,13 @@
 		interrupts = <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>;
 	};
 
+	osc27M: osc {
+		compatible = "fixed-clock";
+		clock-frequency = <27000000>;
+		#clock-cells = <0>;
+		clock-output-names = "osc27M";
+	};
+
 	soc {
 		compatible = "simple-bus";
 		#address-cells = <1>;
-- 
2.16.4


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* [PATCH v3 2/2] arm64: dts: realtek: Add watchdog node for RTD129x
  2019-10-20 15:36 ` Andreas Färber
@ 2019-10-20 15:36   ` Andreas Färber
  -1 siblings, 0 replies; 10+ messages in thread
From: Andreas Färber @ 2019-10-20 15:36 UTC (permalink / raw)
  To: linux-realtek-soc
  Cc: linux-arm-kernel, Andreas Färber, Rob Herring, Mark Rutland,
	devicetree, linux-kernel

Add the watchdog node to the RTD129x Device Tree.

Acked-by: Rob Herring <robh@kernel.org>
Acked-by: Guenter Roeck <linux@roeck-us.net>
[AF: Moved from RTD1295 to new RTD129x]
Signed-off-by: Andreas Färber <afaerber@suse.de>
---
 v2 -> v3:
 * rtd129x.dtsi was factored out of rtd1295.dtsi, add it there
 
 v1 -> v2: Unchanged
 
 arch/arm64/boot/dts/realtek/rtd129x.dtsi | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/arch/arm64/boot/dts/realtek/rtd129x.dtsi b/arch/arm64/boot/dts/realtek/rtd129x.dtsi
index 4fb16611159b..0b2ac0c33b8b 100644
--- a/arch/arm64/boot/dts/realtek/rtd129x.dtsi
+++ b/arch/arm64/boot/dts/realtek/rtd129x.dtsi
@@ -37,6 +37,12 @@
 		/* Exclude up to 2 GiB of RAM */
 		ranges = <0x80000000 0x80000000 0x80000000>;
 
+		wdt: watchdog@98007680 {
+			compatible = "realtek,rtd1295-watchdog";
+			reg = <0x98007680 0x100>;
+			clocks = <&osc27M>;
+		};
+
 		uart0: serial@98007800 {
 			compatible = "snps,dw-apb-uart";
 			reg = <0x98007800 0x400>;
-- 
2.16.4


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

* [PATCH v3 2/2] arm64: dts: realtek: Add watchdog node for RTD129x
@ 2019-10-20 15:36   ` Andreas Färber
  0 siblings, 0 replies; 10+ messages in thread
From: Andreas Färber @ 2019-10-20 15:36 UTC (permalink / raw)
  To: linux-realtek-soc
  Cc: Mark Rutland, devicetree, linux-kernel, Rob Herring,
	Andreas Färber, linux-arm-kernel

Add the watchdog node to the RTD129x Device Tree.

Acked-by: Rob Herring <robh@kernel.org>
Acked-by: Guenter Roeck <linux@roeck-us.net>
[AF: Moved from RTD1295 to new RTD129x]
Signed-off-by: Andreas Färber <afaerber@suse.de>
---
 v2 -> v3:
 * rtd129x.dtsi was factored out of rtd1295.dtsi, add it there
 
 v1 -> v2: Unchanged
 
 arch/arm64/boot/dts/realtek/rtd129x.dtsi | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/arch/arm64/boot/dts/realtek/rtd129x.dtsi b/arch/arm64/boot/dts/realtek/rtd129x.dtsi
index 4fb16611159b..0b2ac0c33b8b 100644
--- a/arch/arm64/boot/dts/realtek/rtd129x.dtsi
+++ b/arch/arm64/boot/dts/realtek/rtd129x.dtsi
@@ -37,6 +37,12 @@
 		/* Exclude up to 2 GiB of RAM */
 		ranges = <0x80000000 0x80000000 0x80000000>;
 
+		wdt: watchdog@98007680 {
+			compatible = "realtek,rtd1295-watchdog";
+			reg = <0x98007680 0x100>;
+			clocks = <&osc27M>;
+		};
+
 		uart0: serial@98007800 {
 			compatible = "snps,dw-apb-uart";
 			reg = <0x98007800 0x400>;
-- 
2.16.4


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* Re: [PATCH v3 1/2] arm64: dts: realtek: Add oscillator for RTD129x
  2019-10-20 15:36   ` Andreas Färber
@ 2019-10-29  5:22     ` Andreas Färber
  -1 siblings, 0 replies; 10+ messages in thread
From: Andreas Färber @ 2019-10-29  5:22 UTC (permalink / raw)
  To: linux-realtek-soc
  Cc: Mark Rutland, devicetree, linux-kernel, Rob Herring, linux-arm-kernel

Am 20.10.19 um 17:36 schrieb Andreas Färber:
> Add 27 MHz oscillator clock node.
> 
> Signed-off-by: Andreas Färber <afaerber@suse.de>
> ---
>  v3: New (from previously blocking clk patch series)
>  
>  arch/arm64/boot/dts/realtek/rtd129x.dtsi | 7 +++++++
>  1 file changed, 7 insertions(+)

Applied to linux-realtek.git v5.5/dt64:

https://git.kernel.org/pub/scm/linux/kernel/git/afaerber/linux-realtek.git/log/?h=v5.5/dt64

Regards,
Andreas

-- 
SUSE Software Solutions Germany GmbH
Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Felix Imendörffer
HRB 36809 (AG Nürnberg)

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

* Re: [PATCH v3 1/2] arm64: dts: realtek: Add oscillator for RTD129x
@ 2019-10-29  5:22     ` Andreas Färber
  0 siblings, 0 replies; 10+ messages in thread
From: Andreas Färber @ 2019-10-29  5:22 UTC (permalink / raw)
  To: linux-realtek-soc
  Cc: Mark Rutland, devicetree, Rob Herring, linux-kernel, linux-arm-kernel

Am 20.10.19 um 17:36 schrieb Andreas Färber:
> Add 27 MHz oscillator clock node.
> 
> Signed-off-by: Andreas Färber <afaerber@suse.de>
> ---
>  v3: New (from previously blocking clk patch series)
>  
>  arch/arm64/boot/dts/realtek/rtd129x.dtsi | 7 +++++++
>  1 file changed, 7 insertions(+)

Applied to linux-realtek.git v5.5/dt64:

https://git.kernel.org/pub/scm/linux/kernel/git/afaerber/linux-realtek.git/log/?h=v5.5/dt64

Regards,
Andreas

-- 
SUSE Software Solutions Germany GmbH
Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Felix Imendörffer
HRB 36809 (AG Nürnberg)

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* Re: [PATCH v3 2/2] arm64: dts: realtek: Add watchdog node for RTD129x
  2019-10-20 15:36   ` Andreas Färber
@ 2019-10-29  5:23     ` Andreas Färber
  -1 siblings, 0 replies; 10+ messages in thread
From: Andreas Färber @ 2019-10-29  5:23 UTC (permalink / raw)
  To: linux-realtek-soc
  Cc: Mark Rutland, devicetree, linux-kernel, Rob Herring, linux-arm-kernel

Am 20.10.19 um 17:36 schrieb Andreas Färber:
> Add the watchdog node to the RTD129x Device Tree.
> 
> Acked-by: Rob Herring <robh@kernel.org>
> Acked-by: Guenter Roeck <linux@roeck-us.net>
> [AF: Moved from RTD1295 to new RTD129x]
> Signed-off-by: Andreas Färber <afaerber@suse.de>
> ---
>  v2 -> v3:
>  * rtd129x.dtsi was factored out of rtd1295.dtsi, add it there
>  
>  v1 -> v2: Unchanged
>  
>  arch/arm64/boot/dts/realtek/rtd129x.dtsi | 6 ++++++
>  1 file changed, 6 insertions(+)

Applied to linux-realtek.git v5.5/dt64:

https://git.kernel.org/pub/scm/linux/kernel/git/afaerber/linux-realtek.git/log/?h=v5.5/dt64

Regards,
Andreas

-- 
SUSE Software Solutions Germany GmbH
Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Felix Imendörffer
HRB 36809 (AG Nürnberg)

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

* Re: [PATCH v3 2/2] arm64: dts: realtek: Add watchdog node for RTD129x
@ 2019-10-29  5:23     ` Andreas Färber
  0 siblings, 0 replies; 10+ messages in thread
From: Andreas Färber @ 2019-10-29  5:23 UTC (permalink / raw)
  To: linux-realtek-soc
  Cc: Mark Rutland, devicetree, Rob Herring, linux-kernel, linux-arm-kernel

Am 20.10.19 um 17:36 schrieb Andreas Färber:
> Add the watchdog node to the RTD129x Device Tree.
> 
> Acked-by: Rob Herring <robh@kernel.org>
> Acked-by: Guenter Roeck <linux@roeck-us.net>
> [AF: Moved from RTD1295 to new RTD129x]
> Signed-off-by: Andreas Färber <afaerber@suse.de>
> ---
>  v2 -> v3:
>  * rtd129x.dtsi was factored out of rtd1295.dtsi, add it there
>  
>  v1 -> v2: Unchanged
>  
>  arch/arm64/boot/dts/realtek/rtd129x.dtsi | 6 ++++++
>  1 file changed, 6 insertions(+)

Applied to linux-realtek.git v5.5/dt64:

https://git.kernel.org/pub/scm/linux/kernel/git/afaerber/linux-realtek.git/log/?h=v5.5/dt64

Regards,
Andreas

-- 
SUSE Software Solutions Germany GmbH
Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Felix Imendörffer
HRB 36809 (AG Nürnberg)

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

end of thread, other threads:[~2019-10-29  5:23 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-20 15:36 [PATCH v3 0/2] arm64: Realtek RTD1295 watchdog Andreas Färber
2019-10-20 15:36 ` Andreas Färber
2019-10-20 15:36 ` [PATCH v3 1/2] arm64: dts: realtek: Add oscillator for RTD129x Andreas Färber
2019-10-20 15:36   ` Andreas Färber
2019-10-29  5:22   ` Andreas Färber
2019-10-29  5:22     ` Andreas Färber
2019-10-20 15:36 ` [PATCH v3 2/2] arm64: dts: realtek: Add watchdog node " Andreas Färber
2019-10-20 15:36   ` Andreas Färber
2019-10-29  5:23   ` Andreas Färber
2019-10-29  5:23     ` Andreas Färber

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.