1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/display/bridge/chipone,icn6211.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: Chipone ICN6211 MIPI-DSI to RGB Converter bridge 8 9maintainers: 10 - Jagan Teki <jagan@amarulasolutions.com> 11 12description: | 13 ICN6211 is MIPI-DSI to RGB Converter bridge from chipone. 14 15 It has a flexible configuration of MIPI DSI signal input and 16 produce RGB565, RGB666, RGB888 output format. 17 18properties: 19 compatible: 20 enum: 21 - chipone,icn6211 22 23 reg: 24 maxItems: 1 25 description: virtual channel number of a DSI peripheral 26 27 enable-gpios: 28 description: Bridge EN pin, chip is reset when EN is low. 29 30 vdd1-supply: 31 description: A 1.8V/2.5V/3.3V supply that power the MIPI RX. 32 33 vdd2-supply: 34 description: A 1.8V/2.5V/3.3V supply that power the PLL. 35 36 vdd3-supply: 37 description: A 1.8V/2.5V/3.3V supply that power the RGB output. 38 39 ports: 40 $ref: /schemas/graph.yaml#/properties/ports 41 42 properties: 43 port@0: 44 $ref: /schemas/graph.yaml#/properties/port 45 description: 46 Video port for MIPI DSI input 47 48 port@1: 49 $ref: /schemas/graph.yaml#/properties/port 50 description: 51 Video port for MIPI DPI output (panel or connector). 52 53 required: 54 - port@0 55 - port@1 56 57required: 58 - compatible 59 - reg 60 - enable-gpios 61 - ports 62 63additionalProperties: false 64 65examples: 66 - | 67 #include <dt-bindings/gpio/gpio.h> 68 69 dsi { 70 #address-cells = <1>; 71 #size-cells = <0>; 72 73 bridge@0 { 74 compatible = "chipone,icn6211"; 75 reg = <0>; 76 enable-gpios = <&r_pio 0 5 GPIO_ACTIVE_HIGH>; /* LCD-RST: PL5 */ 77 78 ports { 79 #address-cells = <1>; 80 #size-cells = <0>; 81 82 port@0 { 83 reg = <0>; 84 85 bridge_in_dsi: endpoint { 86 remote-endpoint = <&dsi_out_bridge>; 87 }; 88 }; 89 90 port@1 { 91 reg = <1>; 92 93 bridge_out_panel: endpoint { 94 remote-endpoint = <&panel_out_bridge>; 95 }; 96 }; 97 }; 98 }; 99 }; 100