public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH 0/3] arm64: dts: freescale: Enable wdog_b trigger pmic reset for i.MX93
@ 2024-08-20 15:02 Peng Fan (OSS)
  2024-08-20 15:02 ` [PATCH 1/3] arm64: dts: freescale: imx93-11x11-evk: enable fsl,ext-reset-output for wdog3 Peng Fan (OSS)
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Peng Fan (OSS) @ 2024-08-20 15:02 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Shawn Guo,
	Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam
  Cc: devicetree, imx, linux-arm-kernel, linux-kernel, Peng Fan

Enable WDOG_B to trigger pmic reset for i.MX93 11x11/14x14 EVK and 9x9
QSB board.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
---
Peng Fan (3):
      arm64: dts: freescale: imx93-11x11-evk: enable fsl,ext-reset-output for wdog3
      arm64: dts: freescale: imx93-14x14-evk: enable fsl,ext-reset-output for wdog3
      arm64: dts: freescale: imx93-9x9-qsb: enable fsl,ext-reset-output for wdog3

 arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts | 1 +
 arch/arm64/boot/dts/freescale/imx93-14x14-evk.dts | 1 +
 arch/arm64/boot/dts/freescale/imx93-9x9-qsb.dts   | 1 +
 3 files changed, 3 insertions(+)
---
base-commit: bb1b0acdcd66e0d8eedee3570d249e076b89ab32
change-id: 20240820-imx93-wdog-95ddbb8a1342

Best regards,
-- 
Peng Fan <peng.fan@nxp.com>



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

* [PATCH 1/3] arm64: dts: freescale: imx93-11x11-evk: enable fsl,ext-reset-output for wdog3
  2024-08-20 15:02 [PATCH 0/3] arm64: dts: freescale: Enable wdog_b trigger pmic reset for i.MX93 Peng Fan (OSS)
@ 2024-08-20 15:02 ` Peng Fan (OSS)
  2024-08-21  6:32   ` [PATCH 1/3] arm64: dts: freescale: imx93-11x11-evk: enable fsl, ext-reset-output " Alexander Stein
  2024-08-20 15:02 ` [PATCH 2/3] arm64: dts: freescale: imx93-14x14-evk: enable fsl,ext-reset-output " Peng Fan (OSS)
  2024-08-20 15:02 ` [PATCH 3/3] arm64: dts: freescale: imx93-9x9-qsb: " Peng Fan (OSS)
  2 siblings, 1 reply; 6+ messages in thread
From: Peng Fan (OSS) @ 2024-08-20 15:02 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Shawn Guo,
	Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam
  Cc: devicetree, imx, linux-arm-kernel, linux-kernel, Peng Fan

From: Peng Fan <peng.fan@nxp.com>

The WDOG_B is connected to external PMIC, so set "fsl,ext-reset-output"
to enable triggering PMIC reset.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
---
 arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts b/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts
index 60eb64761392..fb93ae654a2b 100644
--- a/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts
+++ b/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts
@@ -485,6 +485,7 @@ &usdhc2 {
 };
 
 &wdog3 {
+	fsl,ext-reset-output;
 	status = "okay";
 };
 

-- 
2.37.1



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

* [PATCH 2/3] arm64: dts: freescale: imx93-14x14-evk: enable fsl,ext-reset-output for wdog3
  2024-08-20 15:02 [PATCH 0/3] arm64: dts: freescale: Enable wdog_b trigger pmic reset for i.MX93 Peng Fan (OSS)
  2024-08-20 15:02 ` [PATCH 1/3] arm64: dts: freescale: imx93-11x11-evk: enable fsl,ext-reset-output for wdog3 Peng Fan (OSS)
@ 2024-08-20 15:02 ` Peng Fan (OSS)
  2024-08-20 15:02 ` [PATCH 3/3] arm64: dts: freescale: imx93-9x9-qsb: " Peng Fan (OSS)
  2 siblings, 0 replies; 6+ messages in thread
