Re: [PATCH v3 2/3] dt-bindings: watchdog: sunxi: Add compatibles for D1

Rob Herring
2021-09-07T19:09:13Z

On Thu, 02 Sep 2021 17:57:49 -0500, Samuel Holland wrote:
> D1 keeps the same register layout and clock sources as the R329, but it
> adds a key field which must be set to update the watchdog's "CFG" and
> "MODE" registers. Therefore it is not backward-compatible.
>
> Similarly to the R329, the D1 has three watchdog instances, and only one
> of them has the "soft reset" registers. So that instance needs an extra
> compatible string.
>
> Signed-off-by: Samuel Holland <samuel@sholland.org>
> ---
> Changes v2 to v3:
> - Add additional allwinner,sun20i-d1-wdt-reset compatible
> Changes v1 to v2:
> - None
>
> .../bindings/watchdog/allwinner,sun4i-a10-wdt.yaml | 6 ++++++
> 1 file changed, 6 insertions(+)
>

Acked-by: Rob Herring <robh@kernel.org>