[v2,16/21] dt-bindings: watchdog: sun4i: Add A100 compatible

Message ID 20201211011934.6171-17-andre.przywara@arm.com
State New
Headers show
Series
  • Untitled series #86818
Related show

Commit Message

Andre Przywara Dec. 11, 2020, 1:19 a.m.
From: Yangtao Li <frank@allwinnertech.com>

Add a binding for A100's watchdog controller.

Signed-off-by: Yangtao Li <frank@allwinnertech.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
---
 .../devicetree/bindings/watchdog/allwinner,sun4i-a10-wdt.yaml  | 3 +++
 1 file changed, 3 insertions(+)

Comments

Guenter Roeck Dec. 13, 2020, 4:12 p.m. | #1
On Fri, Dec 11, 2020 at 01:19:29AM +0000, Andre Przywara wrote:
> From: Yangtao Li <frank@allwinnertech.com>

> 

> Add a binding for A100's watchdog controller.

> 

> Signed-off-by: Yangtao Li <frank@allwinnertech.com>

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

> Signed-off-by: Andre Przywara <andre.przywara@arm.com>


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


> ---

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

>  1 file changed, 3 insertions(+)

> 

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

> index e8f226376108..5ac607de8be4 100644

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

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

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

>        - items:

>            - const: allwinner,sun50i-a64-wdt

>            - const: allwinner,sun6i-a31-wdt

> +      - items:

> +          - const: allwinner,sun50i-a100-wdt

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

>        - items:

>            - const: allwinner,sun50i-h6-wdt

>            - const: allwinner,sun6i-a31-wdt

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..5ac607de8be4 100644
--- a/Documentation/devicetree/bindings/watchdog/allwinner,sun4i-a10-wdt.yaml
+++ b/Documentation/devicetree/bindings/watchdog/allwinner,sun4i-a10-wdt.yaml
@@ -21,6 +21,9 @@  properties:
       - items:
           - const: allwinner,sun50i-a64-wdt
           - const: allwinner,sun6i-a31-wdt
+      - items:
+          - const: allwinner,sun50i-a100-wdt
+          - const: allwinner,sun6i-a31-wdt
       - items:
           - const: allwinner,sun50i-h6-wdt
           - const: allwinner,sun6i-a31-wdt