[U-Boot] [PATCH 1/2] watchdog: imx: Add DT ext-reset handling

Marek Vasut marex at denx.de
Tue Aug 6 17:11:39 UTC 2019


On 8/6/19 7:05 PM, Robert Hancock wrote:
> The Linux imx2_wdt driver uses a fsl,ext-reset-output boolean in the
> device tree to specify whether the board design should use the external
> reset instead of the internal reset. Use this boolean to determine which
> mode to use rather than using external reset unconditionally.
> 
> For the legacy non-DM mode, the external reset is always used in order
> to maintain the previous behavior.
> 
> Signed-off-by: Robert Hancock <hancock at sedsystems.ca>

[...]

> @@ -124,6 +129,8 @@ static int imx_wdt_probe(struct udevice *dev)
>  	if (!priv->base)
>  		return -ENOENT;
>  
> +	priv->ext_reset = dev_read_bool(dev, "fsl,ext-reset-output");
> +

Do we need a vendor-specific, undocumented, DT property ?


More information about the U-Boot mailing list