devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Watchdog: support for Amlogic SoC A4/A5
@ 2024-07-09  8:48 Xianwei Zhao via B4 Relay
  2024-07-09  8:48 ` [PATCH 1/2] dt-bindings: watchdog: add support for Amlogic A4 SoCs Xianwei Zhao via B4 Relay
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Xianwei Zhao via B4 Relay @ 2024-07-09  8:48 UTC (permalink / raw)
  To: Wim Van Sebroeck, Guenter Roeck, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Neil Armstrong, Kevin Hilman, Jerome Brunet,
	Martin Blumenstingl
  Cc: linux-watchdog, devicetree, linux-arm-kernel, linux-amlogic,
	linux-kernel, Xianwei Zhao, Huqiang Qin

Add watchdog for Amlogic A4/A5 SoC. 
A5's watchdog is the same as A4's.

Signed-off-by: Xianwei Zhao <xianwei.zhao@amlogic.com>
---
Huqiang Qin (2):
      dt-bindings: watchdog: add support for Amlogic A4 SoCs
      arm64: dts: amlogic: add watchdog node for A4 SoCs

 .../devicetree/bindings/watchdog/amlogic,meson-gxbb-wdt.yaml        | 1 +
 arch/arm64/boot/dts/amlogic/amlogic-a4-common.dtsi                  | 6 ++++++
 2 files changed, 7 insertions(+)
---
base-commit: 338c92a5d1956f1841f84b86923087676d1d0cea
change-id: 20240709-a4-a5_watchdog-3c841bbe7b16

Best regards,
-- 
Xianwei Zhao <xianwei.zhao@amlogic.com>



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

* [PATCH 1/2] dt-bindings: watchdog: add support for Amlogic A4 SoCs
  2024-07-09  8:48 [PATCH 0/2] Watchdog: support for Amlogic SoC A4/A5 Xianwei Zhao via B4 Relay
@ 2024-07-09  8:48 ` Xianwei Zhao via B4 Relay
  2024-07-09  9:05   ` Krzysztof Kozlowski
  2024-07-09 20:39   ` Guenter Roeck
  2024-07-09  8:48 ` [PATCH 2/2] arm64: dts: amlogic: add watchdog node for " Xianwei Zhao via B4 Relay
  2024-07-10  7:41 ` (subset) [PATCH 0/2] Watchdog: support for Amlogic SoC A4/A5 Neil Armstrong
  2 siblings, 2 replies; 7+ messages in thread
From: Xianwei Zhao via B4 Relay @ 2024-07-09  8:48 UTC (permalink / raw)
  To: Wim Van Sebroeck, Guenter Roeck, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Neil Armstrong, Kevin Hilman, Jerome Brunet,
	Martin Blumenstingl
  Cc: linux-watchdog, devicetree, linux-arm-kernel, linux-amlogic,
	linux-kernel, Xianwei Zhao, Huqiang Qin

From: Huqiang Qin <huqiang.qin@amlogic.com>

Update dt-binding document for watchdog of Amlogic A4 SoCs.

Signed-off-by: Huqiang Qin <huqiang.qin@amlogic.com>
Signed-off-by: Xianwei Zhao <xianwei.zhao@amlogic.com>
---
 Documentation/devicetree/bindings/watchdog/amlogic,meson-gxbb-wdt.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/watchdog/amlogic,meson-gxbb-wdt.yaml b/Documentation/devicetree/bindings/watchdog/amlogic,meson-gxbb-wdt.yaml
index 69845ec32e81..d0eff1ea52b4 100644
--- a/Documentation/devicetree/bindings/watchdog/amlogic,meson-gxbb-wdt.yaml
+++ b/Documentation/devicetree/bindings/watchdog/amlogic,meson-gxbb-wdt.yaml
@@ -21,6 +21,7 @@ properties:
           - amlogic,t7-wdt
       - items:
           - enum:
+              - amlogic,a4-wdt
               - amlogic,c3-wdt
               - amlogic,s4-wdt
           - const: amlogic,t7-wdt

