[RFC PATCH 03/13] dt-bindings: display: sun4i: Document A733 TCON TOP, TCON TV, and HDMI

Alastair D'Silva alastair at d-silva.org
Sun Nov 29 18:07:48 PST 2026


Document the Allwinner A733 TCON TOP1, TCON TV0, DW-HDMI 2.0
controller, and TOP PHY bindings. The TOP PHY uses a syscon reference
for RESCAL calibration.

Signed-off-by: Alastair D'Silva <alastair at d-silva.org>
---
 .../display/allwinner,sun4i-a10-tcon.yaml     |  19 +++
 .../display/allwinner,sun8i-a83t-dw-hdmi.yaml | 142 ++++++++++++-----
 .../allwinner,sun8i-a83t-hdmi-phy.yaml        | 148 +++++++++++-------
 .../display/allwinner,sun8i-r40-tcon-top.yaml |  44 +++++-
 4 files changed, 257 insertions(+), 96 deletions(-)

diff --git a/Documentation/devicetree/bindings/display/allwinner,sun4i-a10-tcon.yaml b/Documentation/devicetree/bindings/display/allwinner,sun4i-a10-tcon.yaml
index 724d93b9193b..d556d8a1cdcc 100644
--- a/Documentation/devicetree/bindings/display/allwinner,sun4i-a10-tcon.yaml
+++ b/Documentation/devicetree/bindings/display/allwinner,sun4i-a10-tcon.yaml
@@ -35,6 +35,7 @@ properties:
       - const: allwinner,sun9i-a80-tcon-tv
       - const: allwinner,sun20i-d1-tcon-lcd
       - const: allwinner,sun20i-d1-tcon-tv
+      - const: allwinner,sun60i-a733-tcon-tv
 
       - items:
           - enum:
@@ -80,6 +81,9 @@ properties:
   dmas:
     maxItems: 1
 
+  power-domains:
+    maxItems: 1
+
   resets:
     anyOf:
       - items:
@@ -254,6 +258,7 @@ allOf:
               - allwinner,sun8i-r40-tcon-tv
               - allwinner,sun9i-a80-tcon-tv
               - allwinner,sun20i-d1-tcon-tv
+              - allwinner,sun60i-a733-tcon-tv
 
     then:
       properties:
@@ -361,6 +366,20 @@ allOf:
       required:
         - dmas
 
+  - if:
+      properties:
+        compatible:
+          contains:
+            const: allwinner,sun60i-a733-tcon-tv
+
+    then:
+      required:
+        - power-domains
+
+    else:
+      properties:
+        power-domains: false
+
 examples:
   - |
     #include <dt-bindings/dma/sun4i-a10.h>
diff --git a/Documentation/devicetree/bindings/display/allwinner,sun8i-a83t-dw-hdmi.yaml b/Documentation/devicetree/bindings/display/allwinner,sun8i-a83t-dw-hdmi.yaml
index c43b02ec884f..9b9ef5853675 100644
--- a/Documentation/devicetree/bindings/display/allwinner,sun8i-a83t-dw-hdmi.yaml
+++ b/Documentation/devicetree/bindings/display/allwinner,sun8i-a83t-dw-hdmi.yaml
@@ -7,7 +7,7 @@ $schema: http://devicetree.org/meta-schemas/core.yaml#
 title: Allwinner A83t DWC HDMI TX Encoder
 
 description: |
-  The HDMI transmitter is a Synopsys DesignWare HDMI 1.4 TX controller
+  The HDMI transmitter is a Synopsys DesignWare HDMI 1.4/2.0 TX controller
   IP with Allwinner\'s own PHY IP. It supports audio and video outputs
   and CEC.
 
@@ -27,6 +27,7 @@ properties:
     oneOf:
       - const: allwinner,sun8i-a83t-dw-hdmi
       - const: allwinner,sun50i-h6-dw-hdmi
+      - const: allwinner,sun60i-a733-dw-hdmi
 
       - items:
           - enum:
@@ -46,35 +47,22 @@ properties:
 
   clocks:
     minItems: 3
-    items:
-      - description: Bus Clock
-      - description: Register Clock
-      - description: TMDS Clock
-      - description: HDMI CEC Clock
-      - description: HDCP Clock
-      - description: HDCP Bus Clock
+    maxItems: 6
 
   clock-names:
     minItems: 3
-    items:
-      - const: iahb
-      - const: isfr
-      - const: tmds
-      - const: cec
-      - const: hdcp
-      - const: hdcp-bus
+    maxItems: 6
 
   resets:
     minItems: 1
