devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Enable watchdog support for iMX8QM
@ 2025-04-14 14:57 Thomas Richard
  2025-04-14 14:57 ` [PATCH v2 1/2] dt-bindings: watchdog: fsl,scu-wdt: Document imx8qm Thomas Richard
  2025-04-14 14:57 ` [PATCH v2 2/2] arm64: dts: imx8qm: add system controller watchdog support Thomas Richard
  0 siblings, 2 replies; 7+ messages in thread
From: Thomas Richard @ 2025-04-14 14:57 UTC (permalink / raw)
  To: Wim Van Sebroeck, Guenter Roeck, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Dong Aisheng, Shawn Guo, Sascha Hauer,
	Pengutronix Kernel Team, Fabio Estevam
  Cc: Thomas Petazzoni, linux-watchdog, devicetree, linux-kernel, imx,
	linux-arm-kernel, Thomas Richard, Frank Li

Second version of this series, I just took the Acked-by/Reviewed-by tags
for the bindings patch, and in the devicetree I moved the watchdog node
after thermal-sensor as requested by Frank.

Signed-off-by: Thomas Richard <thomas.richard@bootlin.com>
---
Changes in v2:
- bindings: take "Acked-by: Rob Herring (Arm) <robh@kernel.org>"
- bindings: take "Reviewed-by: Frank Li <Frank.Li@nxp.com>"
- devicetree: move the watchdog node just after thermal-sensor
- Link to v1: https://lore.kernel.org/r/20250407-imx8qm-watchdog-v1-0-20c219b15fd2@bootlin.com

---
Thomas Richard (2):
      dt-bindings: watchdog: fsl,scu-wdt: Document imx8qm
      arm64: dts: imx8qm: add system controller watchdog support

 Documentation/devicetree/bindings/watchdog/fsl,scu-wdt.yaml | 1 +
 arch/arm64/boot/dts/freescale/imx8qm.dtsi                   | 5 +++++
 2 files changed, 6 insertions(+)
---
base-commit: 8ffd015db85fea3e15a77027fda6c02ced4d2444
change-id: 20250203-imx8qm-watchdog-b8363342842e

Best regards,
-- 
Thomas Richard <thomas.richard@bootlin.com>


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

* [PATCH v2 1/2] dt-bindings: watchdog: fsl,scu-wdt: Document imx8qm
  2025-04-14 14:57 [PATCH v2 0/2] Enable watchdog support for iMX8QM Thomas Richard
@ 2025-04-14 14:57 ` Thomas Richard
  2025-04-14 15:00   ` Guenter Roeck
  2025-04-25 13:11   ` Oliver Graute
  2025-04-14 14:57 ` [PATCH v2 2/2] arm64: dts: imx8qm: add system controller watchdog support Thomas Richard
  1 sibling, 2 replies; 7+ messages in thread
From: Thomas Richard @ 2025-04-14 14:57 UTC (permalink / raw)
  To: Wim Van Sebroeck, Guenter Roeck, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Dong Aisheng, Shawn Guo, Sascha Hauer,
	Pengutronix Kernel Team, Fabio Estevam
  Cc: Thomas Petazzoni, linux-watchdog, devicetree, linux-kernel, imx,
	linux-arm-kernel, Thomas Richard, Frank Li

Add an entry for 'fsl,imx8qm-sc-wdt' as imx8qm also contains the SCU
watchdog block.

Acked-by: Rob Herring (Arm) <robh@kernel.org>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Thomas Richard <thomas.richard@bootlin.com>
---
 Documentation/devicetree/bindings/watchdog/fsl,scu-wdt.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/watchdog/fsl,scu-wdt.yaml b/Documentation/devicetree/bindings/watchdog/fsl,scu-wdt.yaml
index 8b7aa922249b..1d9f15ec6657 100644
--- a/Documentation/devicetree/bindings/watchdog/fsl,scu-wdt.yaml
+++ b/Documentation/devicetree/bindings/watchdog/fsl,scu-wdt.yaml
@@ -20,6 +20,7 @@ properties:
     items:
       - enum:
           - fsl,imx8dxl-sc-wdt
+          - fsl,imx8qm-sc-wdt
           - fsl,imx8qxp-sc-wdt
       - const: fsl,imx-sc-wdt
 

-- 
2.39.5


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