From: Peng Fan (OSS) @ 2024-08-20 15:02 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Shawn Guo,
	Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam
  Cc: devicetree, imx, linux-arm-kernel, linux-kernel, Peng Fan

From: Peng Fan <peng.fan@nxp.com>

The WDOG_B is connected to external PMIC, so set "fsl,ext-reset-output"
to enable triggering PMIC reset.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
---
 arch/arm64/boot/dts/freescale/imx93-14x14-evk.dts | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm64/boot/dts/freescale/imx93-14x14-evk.dts b/arch/arm64/boot/dts/freescale/imx93-14x14-evk.dts
index 236a44c1782a..b8b5ca57902e 100644
--- a/arch/arm64/boot/dts/freescale/imx93-14x14-evk.dts
+++ b/arch/arm64/boot/dts/freescale/imx93-14x14-evk.dts
@@ -284,6 +284,7 @@ &usdhc2 {
 };
 
 &wdog3 {
+	fsl,ext-reset-output;
 	status = "okay";
 };
 

-- 
2.37.1



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

* [PATCH 3/3] arm64: dts: freescale: imx93-9x9-qsb: enable fsl,ext-reset-output for wdog3
  2024-08-20 15:02 [PATCH 0/3] arm64: dts: freescale: Enable wdog_b trigger pmic reset for i.MX93 Peng Fan (OSS)
  2024-08-20 15:02 ` [PATCH 1/3] arm64: dts: freescale: imx93-11x11-evk: enable fsl,ext-reset-output for wdog3 Peng Fan (OSS)
  2024-08-20 15:02 ` [PATCH 2/3] arm64: dts: freescale: imx93-14x14-evk: enable fsl,ext-reset-output " Peng Fan (OSS)
@ 2024-08-20 15:02 ` Peng Fan (OSS)
  2 siblings, 0 replies; 6+ messages in thread
From: Peng Fan (OSS) @ 2024-08-20 15:02 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Shawn Guo,
	Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam
  Cc: devicetree, imx, linux-arm-kernel, linux-kernel, Peng Fan

From: Peng Fan <peng.fan@nxp.com>

The WDOG_B is connected to external PMIC, so set "fsl,ext-reset-output"
to enable triggering PMIC reset.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
---
 arch/arm64/boot/dts/freescale/imx93-9x9-qsb.dts | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm64/boot/dts/freescale/imx93-9x9-qsb.dts b/arch/arm64/boot/dts/freescale/imx93-9x9-qsb.dts
index f8a73612fa05..5af4b0a34b82 100644
--- a/arch/arm64/boot/dts/freescale/imx93-9x9-qsb.dts
+++ b/arch/arm64/boot/dts/freescale/imx93-9x9-qsb.dts
@@ -327,6 +327,7 @@ &usdhc2 {
 };
 
 &wdog3 {
+	fsl,ext-reset-output;
 	status = "okay";
 };
 

-- 
2.37.1



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

* Re: [PATCH 1/3] arm64: dts: freescale: imx93-11x11-evk: enable fsl, ext-reset-output for wdog3
  2024-08-20 15:02 ` [PATCH 1/3] arm64: dts: freescale: imx93-11x11-evk: enable fsl,ext-reset-output for wdog3 Peng Fan (OSS)
@ 2024-08-21  6:32   ` Alexander Stein
  2024-08-21 14:32     ` Frank Li
  0 siblings, 1 reply; 6+ messages in thread
From: Alexander Stein @ 2024-08-21  6:32 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Shawn Guo,
	Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam,
	linux-arm-kernel
  Cc: devicetree, imx, linux-arm-kernel, linux-kernel, Peng Fan,
	Peng Fan (OSS)

Hi,

Am Dienstag, 20. August 2024, 17:02:39 CEST schrieb Peng Fan (OSS):
> From: Peng Fan <peng.fan@nxp.com>
> 
> The WDOG_B is connected to external PMIC, so set "fsl,ext-reset-output"
> to enable triggering PMIC reset.
> 
> Signed-off-by: Peng Fan <peng.fan@nxp.com>
> ---
>  arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts b/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts
> index 60eb64761392..fb93ae654a2b 100644
> --- a/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts
> +++ b/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts
> @@ -485,6 +485,7 @@ &usdhc2 {
>  };
>  
>  &wdog3 {
> +	fsl,ext-reset-output;

The MX93_PAD_WDOG_ANY__WDOG1_WDOG_ANY pinctrl is missing, no?
Same for the other boards.

Best regards,
Alexander

>  	status = "okay";
>  };
>  
> 
> 


-- 
TQ-Systems GmbH | Mühlstraße 2, Gut Delling | 82229 Seefeld, Germany
Amtsgericht München, HRB 105018
Geschäftsführer: Detlef Schneider, Rüdiger Stahl, Stefan Schneider
http://www.tq-group.com/




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

* Re: [PATCH 1/3] arm64: dts: freescale: imx93-11x11-evk: enable fsl, ext-reset-output for wdog3
  2024-08-21  6:32   ` [PATCH 1/3] arm64: dts: freescale: imx93-11x11-evk: enable fsl, ext-reset-output " Alexander Stein
@ 2024-08-21 14:32     ` Frank Li
  0 siblings, 0 replies; 6+ messages in thread
From: Frank Li @ 2024-08-21 14:32 UTC (permalink / raw)
  To: Alexander Stein
  Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Shawn Guo,
	Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam,
	linux-arm-kernel, devicetree, imx, linux-kernel, Peng Fan,
	Peng Fan (OSS)

On Wed, Aug 21, 2024 at 08:32:06AM +0200, Alexander Stein wrote:
> Hi,
>
> Am Dienstag, 20. August 2024, 17:02:39 CEST schrieb Peng Fan (OSS):
> > From: Peng Fan <peng.fan@nxp.com>
> >
> > The WDOG_B is connected to external PMIC, so set "fsl,ext-reset-output"
> > to enable triggering PMIC reset.
> >
> > Signed-off-by: Peng Fan <peng.fan@nxp.com>
> > ---
> >  arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts | 1 +
> >  1 file changed, 1 insertion(+)
> >
> > diff --git a/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts b/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts
> > index 60eb64761392..fb93ae654a2b 100644
> > --- a/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts
> > +++ b/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts
> > @@ -485,6 +485,7 @@ &usdhc2 {
> >  };
> >
> >  &wdog3 {
> > +	fsl,ext-reset-output;
>
> The MX93_PAD_WDOG_ANY__WDOG1_WDOG_ANY pinctrl is missing, no?
> Same for the other boards.

I think it should be already set in uboot. Otherwise if system halt before
kernel pin-mux driver probe, Wdog will not reset board.

Anyways, add pinctrl have not harmful here.

Frank

>
> Best regards,
> Alexander
>
> >  	status = "okay";
> >  };
> >
> >
> >
>
>
> --
> TQ-Systems GmbH | Mühlstraße 2, Gut Delling | 82229 Seefeld, Germany
> Amtsgericht München, HRB 105018
> Geschäftsführer: Detlef Schneider, Rüdiger Stahl, Stefan Schneider
> http://www.tq-group.com/
>
>


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

end of thread, other threads:[~2024-08-21 14:33 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-20 15:02 [PATCH 0/3] arm64: dts: freescale: Enable wdog_b trigger pmic reset for i.MX93 Peng Fan (OSS)
2024-08-20 15:02 ` [PATCH 1/3] arm64: dts: freescale: imx93-11x11-evk: enable fsl,ext-reset-output for wdog3 Peng Fan (OSS)
2024-08-21  6:32   ` [PATCH 1/3] arm64: dts: freescale: imx93-11x11-evk: enable fsl, ext-reset-output " Alexander Stein
2024-08-21 14:32     ` Frank Li
2024-08-20 15:02 ` [PATCH 2/3] arm64: dts: freescale: imx93-14x14-evk: enable fsl,ext-reset-output " Peng Fan (OSS)
2024-08-20 15:02 ` [PATCH 3/3] arm64: dts: freescale: imx93-9x9-qsb: " Peng Fan (OSS)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox