[v4,06/16] dt-bindings: nvmem: SID: add binding for A100's SID controller
diff mbox series

Message ID 6899200489cb4236650ba90646057874b82ed6b7.1594708864.git.frank@allwinnertech.com
State New
Headers show
Series
  • Allwinner A100 Initial support
Related show

Commit Message

Frank Lee July 14, 2020, 7:08 a.m. UTC
From: Yangtao Li <frank@allwinnertech.com>

Add a binding for A100's SID controller.

Signed-off-by: Yangtao Li <frank@allwinnertech.com>
---
 .../nvmem/allwinner,sun4i-a10-sid.yaml        | 19 +++++++++++--------
 1 file changed, 11 insertions(+), 8 deletions(-)

Comments

Rob Herring July 14, 2020, 8:51 p.m. UTC | #1
On Tue, 14 Jul 2020 15:08:43 +0800, Frank Lee wrote:
> From: Yangtao Li <frank@allwinnertech.com>
> 
> Add a binding for A100's SID controller.
> 
> Signed-off-by: Yangtao Li <frank@allwinnertech.com>
> ---
>  .../nvmem/allwinner,sun4i-a10-sid.yaml        | 19 +++++++++++--------
>  1 file changed, 11 insertions(+), 8 deletions(-)
> 

Reviewed-by: Rob Herring <robh@kernel.org>
Srinivas Kandagatla July 20, 2020, 9:23 a.m. UTC | #2
On 14/07/2020 08:08, Frank Lee wrote:
> From: Yangtao Li <frank@allwinnertech.com>
> 
> Add a binding for A100's SID controller.
> 
> Signed-off-by: Yangtao Li <frank@allwinnertech.com>
> ---

Applied thanks,
srini
>   .../nvmem/allwinner,sun4i-a10-sid.yaml        | 19 +++++++++++--------
>   1 file changed, 11 insertions(+), 8 deletions(-)
> 
> diff --git a/Documentation/devicetree/bindings/nvmem/allwinner,sun4i-a10-sid.yaml b/Documentation/devicetree/bindings/nvmem/allwinner,sun4i-a10-sid.yaml
> index daf1321d76ad..6687ab720304 100644
> --- a/Documentation/devicetree/bindings/nvmem/allwinner,sun4i-a10-sid.yaml
> +++ b/Documentation/devicetree/bindings/nvmem/allwinner,sun4i-a10-sid.yaml
> @@ -15,14 +15,17 @@ allOf:
>   
>   properties:
>     compatible:
> -    enum:
> -      - allwinner,sun4i-a10-sid
> -      - allwinner,sun7i-a20-sid
> -      - allwinner,sun8i-a83t-sid
> -      - allwinner,sun8i-h3-sid
> -      - allwinner,sun50i-a64-sid
> -      - allwinner,sun50i-h5-sid
> -      - allwinner,sun50i-h6-sid
> +    oneOf:
> +      - const: allwinner,sun4i-a10-sid
> +      - const: allwinner,sun7i-a20-sid
> +      - const: allwinner,sun8i-a83t-sid
> +      - const: allwinner,sun8i-h3-sid
> +      - const: allwinner,sun50i-a64-sid
> +      - items:
> +          - const: allwinner,sun50i-a100-sid
> +          - const: allwinner,sun50i-a64-sid
> +      - const: allwinner,sun50i-h5-sid
> +      - const: allwinner,sun50i-h6-sid
>   
>     reg:
>       maxItems: 1
>

Patch
diff mbox series

diff --git a/Documentation/devicetree/bindings/nvmem/allwinner,sun4i-a10-sid.yaml b/Documentation/devicetree/bindings/nvmem/allwinner,sun4i-a10-sid.yaml
index daf1321d76ad..6687ab720304 100644
--- a/Documentation/devicetree/bindings/nvmem/allwinner,sun4i-a10-sid.yaml
+++ b/Documentation/devicetree/bindings/nvmem/allwinner,sun4i-a10-sid.yaml
@@ -15,14 +15,17 @@  allOf:
 
 properties:
   compatible:
-    enum:
-      - allwinner,sun4i-a10-sid
-      - allwinner,sun7i-a20-sid
-      - allwinner,sun8i-a83t-sid
-      - allwinner,sun8i-h3-sid
-      - allwinner,sun50i-a64-sid
-      - allwinner,sun50i-h5-sid
-      - allwinner,sun50i-h6-sid
+    oneOf:
+      - const: allwinner,sun4i-a10-sid
+      - const: allwinner,sun7i-a20-sid
+      - const: allwinner,sun8i-a83t-sid
+      - const: allwinner,sun8i-h3-sid
+      - const: allwinner,sun50i-a64-sid
+      - items:
+          - const: allwinner,sun50i-a100-sid
+          - const: allwinner,sun50i-a64-sid
+      - const: allwinner,sun50i-h5-sid
+      - const: allwinner,sun50i-h6-sid
 
   reg:
     maxItems: 1