The RZ/G3E Soc has 2 LCD controller (LCDC), contain a Frame Compression Processor (FCPVD), a Video Signal Processor (VSPD), Video Signal Processor (VSPD), and Display Unit (DU).
- LCDC0 supports DSI and LVDS (single or dual-channel) outputs. - LCDC1 supports DSI, LVDS (single-channel), and RGB outputs. Add new SoC-specific compatible string 'renesas,r9a09g047-du'. Signed-off-by: Tommaso Merciai <[email protected]> --- v1->v2: - Use single compatible string instead of multiple compatible strings for the two DU instances, leveraging a 'renesas,id' property to differentiate between DU0 and DU1. - Updated commit message accordingly. v2->v3: - No changes. v3->v4: - No changes. .../bindings/display/renesas,rzg2l-du.yaml | 54 +++++++++++++++++++ 1 file changed, 54 insertions(+) diff --git a/Documentation/devicetree/bindings/display/renesas,rzg2l-du.yaml b/Documentation/devicetree/bindings/display/renesas,rzg2l-du.yaml index 2cc66dcef870..55e3fcff7030 100644 --- a/Documentation/devicetree/bindings/display/renesas,rzg2l-du.yaml +++ b/Documentation/devicetree/bindings/display/renesas,rzg2l-du.yaml @@ -20,6 +20,7 @@ properties: - enum: - renesas,r9a07g043u-du # RZ/G2UL - renesas,r9a07g044-du # RZ/G2{L,LC} + - renesas,r9a09g047-du # RZ/G3E - renesas,r9a09g057-du # RZ/V2H(P) - items: - enum: @@ -53,6 +54,12 @@ properties: power-domains: maxItems: 1 + renesas,id: + $ref: /schemas/types.yaml#/definitions/uint32 + enum: [0, 1] + description: | + DU instance number. + ports: $ref: /schemas/graph.yaml#/properties/ports description: | @@ -137,6 +144,53 @@ allOf: required: - port@0 + - if: + properties: + compatible: + contains: + const: renesas,r9a09g047-du + then: + required: + - renesas,id + if: + properties: + renesas,id: + const: 0 + then: + properties: + ports: + properties: + port@0: + description: DSI + port@1: + description: LVDS 0, Channel 0 + port@2: + description: LVDS 0, Channel 1 + + required: + - port@0 + - port@1 + - port@2 + else: + if: + properties: + renesas,id: + const: 1 + then: + properties: + ports: + properties: + port@0: + description: DSI + port@1: + description: LVDS 1, Channel 0 + port@3: + description: DPAD + + required: + - port@0 + - port@1 + - port@3 examples: # RZ/G2L DU -- 2.43.0
