[PATCH] dt-bindings: display: sun4i: Add D1 TCONs to conditionals

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



When adding the D1 TCON bindings, I missed the conditional blocks that
restrict the binding for TCON LCD vs TCON TV hardware. Add the D1 TCON
variants to the appropriate blocks for DE2 TCON LCDs and TCON TVs.

Fixes: ae5a5d26c15c ("dt-bindings: display: Add D1 display engine compatibles")
Signed-off-by: Samuel Holland <samuel@xxxxxxxxxxxx>
---

 .../devicetree/bindings/display/allwinner,sun4i-a10-tcon.yaml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/Documentation/devicetree/bindings/display/allwinner,sun4i-a10-tcon.yaml b/Documentation/devicetree/bindings/display/allwinner,sun4i-a10-tcon.yaml
index 4a92a4c7dcd7..f8168986a0a9 100644
--- a/Documentation/devicetree/bindings/display/allwinner,sun4i-a10-tcon.yaml
+++ b/Documentation/devicetree/bindings/display/allwinner,sun4i-a10-tcon.yaml
@@ -224,43 +224,45 @@ allOf:
             - const: ahb
             - const: tcon-ch0
             - const: lvds-alt
 
   - if:
       properties:
         compatible:
           contains:
             enum:
               - allwinner,sun8i-a83t-tcon-lcd
               - allwinner,sun8i-v3s-tcon
               - allwinner,sun9i-a80-tcon-lcd
+              - allwinner,sun20i-d1-tcon-lcd
 
     then:
       properties:
         clocks:
           minItems: 2
 
         clock-names:
           items:
             - const: ahb
             - const: tcon-ch0
 
   - if:
       properties:
         compatible:
           contains:
             enum:
               - allwinner,sun8i-a83t-tcon-tv
               - allwinner,sun8i-r40-tcon-tv
               - allwinner,sun9i-a80-tcon-tv
+              - allwinner,sun20i-d1-tcon-tv
 
     then:
       properties:
         clocks:
           minItems: 2
 
         clock-names:
           items:
             - const: ahb
             - const: tcon-ch1
 
   - if:
@@ -269,40 +271,42 @@ allOf:
           contains:
             enum:
               - allwinner,sun5i-a13-tcon
               - allwinner,sun6i-a31-tcon
               - allwinner,sun6i-a31s-tcon
               - allwinner,sun7i-a20-tcon
               - allwinner,sun8i-a23-tcon
               - allwinner,sun8i-a33-tcon
               - allwinner,sun8i-v3s-tcon
               - allwinner,sun9i-a80-tcon-lcd
               - allwinner,sun4i-a10-tcon
               - allwinner,sun8i-a83t-tcon-lcd
+              - allwinner,sun20i-d1-tcon-lcd
 
     then:
       required:
         - "#clock-cells"
         - clock-output-names
 
   - if:
       properties:
         compatible:
           contains:
             enum:
               - allwinner,sun6i-a31-tcon
               - allwinner,sun6i-a31s-tcon
               - allwinner,sun8i-a23-tcon
               - allwinner,sun8i-a33-tcon
               - allwinner,sun8i-a83t-tcon-lcd
+              - allwinner,sun20i-d1-tcon-lcd
 
     then:
       properties:
         resets:
           minItems: 2
 
         reset-names:
           items:
             - const: lcd
             - const: lvds
 
   - if:
-- 
2.35.1




[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux