diff mbox series

[1/3] arm64: dts: freescale: imx93-11x11-evk: enable fsl,ext-reset-output for wdog3

Message ID 20240820-imx93-wdog-v1-1-5dafda0d4319@nxp.com (mailing list archive)
State New
Headers show
Series arm64: dts: freescale: Enable wdog_b trigger pmic reset for i.MX93 | expand

Commit Message

Peng Fan (OSS) Aug. 20, 2024, 3:02 p.m. UTC
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(+)

Comments

Alexander Stein Aug. 21, 2024, 6:32 a.m. UTC | #1
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";
>  };
>  
> 
>
Frank Li Aug. 21, 2024, 2:32 p.m. UTC | #2
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/
>
>
diff mbox series

Patch

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";
 };