Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: display: bridge: renesas,dsi: Document RZ/V2H(P) and RZ/V2N

Add the compatible string "renesas,r9a09g057-mipi-dsi" for the Renesas
RZ/V2H(P) (R9A09G057) SoC. While the MIPI DSI LINK registers are shared
with the RZ/G2L SoC, the D-PHY register layout differs. Additionally, the
RZ/V2H(P) uses only two resets compared to three on RZ/G2L, and requires
five clocks instead of six.

To reflect these hardware differences, update the binding schema to
support the reduced clock and reset requirements for RZ/V2H(P).

Since the RZ/V2N (R9A09G056) SoC integrates an identical DSI IP to
RZ/V2H(P), the same "renesas,r9a09g057-mipi-dsi" compatible string is
reused for RZ/V2N.

Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Tomi Valkeinen <tomi.valkeinen+renesas@ideasonboard.com>
Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Link: https://patch.msgid.link/20251015192611.241920-6-prabhakar.mahadev-lad.rj@bp.renesas.com

authored by

Lad Prabhakar and committed by
Biju Das
ddeb8d5c 2359fe93

+91 -29
+91 -29
Documentation/devicetree/bindings/display/bridge/renesas,dsi.yaml
··· 14 14 RZ/G2L alike family of SoC's. The encoder can operate in DSI mode, with 15 15 up to four data lanes. 16 16 17 - allOf: 18 - - $ref: /schemas/display/dsi-controller.yaml# 19 - 20 17 properties: 21 18 compatible: 22 - items: 19 + oneOf: 20 + - items: 21 + - enum: 22 + - renesas,r9a07g044-mipi-dsi # RZ/G2{L,LC} 23 + - renesas,r9a07g054-mipi-dsi # RZ/V2L 24 + - const: renesas,rzg2l-mipi-dsi 25 + 26 + - items: 27 + - const: renesas,r9a09g056-mipi-dsi # RZ/V2N 28 + - const: renesas,r9a09g057-mipi-dsi 29 + 23 30 - enum: 24 - - renesas,r9a07g044-mipi-dsi # RZ/G2{L,LC} 25 - - renesas,r9a07g054-mipi-dsi # RZ/V2L 26 - - const: renesas,rzg2l-mipi-dsi 31 + - renesas,r9a09g057-mipi-dsi # RZ/V2H(P) 27 32 28 33 reg: 29 34 maxItems: 1 ··· 54 49 - const: debug 55 50 56 51 clocks: 57 - items: 58 - - description: DSI D-PHY PLL multiplied clock 59 - - description: DSI D-PHY system clock 60 - - description: DSI AXI bus clock 61 - - description: DSI Register access clock 62 - - description: DSI Video clock 63 - - description: DSI D-PHY Escape mode transmit clock 52 + oneOf: 53 + - items: 54 + - description: DSI D-PHY PLL multiplied clock 55 + - description: DSI D-PHY system clock 56 + - description: DSI AXI bus clock 57 + - description: DSI Register access clock 58 + - description: DSI Video clock 59 + - description: DSI D-PHY Escape mode transmit clock 60 + - items: 61 + - description: DSI D-PHY PLL reference clock 62 + - description: DSI AXI bus clock 63 + - description: DSI Register access clock 64 + - description: DSI Video clock 65 + - description: DSI D-PHY Escape mode transmit clock 64 66 65 67 clock-names: 66 - items: 67 - - const: pllclk 68 - - const: sysclk 69 - - const: aclk 70 - - const: pclk 71 - - const: vclk 72 - - const: lpclk 68 + oneOf: 69 + - items: 70 + - const: pllclk 71 + - const: sysclk 72 + - const: aclk 73 + - const: pclk 74 + - const: vclk 75 + - const: lpclk 76 + - items: 77 + - const: pllrefclk 78 + - const: aclk 79 + - const: pclk 80 + - const: vclk 81 + - const: lpclk 73 82 74 83 resets: 75 - items: 76 - - description: MIPI_DSI_CMN_RSTB 77 - - description: MIPI_DSI_ARESET_N 78 - - description: MIPI_DSI_PRESET_N 84 + oneOf: 85 + - items: 86 + - description: MIPI_DSI_CMN_RSTB 87 + - description: MIPI_DSI_ARESET_N 88 + - description: MIPI_DSI_PRESET_N 89 + - items: 90 + - description: MIPI_DSI_ARESET_N 91 + - description: MIPI_DSI_PRESET_N 79 92 80 93 reset-names: 81 - items: 82 - - const: rst 83 - - const: arst 84 - - const: prst 94 + oneOf: 95 + - items: 96 + - const: rst 97 + - const: arst 98 + - const: prst 99 + - items: 100 + - const: arst 101 + - const: prst 85 102 86 103 power-domains: 87 104 maxItems: 1 ··· 156 129 - ports 157 130 158 131 unevaluatedProperties: false 132 + 133 + allOf: 134 + - $ref: ../dsi-controller.yaml# 135 + 136 + - if: 137 + properties: 138 + compatible: 139 + contains: 140 + const: renesas,r9a09g057-mipi-dsi 141 + then: 142 + properties: 143 + clocks: 144 + maxItems: 5 145 + 146 + clock-names: 147 + maxItems: 5 148 + 149 + resets: 150 + maxItems: 2 151 + 152 + reset-names: 153 + maxItems: 2 154 + else: 155 + properties: 156 + clocks: 157 + minItems: 6 158 + 159 + clock-names: 160 + minItems: 6 161 + 162 + resets: 163 + minItems: 3 164 + 165 + reset-names: 166 + minItems: 3 159 167 160 168 examples: 161 169 - |