[PATCH] doc: device-tree-bindings: watchdog: document common properties

Stefan Roese sr at denx.de
Thu Mar 10 08:45:30 CET 2022


On 3/9/22 14:56, Philippe Reynes wrote:
> Adds simple documentation about common properties for watchdog
> in the device tree.
> 
> Signed-off-by: Philippe Reynes <philippe.reynes at softathome.com>

Reviewed-by: Stefan Roese <sr at denx.de>

Thanks,
Stefan

> ---
>   doc/device-tree-bindings/watchdog/common.txt | 12 ++++++++++++
>   1 file changed, 12 insertions(+)
>   create mode 100644 doc/device-tree-bindings/watchdog/common.txt
> 
> diff --git a/doc/device-tree-bindings/watchdog/common.txt b/doc/device-tree-bindings/watchdog/common.txt
> new file mode 100644
> index 0000000000..9db6dd6146
> --- /dev/null
> +++ b/doc/device-tree-bindings/watchdog/common.txt
> @@ -0,0 +1,12 @@
> +Common watchdog properties.
> +
> +Optional properties:
> +- timeout-sec : Timeout of the watchdog in seconds
> +                If this timeout is not defined, the value of WATCHDOG_TIMEOUT_MSECS will
> +                be used instead.
> +- hw_margin_ms : Period used to reset the watchdog in ms
> +                 If this period is not defined, the default value is 1000.
> +- u-boot,noautostart : Specify that this watchdog should not autostart
> +                       When the config option WATCHDOG_AUTOSTART is set, all enabled
> +                       watchdogs are started. This property allows specifying that this
> +                       watchdog should NOT be started.

Viele Grüße,
Stefan Roese

-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: sr at denx.de


More information about the U-Boot mailing list