* [PATCH v2 2/2] arm64: dts: imx8qm: add system controller watchdog support
  2025-04-14 14:57 [PATCH v2 0/2] Enable watchdog support for iMX8QM Thomas Richard
  2025-04-14 14:57 ` [PATCH v2 1/2] dt-bindings: watchdog: fsl,scu-wdt: Document imx8qm Thomas Richard
@ 2025-04-14 14:57 ` Thomas Richard
  2025-04-14 15:25   ` Frank Li
  2025-04-25 13:11   ` Oliver Graute
  1 sibling, 2 replies; 7+ messages in thread
From: Thomas Richard @ 2025-04-14 14:57 UTC (permalink / raw)
  To: Wim Van Sebroeck, Guenter Roeck, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Dong Aisheng, Shawn Guo, Sascha Hauer,
	Pengutronix Kernel Team, Fabio Estevam
  Cc: Thomas Petazzoni, linux-watchdog, devicetree, linux-kernel, imx,
	linux-arm-kernel, Thomas Richard

Add system controller watchdog support for i.MX8QM.

Signed-off-by: Thomas Richard <thomas.richard@bootlin.com>
---
 arch/arm64/boot/dts/freescale/imx8qm.dtsi | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/arch/arm64/boot/dts/freescale/imx8qm.dtsi b/arch/arm64/boot/dts/freescale/imx8qm.dtsi
index 6fa31bc9ece8..11527050ac8b 100644
--- a/arch/arm64/boot/dts/freescale/imx8qm.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8qm.dtsi
@@ -356,6 +356,11 @@ tsens: thermal-sensor {
 			compatible = "fsl,imx8qxp-sc-thermal", "fsl,imx-sc-thermal";
 			#thermal-sensor-cells = <1>;
 		};