-- 
2.37.1



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

* [PATCH 2/2] arm64: dts: amlogic: add watchdog node for A4 SoCs
  2024-07-09  8:48 [PATCH 0/2] Watchdog: support for Amlogic SoC A4/A5 Xianwei Zhao via B4 Relay
  2024-07-09  8:48 ` [PATCH 1/2] dt-bindings: watchdog: add support for Amlogic A4 SoCs Xianwei Zhao via B4 Relay
@ 2024-07-09  8:48 ` Xianwei Zhao via B4 Relay
  2024-07-09  8:58   ` Neil Armstrong
  2024-07-10  7:41 ` (subset) [PATCH 0/2] Watchdog: support for Amlogic SoC A4/A5 Neil Armstrong
  2 siblings, 1 reply; 7+ messages in thread
From: Xianwei Zhao via B4 Relay @ 2024-07-09  8:48 UTC (permalink / raw)
  To: Wim Van Sebroeck, Guenter Roeck, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Neil Armstrong, Kevin Hilman, Jerome Brunet,
	Martin Blumenstingl
  Cc: linux-watchdog, devicetree, linux-arm-kernel, linux-amlogic,
	linux-kernel, Xianwei Zhao, Huqiang Qin

From: Huqiang Qin <huqiang.qin@amlogic.com>

Add watchdog device.

Signed-off-by: Huqiang Qin <huqiang.qin@amlogic.com>
Signed-off-by: Xianwei Zhao <xianwei.zhao@amlogic.com>
---
 arch/arm64/boot/dts/amlogic/amlogic-a4-common.dtsi | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/arch/arm64/boot/dts/amlogic/amlogic-a4-common.dtsi b/arch/arm64/boot/dts/amlogic/amlogic-a4-common.dtsi
