1 # SPDX-License-Identifier: (GPL-2.0-only OR BS 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/display/bri 4 $id: http://devicetree.org/schemas/display/bridge/renesas,dsi.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Renesas RZ/G2L MIPI DSI Encoder 7 title: Renesas RZ/G2L MIPI DSI Encoder 8 8 9 maintainers: 9 maintainers: 10 - Biju Das <biju.das.jz@bp.renesas.com> 10 - Biju Das <biju.das.jz@bp.renesas.com> 11 11 12 description: | 12 description: | 13 This binding describes the MIPI DSI encoder 13 This binding describes the MIPI DSI encoder embedded in the Renesas 14 RZ/G2L alike family of SoC's. The encoder ca 14 RZ/G2L alike family of SoC's. The encoder can operate in DSI mode, with 15 up to four data lanes. 15 up to four data lanes. 16 16 17 allOf: 17 allOf: 18 - $ref: /schemas/display/dsi-controller.yaml 18 - $ref: /schemas/display/dsi-controller.yaml# 19 19 20 properties: 20 properties: 21 compatible: 21 compatible: 22 items: 22 items: 23 - enum: 23 - enum: 24 - renesas,r9a07g044-mipi-dsi # RZ/G2 24 - renesas,r9a07g044-mipi-dsi # RZ/G2{L,LC} 25 - renesas,r9a07g054-mipi-dsi # RZ/V2 25 - renesas,r9a07g054-mipi-dsi # RZ/V2L 26 - const: renesas,rzg2l-mipi-dsi 26 - const: renesas,rzg2l-mipi-dsi 27 27 28 reg: 28 reg: 29 maxItems: 1 29 maxItems: 1 30 30 31 interrupts: 31 interrupts: 32 items: 32 items: 33 - description: Sequence operation channe 33 - description: Sequence operation channel 0 interrupt 34 - description: Sequence operation channe 34 - description: Sequence operation channel 1 interrupt 35 - description: Video-Input operation cha 35 - description: Video-Input operation channel 1 interrupt 36 - description: DSI Packet Receive interr 36 - description: DSI Packet Receive interrupt 37 - description: DSI Fatal Error interrupt 37 - description: DSI Fatal Error interrupt 38 - description: DSI D-PHY PPI interrupt 38 - description: DSI D-PHY PPI interrupt 39 - description: Debug interrupt 39 - description: Debug interrupt 40 40 41 interrupt-names: 41 interrupt-names: 42 items: 42 items: 43 - const: seq0 43 - const: seq0 44 - const: seq1 44 - const: seq1 45 - const: vin1 45 - const: vin1 46 - const: rcv 46 - const: rcv 47 - const: ferr 47 - const: ferr 48 - const: ppi 48 - const: ppi 49 - const: debug 49 - const: debug 50 50 51 clocks: 51 clocks: 52 items: 52 items: 53 - description: DSI D-PHY PLL multiplied 53 - description: DSI D-PHY PLL multiplied clock 54 - description: DSI D-PHY system clock 54 - description: DSI D-PHY system clock 55 - description: DSI AXI bus clock 55 - description: DSI AXI bus clock 56 - description: DSI Register access clock 56 - description: DSI Register access clock 57 - description: DSI Video clock 57 - description: DSI Video clock 58 - description: DSI D-PHY Escape mode tra 58 - description: DSI D-PHY Escape mode transmit clock 59 59 60 clock-names: 60 clock-names: 61 items: 61 items: 62 - const: pllclk 62 - const: pllclk 63 - const: sysclk 63 - const: sysclk 64 - const: aclk 64 - const: aclk 65 - const: pclk 65 - const: pclk 66 - const: vclk 66 - const: vclk 67 - const: lpclk 67 - const: lpclk 68 68 69 resets: 69 resets: 70 items: 70 items: 71 - description: MIPI_DSI_CMN_RSTB 71 - description: MIPI_DSI_CMN_RSTB 72 - description: MIPI_DSI_ARESET_N 72 - description: MIPI_DSI_ARESET_N 73 - description: MIPI_DSI_PRESET_N 73 - description: MIPI_DSI_PRESET_N 74 74 75 reset-names: 75 reset-names: 76 items: 76 items: 77 - const: rst 77 - const: rst 78 - const: arst 78 - const: arst 79 - const: prst 79 - const: prst 80 80 81 power-domains: 81 power-domains: 82 maxItems: 1 82 maxItems: 1 83 83 84 ports: 84 ports: 85 $ref: /schemas/graph.yaml#/properties/port 85 $ref: /schemas/graph.yaml#/properties/ports 86 86 87 properties: 87 properties: 88 port@0: 88 port@0: 89 $ref: /schemas/graph.yaml#/properties/ 89 $ref: /schemas/graph.yaml#/properties/port 90 description: Parallel input port 90 description: Parallel input port 91 91 92 port@1: 92 port@1: 93 $ref: /schemas/graph.yaml#/$defs/port- 93 $ref: /schemas/graph.yaml#/$defs/port-base 94 unevaluatedProperties: false 94 unevaluatedProperties: false 95 description: DSI output port 95 description: DSI output port 96 96 97 properties: 97 properties: 98 endpoint: 98 endpoint: 99 $ref: /schemas/media/video-interfa 99 $ref: /schemas/media/video-interfaces.yaml# 100 unevaluatedProperties: false 100 unevaluatedProperties: false 101 101 102 properties: 102 properties: 103 data-lanes: 103 data-lanes: 104 description: array of physical 104 description: array of physical DSI data lane indexes. 105 minItems: 1 105 minItems: 1 106 items: 106 items: 107 - const: 1 107 - const: 1 108 - const: 2 108 - const: 2 109 - const: 3 109 - const: 3 110 - const: 4 110 - const: 4 111 111 112 required: 112 required: 113 - data-lanes 113 - data-lanes 114 114 115 required: 115 required: 116 - port@0 116 - port@0 117 - port@1 117 - port@1 118 118 119 required: 119 required: 120 - compatible 120 - compatible 121 - reg 121 - reg 122 - interrupts 122 - interrupts 123 - interrupt-names 123 - interrupt-names 124 - clocks 124 - clocks 125 - clock-names 125 - clock-names 126 - resets 126 - resets 127 - reset-names 127 - reset-names 128 - power-domains 128 - power-domains 129 - ports 129 - ports 130 130 131 additionalProperties: false 131 additionalProperties: false 132 132 133 examples: 133 examples: 134 - | 134 - | 135 #include <dt-bindings/clock/r9a07g044-cpg. 135 #include <dt-bindings/clock/r9a07g044-cpg.h> 136 #include <dt-bindings/interrupt-controller 136 #include <dt-bindings/interrupt-controller/arm-gic.h> 137 137 138 dsi0: dsi@10850000 { 138 dsi0: dsi@10850000 { 139 compatible = "renesas,r9a07g044-mipi-d 139 compatible = "renesas,r9a07g044-mipi-dsi", "renesas,rzg2l-mipi-dsi"; 140 reg = <0x10850000 0x20000>; 140 reg = <0x10850000 0x20000>; 141 interrupts = <GIC_SPI 142 IRQ_TYPE_LEV 141 interrupts = <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>, 142 <GIC_SPI 143 IRQ_TYPE_LEV 142 <GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>, 143 <GIC_SPI 144 IRQ_TYPE_LEV 143 <GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>, 144 <GIC_SPI 145 IRQ_TYPE_LEV 144 <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>, 145 <GIC_SPI 146 IRQ_TYPE_LEV 145 <GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH>, 146 <GIC_SPI 147 IRQ_TYPE_LEV 146 <GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH>, 147 <GIC_SPI 148 IRQ_TYPE_LEV 147 <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>; 148 interrupt-names = "seq0", "seq1", "vin 148 interrupt-names = "seq0", "seq1", "vin1", "rcv", 149 "ferr", "ppi", "debu 149 "ferr", "ppi", "debug"; 150 clocks = <&cpg CPG_MOD R9A07G044_MIPI_ 150 clocks = <&cpg CPG_MOD R9A07G044_MIPI_DSI_PLLCLK>, 151 <&cpg CPG_MOD R9A07G044_MIPI_ 151 <&cpg CPG_MOD R9A07G044_MIPI_DSI_SYSCLK>, 152 <&cpg CPG_MOD R9A07G044_MIPI_ 152 <&cpg CPG_MOD R9A07G044_MIPI_DSI_ACLK>, 153 <&cpg CPG_MOD R9A07G044_MIPI_ 153 <&cpg CPG_MOD R9A07G044_MIPI_DSI_PCLK>, 154 <&cpg CPG_MOD R9A07G044_MIPI_ 154 <&cpg CPG_MOD R9A07G044_MIPI_DSI_VCLK>, 155 <&cpg CPG_MOD R9A07G044_MIPI_ 155 <&cpg CPG_MOD R9A07G044_MIPI_DSI_LPCLK>; 156 clock-names = "pllclk", "sysclk", "acl 156 clock-names = "pllclk", "sysclk", "aclk", "pclk", "vclk", "lpclk"; 157 resets = <&cpg R9A07G044_MIPI_DSI_CMN_ 157 resets = <&cpg R9A07G044_MIPI_DSI_CMN_RSTB>, 158 <&cpg R9A07G044_MIPI_DSI_ARES 158 <&cpg R9A07G044_MIPI_DSI_ARESET_N>, 159 <&cpg R9A07G044_MIPI_DSI_PRES 159 <&cpg R9A07G044_MIPI_DSI_PRESET_N>; 160 reset-names = "rst", "arst", "prst"; 160 reset-names = "rst", "arst", "prst"; 161 power-domains = <&cpg>; 161 power-domains = <&cpg>; 162 162 163 ports { 163 ports { 164 #address-cells = <1>; 164 #address-cells = <1>; 165 #size-cells = <0>; 165 #size-cells = <0>; 166 166 167 port@0 { 167 port@0 { 168 reg = <0>; 168 reg = <0>; 169 dsi0_in: endpoint { 169 dsi0_in: endpoint { 170 remote-endpoint = <&du_out 170 remote-endpoint = <&du_out_dsi0>; 171 }; 171 }; 172 }; 172 }; 173 173 174 port@1 { 174 port@1 { 175 reg = <1>; 175 reg = <1>; 176 dsi0_out: endpoint { 176 dsi0_out: endpoint { 177 data-lanes = <1 2 3 4>; 177 data-lanes = <1 2 3 4>; 178 remote-endpoint = <&adv753 178 remote-endpoint = <&adv7535_in>; 179 }; 179 }; 180 }; 180 }; 181 }; 181 }; 182 }; 182 }; 183 ... 183 ...
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.