diff mbox series

[v3,01/16] dt-bindings: clk: sunxi-ccu: add compatible string for A100 CCU and R-CCU

Message ID 20200708071942.22595-2-frank@allwinnertech.com (mailing list archive)
State Not Applicable, archived
Headers show
Series Allwinner A100 Initial support | expand

Commit Message

Frank Lee July 8, 2020, 7:19 a.m. UTC
This patch adds binding to a100's ccu clock and r-ccu clock.

Signed-off-by: Frank Lee <frank@allwinnertech.com>
---
 .../devicetree/bindings/clock/allwinner,sun4i-a10-ccu.yaml         | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

Comments

Rob Herring July 13, 2020, 10:54 p.m. UTC | #1
On Wed, 08 Jul 2020 15:19:27 +0800, Frank Lee wrote:
> This patch adds binding to a100's ccu clock and r-ccu clock.
> 
> Signed-off-by: Frank Lee <frank@allwinnertech.com>
> ---
>  .../devicetree/bindings/clock/allwinner,sun4i-a10-ccu.yaml         | 7 ++++++-
>  1 file changed, 6 insertions(+), 1 deletion(-)
> 

Reviewed-by: Rob Herring <robh@kernel.org>
Rob Herring July 13, 2020, 11:33 p.m. UTC | #2
On Mon, Jul 13, 2020 at 4:54 PM Rob Herring <robh@kernel.org> wrote:
>
> On Wed, 08 Jul 2020 15:19:27 +0800, Frank Lee wrote:
> > This patch adds binding to a100's ccu clock and r-ccu clock.
> >
> > Signed-off-by: Frank Lee <frank@allwinnertech.com>
> > ---
> >  .../devicetree/bindings/clock/allwinner,sun4i-a10-ccu.yaml         | 7 ++++++-
> >  1 file changed, 6 insertions(+), 1 deletion(-)
> >
>
> Reviewed-by: Rob Herring <robh@kernel.org>

Note that your series isn't threaded properly. Please send series
threaded (in reply to cover letter or 1st patch).
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/clock/allwinner,sun4i-a10-ccu.yaml b/Documentation/devicetree/bindings/clock/allwinner,sun4i-a10-ccu.yaml
index 4d38212..3b45344 100644
--- a/Documentation/devicetree/bindings/clock/allwinner,sun4i-a10-ccu.yaml
+++ b/Documentation/devicetree/bindings/clock/allwinner,sun4i-a10-ccu.yaml
@@ -36,6 +36,8 @@  properties:
       - allwinner,sun9i-a80-ccu
       - allwinner,sun50i-a64-ccu
       - allwinner,sun50i-a64-r-ccu
+      - allwinner,sun50i-a100-ccu
+      - allwinner,sun50i-a100-r-ccu
       - allwinner,sun50i-h5-ccu
       - allwinner,sun50i-h6-ccu
       - allwinner,sun50i-h6-r-ccu
@@ -78,6 +80,7 @@  if:
         - allwinner,sun8i-a83t-r-ccu
         - allwinner,sun8i-h3-r-ccu
         - allwinner,sun50i-a64-r-ccu
+        - allwinner,sun50i-a100-r-ccu
         - allwinner,sun50i-h6-r-ccu
 
 then:
@@ -94,7 +97,9 @@  else:
   if:
     properties:
       compatible:
-        const: allwinner,sun50i-h6-ccu
+        enum:
+          - allwinner,sun50i-a100-ccu
+          - allwinner,sun50i-h6-ccu
 
   then:
     properties: