Skip to contentSkip to conversation

dt-bindings: clock: Add compatible for D1 DE2 clocks

PATCH Applied Samuel Holland 3 participants 4 messages Apr 11, 2022 – Jun 20, 2022

Subsystems (3)
lore
Share & tools
lore

Samuel Holland

author maintainer
#0 lore raw

PATCH 1/1 dt-bindings: clock: Add compatible for D1 DE2 clocks

Allwinner D1 contains a display engine 2.0. Its clock controller matches the layout of the H5 DE2 clocks (2 mixers, no rotation engine, and separate resets), so use that compatible as a fallback.

---

 .../bindings/clock/allwinner,sun8i-a83t-de2-clk.yaml           | 3 +++
 1 file changed, 3 insertions(+)
Documentation/devicetree/bindings/clock/allwinner,sun8i-a83t-de2-clk.yaml +3 -0
index e79eeac5f086..17caf78f0ccf 100644
@@ -28,6 +28,9 @@ properties:
       - items:
           - const: allwinner,sun8i-r40-de2-clk
           - const: allwinner,sun8i-h3-de2-clk
+      - items:
+          - const: allwinner,sun20i-d1-de2-clk
+          - const: allwinner,sun50i-h5-de2-clk
 
   reg:
     maxItems: 1
Signature · 1 line
2.35.1
maintainer Acked-by on v1 1/1
#2 lore raw
In reply to Samuel Holland

Dne ponedeljek, 11. april 2022 ob 06:40:01 CEST je Samuel Holland napisal(a):

Quoted 5 lines

Allwinner D1 contains a display engine 2.0. Its clock controller matches the layout of the H5 DE2 clocks (2 mixers, no rotation engine, and separate resets), so use that compatible as a fallback.

Best regards,
Jernej

Review

Quoted 6 lines

---

 .../bindings/clock/allwinner,sun8i-a83t-de2-clk.yaml           | 3 +++
 1 file changed, 3 insertions(+)
(quoted diff) +0 -0

de2-clk.yaml b/Documentation/devicetree/bindings/clock/allwinner,sun8i-a83t- de2-clk.yaml

Quoted 2 lines

index e79eeac5f086..17caf78f0ccf 100644
--- a/Documentation/devicetree/bindings/clock/allwinner,sun8i-a83t-de2-

clk.yaml

Quoted 1 line

+++ b/Documentation/devicetree/bindings/clock/allwinner,sun8i-a83t-de2-

clk.yaml

Quoted 14 lines
Documentation/devicetree/bindings/clock/allwinner,sun8i-a83t-de2-clk.yaml +3 -0
@@ -28,6 +28,9 @@ properties:
       - items:
           - const: allwinner,sun8i-r40-de2-clk
           - const: allwinner,sun8i-h3-de2-clk
+      - items:
+          - const: allwinner,sun20i-d1-de2-clk
+          - const: allwinner,sun50i-h5-de2-clk
 
   reg:
     maxItems: 1
Signature · 1 line
2.35.1
maintainer Applied
#3 lore raw
In reply to Samuel Holland

Dne ponedeljek, 11. april 2022 ob 06:40:01 CEST je Samuel Holland napisal(a):

Quoted 5 lines

Allwinner D1 contains a display engine 2.0. Its clock controller matches the layout of the H5 DE2 clocks (2 mixers, no rotation engine, and separate resets), so use that compatible as a fallback.

Applied, thanks!

Best regards,
Jernej