+
+		watchdog {
+			compatible = "fsl,imx8qm-sc-wdt", "fsl,imx-sc-wdt";
+			timeout-sec = <60>;
+		};
 	};
 
 	thermal-zones {

-- 
2.39.5


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

* Re: [PATCH v2 1/2] dt-bindings: watchdog: fsl,scu-wdt: Document imx8qm
  2025-04-14 14:57 ` [PATCH v2 1/2] dt-bindings: watchdog: fsl,scu-wdt: Document imx8qm Thomas Richard
@ 2025-04-14 15:00   ` Guenter Roeck
  2025-04-25 13:11   ` Oliver Graute
  1 sibling, 0 replies; 7+ messages in thread
From: Guenter Roeck @ 2025-04-14 15:00 UTC (permalink / raw)
  To: Thomas Richard, Wim Van Sebroeck, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Dong Aisheng, Shawn Guo,
	Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam
  Cc: Thomas Petazzoni, linux-watchdog, devicetree, linux-kernel, imx,
	linux-arm-kernel, Frank Li

On 4/14/25 07:57, Thomas Richard wrote:
> Add an entry for 'fsl,imx8qm-sc-wdt' as imx8qm also contains the SCU
> watchdog block.
> 
> Acked-by: Rob Herring (Arm) <robh@kernel.org>
> Reviewed-by: Frank Li <Frank.Li@nxp.com>
> Signed-off-by: Thomas Richard <thomas.richard@bootlin.com>

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

> ---
>   Documentation/devicetree/bindings/watchdog/fsl,scu-wdt.yaml | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/Documentation/devicetree/bindings/watchdog/fsl,scu-wdt.yaml b/Documentation/devicetree/bindings/watchdog/fsl,scu-wdt.yaml
> index 8b7aa922249b..1d9f15ec6657 100644
> --- a/Documentation/devicetree/bindings/watchdog/fsl,scu-wdt.yaml
> +++ b/Documentation/devicetree/bindings/watchdog/fsl,scu-wdt.yaml
> @@ -20,6 +20,7 @@ properties:
>       items:
>         - enum:
>             - fsl,imx8dxl-sc-wdt
> +          - fsl,imx8qm-sc-wdt
>             - fsl,imx8qxp-sc-wdt
>         - const: fsl,imx-sc-wdt
>   
> 


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

* Re: [PATCH v2 2/2] arm64: dts: imx8qm: add system controller watchdog support
  2025-04-14 14:57 ` [PATCH v2 2/2] arm64: dts: imx8qm: add system controller watchdog support Thomas Richard
@ 2025-04-14 15:25   ` Frank Li
  2025-04-25 13:11   ` Oliver Graute
  1 sibling, 0 replies; 7+ messages in thread
From: Frank Li @ 2025-04-14 15:25 UTC (permalink / raw)
  To: Thomas Richard
  Cc: Wim Van Sebroeck, Guenter Roeck, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Dong Aisheng, Shawn Guo, Sascha Hauer,
	Pengutronix Kernel Team, Fabio Estevam, Thomas Petazzoni,
	linux-watchdog, devicetree, linux-kernel, imx, linux-arm-kernel

On Mon, Apr 14, 2025 at 04:57:25PM +0200, Thomas Richard wrote:
> Add system controller watchdog support for i.MX8QM.
>
> Signed-off-by: Thomas Richard <thomas.richard@bootlin.com>
> ---

Reviewed-by: Frank Li <Frank.Li@nxp.com>

>  arch/arm64/boot/dts/freescale/imx8qm.dtsi | 5 +++++
>  1 file changed, 5 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/freescale/imx8qm.dtsi b/arch/arm64/boot/dts/freescale/imx8qm.dtsi
> index 6fa31bc9ece8..11527050ac8b 100644
> --- a/arch/arm64/boot/dts/freescale/imx8qm.dtsi
> +++ b/arch/arm64/boot/dts/freescale/imx8qm.dtsi
> @@ -356,6 +356,11 @@ tsens: thermal-sensor {
>  			compatible = "fsl,imx8qxp-sc-thermal", "fsl,imx-sc-thermal";
>  			#thermal-sensor-cells = <1>;
>  		};
> +
> +		watchdog {
> +			compatible = "fsl,imx8qm-sc-wdt", "fsl,imx-sc-wdt";
> +			timeout-sec = <60>;
> +		};
>  	};
>
>  	thermal-zones {
>
> --
> 2.39.5
>

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

* Re: [PATCH v2 1/2] dt-bindings: watchdog: fsl,scu-wdt: Document imx8qm
  2025-04-14 14:57 ` [PATCH v2 1/2] dt-bindings: watchdog: fsl,scu-wdt: Document imx8qm Thomas Richard
  2025-04-14 15:00   ` Guenter Roeck
@ 2025-04-25 13:11   ` Oliver Graute
  1 sibling, 0 replies; 7+ messages in thread
From: Oliver Graute @ 2025-04-25 13:11 UTC (permalink / raw)
  To: Thomas Richard
  Cc: Wim Van Sebroeck, Guenter Roeck, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Dong Aisheng, Shawn Guo, Sascha Hauer,
	Pengutronix Kernel Team, Fabio Estevam, Thomas Petazzoni,
	linux-watchdog, devicetree, linux-kernel, imx, linux-arm-kernel,
	Frank Li

On 14/04/25, Thomas Richard wrote:
> Add an entry for 'fsl,imx8qm-sc-wdt' as imx8qm also contains the SCU
> watchdog block.
> 
> Acked-by: Rob Herring (Arm) <robh@kernel.org>
> Reviewed-by: Frank Li <Frank.Li@nxp.com>
> Signed-off-by: Thomas Richard <thomas.richard@bootlin.com>

Acked-by: Oliver Graute <oliver.graute@kococonnector.com>

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

* Re: [PATCH v2 2/2] arm64: dts: imx8qm: add system controller watchdog support
  2025-04-14 14:57 ` [PATCH v2 2/2] arm64: dts: imx8qm: add system controller watchdog support Thomas Richard
  2025-04-14 15:25   ` Frank Li
@ 2025-04-25 13:11   ` Oliver Graute
  1 sibling, 0 replies; 7+ messages in thread
From: Oliver Graute @ 2025-04-25 13:11 UTC (permalink / raw)
  To: Thomas Richard
  Cc: Wim Van Sebroeck, Guenter Roeck, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Dong Aisheng, Shawn Guo, Sascha Hauer,
	Pengutronix Kernel Team, Fabio Estevam, Thomas Petazzoni,
	linux-watchdog, devicetree, linux-kernel, imx, linux-arm-kernel

On 14/04/25, Thomas Richard wrote:
> Add system controller watchdog support for i.MX8QM.
> 
> Signed-off-by: Thomas Richard <thomas.richard@bootlin.com>
Acked-by: Oliver Graute <oliver.graute@kococonnector.com>

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

end of thread, other threads:[~2025-04-25 13:38 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-14 14:57 [PATCH v2 0/2] Enable watchdog support for iMX8QM Thomas Richard
2025-04-14 14:57 ` [PATCH v2 1/2] dt-bindings: watchdog: fsl,scu-wdt: Document imx8qm Thomas Richard
2025-04-14 15:00   ` Guenter Roeck
2025-04-25 13:11   ` Oliver Graute
2025-04-14 14:57 ` [PATCH v2 2/2] arm64: dts: imx8qm: add system controller watchdog support Thomas Richard
2025-04-14 15:25   ` Frank Li
2025-04-25 13:11   ` Oliver Graute

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