-    items:
-      - description: HDMI Controller Reset
-      - description: HDCP Reset
+    maxItems: 3
 
   reset-names:
     minItems: 1
-    items:
-      - const: ctrl
-      - const: hdcp
+    maxItems: 3
+
+  power-domains:
+    maxItems: 1
 
   phys:
     maxItems: 1
@@ -121,26 +109,98 @@ required:
   - phy-names
   - ports
 
-if:
-  properties:
-    compatible:
-      contains:
-        enum:
-          - allwinner,sun50i-h6-dw-hdmi
-
-then:
-  properties:
-    clocks:
-      minItems: 6
-
-    clock-names:
-      minItems: 6
-
-    resets:
-      minItems: 2
-
-    reset-names:
-      minItems: 2
+allOf:
+  - if:
+      properties:
+        compatible:
+          contains:
+            enum:
+              - allwinner,sun50i-h6-dw-hdmi
+
+    then:
+      properties:
+        clocks:
+          minItems: 6
+
+        clock-names:
+          minItems: 6
+
+        resets:
+          minItems: 2
+
+        reset-names:
+          minItems: 2
+
+  - if:
+      properties:
+        compatible:
+          contains:
+            const: allwinner,sun60i-a733-dw-hdmi
+
+    then:
+      properties:
+        clocks:
+          items:
+            - description: Bus Clock
+            - description: Register Clock
+            - description: TMDS Clock
+            - description: AHB Clock
+
+        clock-names:
+          items:
+            - const: iahb
+            - const: isfr
+            - const: tmds
+            - const: ahb
+
+        resets:
+          items:
+            - description: HDMI Controller Reset
+            - description: HDMI Sub-module Reset
+            - description: HDCP Reset
+
+        reset-names:
+          items:
+            - const: ctrl
+            - const: sub
+            - const: hdcp
+      required:
+        - power-domains
+
+    else:
+      properties:
+        power-domains: false
+        clocks:
+          minItems: 3
+          items:
+            - description: Bus Clock
+            - description: Register Clock
+            - description: TMDS Clock
+            - description: HDMI CEC Clock
+            - description: HDCP Clock
+            - description: HDCP Bus Clock
+
+        clock-names:
+          minItems: 3
+          items:
+            - const: iahb
+            - const: isfr
+            - const: tmds
+            - const: cec
+            - const: hdcp
+            - const: hdcp-bus
+
+        resets:
+          minItems: 1
+          items:
+            - description: HDMI Controller Reset
+            - description: HDCP Reset
+
+        reset-names:
+          minItems: 1
+          items:
+            - const: ctrl
+            - const: hdcp
 
 additionalProperties: false
 
diff --git a/Documentation/devicetree/bindings/display/allwinner,sun8i-a83t-hdmi-phy.yaml b/Documentation/devicetree/bindings/display/allwinner,sun8i-a83t-hdmi-phy.yaml
index 1b47f3d99a78..6d44365badf8 100644
--- a/Documentation/devicetree/bindings/display/allwinner,sun8i-a83t-hdmi-phy.yaml
+++ b/Documentation/devicetree/bindings/display/allwinner,sun8i-a83t-hdmi-phy.yaml
@@ -21,25 +21,25 @@ properties:
       - allwinner,sun8i-r40-hdmi-phy
       - allwinner,sun50i-a64-hdmi-phy
       - allwinner,sun50i-h6-hdmi-phy
+      - allwinner,sun60i-a733-hdmi-phy
 
   reg:
     maxItems: 1
 
+  allwinner,rescal:
+    $ref: /schemas/types.yaml#/definitions/phandle
+    description: Phandle to the RESCAL syscon node for PHY calibration
+
+  power-domains:
+    maxItems: 1
+
   clocks:
-    minItems: 2
-    items:
-      - description: Bus Clock
-      - description: Module Clock
-      - description: Parent of the PHY clock
-      - description: Second possible parent of the PHY clock
+    minItems: 1
+    maxItems: 4
 
   clock-names:
-    minItems: 2
-    items:
-      - const: bus
-      - const: mod
-      - const: pll-0
-      - const: pll-1
+    minItems: 1
+    maxItems: 4
 
   resets:
     maxItems: 1
@@ -52,48 +52,88 @@ required:
   - reg
   - clocks
   - clock-names