index b6106ad4a072..496c3a2bcf25 100644
--- a/arch/arm64/boot/dts/amlogic/amlogic-a4-common.dtsi
+++ b/arch/arm64/boot/dts/amlogic/amlogic-a4-common.dtsi
@@ -52,6 +52,12 @@ apb: bus@fe000000 {
 			#size-cells = <2>;
 			ranges = <0x0 0x0 0x0 0xfe000000 0x0 0x480000>;
 
+			watchdog@2100 {
+				compatible = "amlogic,a4-wdt", "amlogic,t7-wdt";
+				reg = <0x0 0x2100 0x0 0x10>;
+				clocks = <&xtal>;
+			};
+
 			uart_b: serial@7a000 {
 				compatible = "amlogic,a4-uart",
 					     "amlogic,meson-s4-uart";

-- 
2.37.1



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

* Re: [PATCH 2/2] arm64: dts: amlogic: add watchdog node for A4 SoCs
  2024-07-09  8:48 ` [PATCH 2/2] arm64: dts: amlogic: add watchdog node for " Xianwei Zhao via B4 Relay
@ 2024-07-09  8:58   ` Neil Armstrong
  0 siblings, 0 replies; 7+ messages in thread
From: Neil Armstrong @ 2024-07-09  8:58 UTC (permalink / raw)
  To: xianwei.zhao, Wim Van Sebroeck, Guenter Roeck, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Kevin Hilman, Jerome Brunet,
	Martin Blumenstingl
  Cc: linux-watchdog, devicetree, linux-arm-kernel, linux-amlogic,
	linux-kernel, Huqiang Qin

On 09/07/2024 10:48, Xianwei Zhao via B4 Relay wrote:
> From: Huqiang Qin <huqiang.qin@amlogic.com>
> 
> Add watchdog device.
> 
> Signed-off-by: Huqiang Qin <huqiang.qin@amlogic.com>
> Signed-off-by: Xianwei Zhao <xianwei.zhao@amlogic.com>
> ---
>   arch/arm64/boot/dts/amlogic/amlogic-a4-common.dtsi | 6 ++++++
>   1 file changed, 6 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/amlogic/amlogic-a4-common.dtsi b/arch/arm64/boot/dts/amlogic/amlogic-a4-common.dtsi
> index b6106ad4a072..496c3a2bcf25 100644
> --- a/arch/arm64/boot/dts/amlogic/amlogic-a4-common.dtsi
> +++ b/arch/arm64/boot/dts/amlogic/amlogic-a4-common.dtsi
> @@ -52,6 +52,12 @@ apb: bus@fe000000 {
>   			#size-cells = <2>;
>   			ranges = <0x0 0x0 0x0 0xfe000000 0x0 0x480000>;
>   
> +			watchdog@2100 {
> +				compatible = "amlogic,a4-wdt", "amlogic,t7-wdt";
> +				reg = <0x0 0x2100 0x0 0x10>;
> +				clocks = <&xtal>;
> +			};
> +
>   			uart_b: serial@7a000 {
>   				compatible = "amlogic,a4-uart",
>   					     "amlogic,meson-s4-uart";
> 

Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>

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

* Re: [PATCH 1/2] dt-bindings: watchdog: add support for Amlogic A4 SoCs
  2024-07-09  8:48 ` [PATCH 1/2] dt-bindings: watchdog: add support for Amlogic A4 SoCs Xianwei Zhao via B4 Relay
@ 2024-07-09  9:05   ` Krzysztof Kozlowski
  2024-07-09 20:39   ` Guenter Roeck
  1 sibling, 0 replies; 7+ messages in thread
From: Krzysztof Kozlowski @ 2024-07-09  9:05 UTC (permalink / raw)
  To: xianwei.zhao, Wim Van Sebroeck, Guenter Roeck, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Neil Armstrong, Kevin Hilman,
	Jerome Brunet, Martin Blumenstingl
  Cc: linux-watchdog, devicetree, linux-arm-kernel, linux-amlogic,
	linux-kernel, Huqiang Qin

On 09/07/2024 10:48, Xianwei Zhao via B4 Relay wrote:
> From: Huqiang Qin <huqiang.qin@amlogic.com>
> 
> Update dt-binding document for watchdog of Amlogic A4 SoCs.
> 
> Signed-off-by: Huqiang Qin <huqiang.qin@amlogic.com>
> Signed-off-by: Xianwei Zhao <xianwei.zhao@amlogic.com>

Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Best regards,
Krzysztof


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

* Re: [PATCH 1/2] dt-bindings: watchdog: add support for Amlogic A4 SoCs
  2024-07-09  8:48 ` [PATCH 1/2] dt-bindings: watchdog: add support for Amlogic A4 SoCs Xianwei Zhao via B4 Relay
  2024-07-09  9:05   ` Krzysztof Kozlowski
@ 2024-07-09 20:39   ` Guenter Roeck
  1 sibling, 0 replies; 7+ messages in thread
From: Guenter Roeck @ 2024-07-09 20:39 UTC (permalink / raw)
  To: xianwei.zhao, Wim Van Sebroeck, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Neil Armstrong, Kevin Hilman, Jerome Brunet,
	Martin Blumenstingl
  Cc: linux-watchdog, devicetree, linux-arm-kernel, linux-amlogic,
	linux-kernel, Huqiang Qin

On 7/9/24 01:48, Xianwei Zhao via B4 Relay wrote:
> From: Huqiang Qin <huqiang.qin@amlogic.com>
> 
> Update dt-binding document for watchdog of Amlogic A4 SoCs.
> 
> Signed-off-by: Huqiang Qin <huqiang.qin@amlogic.com>
> Signed-off-by: Xianwei Zhao <xianwei.zhao@amlogic.com>

Reviewed-by: Guenter Roeck <linux@roeck-us.net>

> ---
>   Documentation/devicetree/bindings/watchdog/amlogic,meson-gxbb-wdt.yaml | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/Documentation/devicetree/bindings/watchdog/amlogic,meson-gxbb-wdt.yaml b/Documentation/devicetree/bindings/watchdog/amlogic,meson-gxbb-wdt.yaml
> index 69845ec32e81..d0eff1ea52b4 100644
> --- a/Documentation/devicetree/bindings/watchdog/amlogic,meson-gxbb-wdt.yaml
> +++ b/Documentation/devicetree/bindings/watchdog/amlogic,meson-gxbb-wdt.yaml
> @@ -21,6 +21,7 @@ properties:
>             - amlogic,t7-wdt
>         - items:
>             - enum:
> +              - amlogic,a4-wdt
>                 - amlogic,c3-wdt
>                 - amlogic,s4-wdt
>             - const: amlogic,t7-wdt
> 


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

* Re: (subset) [PATCH 0/2] Watchdog: support for Amlogic SoC A4/A5
  2024-07-09  8:48 [PATCH 0/2] Watchdog: support for Amlogic SoC A4/A5 Xianwei Zhao via B4 Relay
  2024-07-09  8:48 ` [PATCH 1/2] dt-bindings: watchdog: add support for Amlogic A4 SoCs Xianwei Zhao via B4 Relay
  2024-07-09  8:48 ` [PATCH 2/2] arm64: dts: amlogic: add watchdog node for " Xianwei Zhao via B4 Relay
@ 2024-07-10  7:41 ` Neil Armstrong
  2 siblings, 0 replies; 7+ messages in thread
From: Neil Armstrong @ 2024-07-10  7:41 UTC (permalink / raw)
  To: Wim Van Sebroeck, Guenter Roeck, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Kevin Hilman, Jerome Brunet, Martin Blumenstingl,
	Xianwei Zhao
  Cc: linux-watchdog, devicetree, linux-arm-kernel, linux-amlogic,
	linux-kernel, Huqiang Qin

Hi,

On Tue, 09 Jul 2024 16:48:24 +0800, Xianwei Zhao wrote:
> Add watchdog for Amlogic A4/A5 SoC.
> A5's watchdog is the same as A4's.
> 
> 

Thanks, Applied to https://git.kernel.org/pub/scm/linux/kernel/git/amlogic/linux.git (v6.11/arm64-dt)

[2/2] arm64: dts: amlogic: add watchdog node for A4 SoCs
      https://git.kernel.org/amlogic/c/34b60b78550eedbb596274f0336d1f86a80fcd19

These changes has been applied on the intermediate git tree [1].

The v6.11/arm64-dt branch will then be sent via a formal Pull Request to the Linux SoC maintainers
for inclusion in their intermediate git branches in order to be sent to Linus during
the next merge window, or sooner if it's a set of fixes.

In the cases of fixes, those will be merged in the current release candidate
kernel and as soon they appear on the Linux master branch they will be
backported to the previous Stable and Long-Stable kernels [2].

The intermediate git branches are merged daily in the linux-next tree [3],
people are encouraged testing these pre-release kernels and report issues on the
relevant mailing-lists.

If problems are discovered on those changes, please submit a signed-off-by revert
patch followed by a corrective changeset.

[1] https://git.kernel.org/pub/scm/linux/kernel/git/amlogic/linux.git
[2] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
[3] https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git

-- 
Neil


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

end of thread, other threads:[~2024-07-10  7:41 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-09  8:48 [PATCH 0/2] Watchdog: support for Amlogic SoC A4/A5 Xianwei Zhao via B4 Relay
2024-07-09  8:48 ` [PATCH 1/2] dt-bindings: watchdog: add support for Amlogic A4 SoCs Xianwei Zhao via B4 Relay
2024-07-09  9:05   ` Krzysztof Kozlowski
2024-07-09 20:39   ` Guenter Roeck
2024-07-09  8:48 ` [PATCH 2/2] arm64: dts: amlogic: add watchdog node for " Xianwei Zhao via B4 Relay
2024-07-09  8:58   ` Neil Armstrong
2024-07-10  7:41 ` (subset) [PATCH 0/2] Watchdog: support for Amlogic SoC A4/A5 Neil Armstrong

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).