diff mbox series

[RFC,09/12] dt-bindings: watchdog: sunxi: add compatible string for V831/V833 WDT

Message ID 20201212050519.3644837-1-icenowy@aosc.io
State New
Headers show
Series None | expand

Commit Message

Icenowy Zheng Dec. 12, 2020, 5:05 a.m. UTC
V831/V833 has a watchdog similar to the ones on previous Allwinner SoCs
after sun6i.

Add a compatible string for it.

Cc: Wim Van Sebroeck <wim@linux-watchdog.org>
Cc: Guenter Roeck <linux@roeck-us.net>
Cc: linux-watchdog@vger.kernel.org
Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
---
 .../devicetree/bindings/watchdog/allwinner,sun4i-a10-wdt.yaml  | 3 +++
 1 file changed, 3 insertions(+)

Comments

Rob Herring (Arm) Dec. 15, 2020, 4:27 p.m. UTC | #1
On Sat, Dec 12, 2020 at 01:05:16PM +0800, Icenowy Zheng wrote:
> V831/V833 has a watchdog similar to the ones on previous Allwinner SoCs

> after sun6i.

> 

> Add a compatible string for it.

> 

> Cc: Wim Van Sebroeck <wim@linux-watchdog.org>

> Cc: Guenter Roeck <linux@roeck-us.net>

> Cc: linux-watchdog@vger.kernel.org

> Signed-off-by: Icenowy Zheng <icenowy@aosc.io>

> ---

>  .../devicetree/bindings/watchdog/allwinner,sun4i-a10-wdt.yaml  | 3 +++

>  1 file changed, 3 insertions(+)


This is going to conflict with Andre's series for H616.

> 

> diff --git a/Documentation/devicetree/bindings/watchdog/allwinner,sun4i-a10-wdt.yaml b/Documentation/devicetree/bindings/watchdog/allwinner,sun4i-a10-wdt.yaml

> index e8f226376108..2f3c350b0057 100644

> --- a/Documentation/devicetree/bindings/watchdog/allwinner,sun4i-a10-wdt.yaml

> +++ b/Documentation/devicetree/bindings/watchdog/allwinner,sun4i-a10-wdt.yaml

> @@ -18,6 +18,9 @@ properties:

>      oneOf:

>        - const: allwinner,sun4i-a10-wdt

>        - const: allwinner,sun6i-a31-wdt

> +      - items:

> +          - const: allwinner,sun8i-v831-wdt

> +          - const: allwinner,sun6i-a31-wdt

>        - items:

>            - const: allwinner,sun50i-a64-wdt

>            - const: allwinner,sun6i-a31-wdt

> -- 

> 2.28.0
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/watchdog/allwinner,sun4i-a10-wdt.yaml b/Documentation/devicetree/bindings/watchdog/allwinner,sun4i-a10-wdt.yaml
index e8f226376108..2f3c350b0057 100644
--- a/Documentation/devicetree/bindings/watchdog/allwinner,sun4i-a10-wdt.yaml
+++ b/Documentation/devicetree/bindings/watchdog/allwinner,sun4i-a10-wdt.yaml
@@ -18,6 +18,9 @@  properties:
     oneOf:
       - const: allwinner,sun4i-a10-wdt
       - const: allwinner,sun6i-a31-wdt
+      - items:
+          - const: allwinner,sun8i-v831-wdt
+          - const: allwinner,sun6i-a31-wdt
       - items:
           - const: allwinner,sun50i-a64-wdt
           - const: allwinner,sun6i-a31-wdt