-  - resets
-  - reset-names
-
-if:
-  properties:
-    compatible:
-      contains:
-        enum:
-          - allwinner,sun8i-r40-hdmi-phy
-
-then:
-  properties:
-    clocks:
-      minItems: 4
-
-    clock-names:
-      minItems: 4
-
-else:
-  if:
-    properties:
-      compatible:
-        contains:
-          enum:
-            - allwinner,sun8i-h3-hdmi-phy
-            - allwinner,sun50i-a64-hdmi-phy
-
-  then:
-    properties:
-      clocks:
-        minItems: 3
-
-      clock-names:
-        minItems: 3
-
-  else:
-    properties:
-      clocks:
-        maxItems: 2
-
-      clock-names:
-        maxItems: 2
+
+allOf:
+  - if:
+      properties:
+        compatible:
+          contains:
+            const: allwinner,sun60i-a733-hdmi-phy
+    then:
+      properties:
+        clocks:
+          items:
+            - description: Reference oscillator clock (24 MHz or 26 MHz)
+        clock-names:
+          const: ref
+        resets: false
+        reset-names: false
+      required:
+        - allwinner,rescal
+        - power-domains
+    else:
+      properties:
+        allwinner,rescal: false
+        power-domains: false
+        clocks:
+          minItems: 2
+          items:
+            - description: Bus Clock
+            - description: Module Clock
+            - description: Parent of the PHY clock
+            - description: Second possible parent of the PHY clock
+        clock-names:
+          minItems: 2
+          items:
+            - const: bus
+            - const: mod
+            - const: pll-0
+            - const: pll-1
+      required:
+        - resets
+        - reset-names
+
+  - if:
+      properties:
+        compatible:
+          contains:
+            const: allwinner,sun8i-r40-hdmi-phy
+    then:
+      properties:
+        clocks:
+          minItems: 4
+        clock-names:
+          minItems: 4
+
+  - if:
+      properties:
+        compatible:
+          contains:
+            enum:
+              - allwinner,sun8i-h3-hdmi-phy
+              - allwinner,sun50i-a64-hdmi-phy
+    then:
+      properties:
+        clocks:
+          minItems: 3
+          maxItems: 3
+        clock-names:
+          minItems: 3
+          maxItems: 3
+
+  - if:
+      properties:
+        compatible:
+          contains:
+            enum:
+              - allwinner,sun8i-a83t-hdmi-phy
+              - allwinner,sun50i-h6-hdmi-phy
+    then:
+      properties:
+        clocks:
+          maxItems: 2
+        clock-names:
+          maxItems: 2
 
 additionalProperties: false
 
diff --git a/Documentation/devicetree/bindings/display/allwinner,sun8i-r40-tcon-top.yaml b/Documentation/devicetree/bindings/display/allwinner,sun8i-r40-tcon-top.yaml
index 7d849c4095a3..8ebb58d21d22 100644
--- a/Documentation/devicetree/bindings/display/allwinner,sun8i-r40-tcon-top.yaml
+++ b/Documentation/devicetree/bindings/display/allwinner,sun8i-r40-tcon-top.yaml
@@ -43,6 +43,7 @@ properties:
       - allwinner,sun8i-r40-tcon-top
       - allwinner,sun20i-d1-tcon-top
       - allwinner,sun50i-h6-tcon-top
+      - allwinner,sun60i-a733-tcon-top
 
   reg:
     maxItems: 1
@@ -59,9 +60,13 @@ properties:
     minItems: 1
     maxItems: 3
 
-  resets:
+  power-domains:
     maxItems: 1
 
+  resets:
+    minItems: 1
+    maxItems: 2
+
   ports:
     $ref: /schemas/graph.yaml#/properties/ports
 
@@ -201,6 +206,43 @@ allOf:
           items:
             - description: TCON TV0 output clock name
 
+  - if:
+      properties:
+        compatible:
+          contains:
+            const: allwinner,sun60i-a733-tcon-top
+
+    then:
+      properties:
+        clocks:
+          items:
+            - description: The TCON TOP interface clock
+            - description: The TCON TOP TV0 clock
+            - description: The TCON TOP AHB clock
+
+        clock-names:
+          items:
+            - const: bus
+            - const: tcon-tv0
+            - const: ahb
+
+        clock-output-names:
+          items:
+            - description: TCON TV0 output clock name
+
+        resets:
+          items:
+            - description: The TCON TOP interface reset
+            - description: The video output subsystem reset
+      required:
+        - power-domains
+
+    else:
+      properties:
+        power-domains: false
+        resets:
+          maxItems: 1
+
 examples:
   - |
     #include <dt-bindings/interrupt-controller/arm-gic.h>
-- 
2.53.0




More information about the linux-arm-kernel mailing list