1c66ec88fSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2c66ec88fSEmmanuel Vadot%YAML 1.2 3c66ec88fSEmmanuel Vadot--- 4c66ec88fSEmmanuel Vadot$id: http://devicetree.org/schemas/display/bridge/toshiba,tc358768.yaml# 5c66ec88fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6c66ec88fSEmmanuel Vadot 7c66ec88fSEmmanuel Vadottitle: Toschiba TC358768/TC358778 Parallel RGB to MIPI DSI bridge 8c66ec88fSEmmanuel Vadot 9c66ec88fSEmmanuel Vadotmaintainers: 10c66ec88fSEmmanuel Vadot - Peter Ujfalusi <peter.ujfalusi@ti.com> 11c66ec88fSEmmanuel Vadot 12c66ec88fSEmmanuel Vadotdescription: | 13c66ec88fSEmmanuel Vadot The TC358768/TC358778 is bridge device which converts RGB to DSI. 14c66ec88fSEmmanuel Vadot 15c66ec88fSEmmanuel Vadotproperties: 16c66ec88fSEmmanuel Vadot compatible: 17c66ec88fSEmmanuel Vadot enum: 18c66ec88fSEmmanuel Vadot - toshiba,tc358768 19c66ec88fSEmmanuel Vadot - toshiba,tc358778 20c66ec88fSEmmanuel Vadot 21c66ec88fSEmmanuel Vadot reg: 22c66ec88fSEmmanuel Vadot maxItems: 1 23c66ec88fSEmmanuel Vadot description: base I2C address of the device 24c66ec88fSEmmanuel Vadot 25c66ec88fSEmmanuel Vadot reset-gpios: 26c66ec88fSEmmanuel Vadot maxItems: 1 27c66ec88fSEmmanuel Vadot description: GPIO connected to active low RESX pin 28c66ec88fSEmmanuel Vadot 29c66ec88fSEmmanuel Vadot vddc-supply: 30c66ec88fSEmmanuel Vadot description: Regulator for 1.2V internal core power. 31c66ec88fSEmmanuel Vadot 32c66ec88fSEmmanuel Vadot vddmipi-supply: 33c66ec88fSEmmanuel Vadot description: Regulator for 1.2V for the MIPI. 34c66ec88fSEmmanuel Vadot 35c66ec88fSEmmanuel Vadot vddio-supply: 36c66ec88fSEmmanuel Vadot description: Regulator for 1.8V - 3.3V IO power. 37c66ec88fSEmmanuel Vadot 38c66ec88fSEmmanuel Vadot clocks: 39c66ec88fSEmmanuel Vadot maxItems: 1 40c66ec88fSEmmanuel Vadot 41c66ec88fSEmmanuel Vadot clock-names: 42c66ec88fSEmmanuel Vadot const: refclk 43c66ec88fSEmmanuel Vadot 44c66ec88fSEmmanuel Vadot ports: 455def4c47SEmmanuel Vadot $ref: /schemas/graph.yaml#/properties/ports 46c66ec88fSEmmanuel Vadot 47c66ec88fSEmmanuel Vadot properties: 48c66ec88fSEmmanuel Vadot port@0: 495def4c47SEmmanuel Vadot $ref: /schemas/graph.yaml#/$defs/port-base 505def4c47SEmmanuel Vadot unevaluatedProperties: false 51c66ec88fSEmmanuel Vadot description: | 52c66ec88fSEmmanuel Vadot Video port for RGB input 53c66ec88fSEmmanuel Vadot 54c66ec88fSEmmanuel Vadot properties: 55c66ec88fSEmmanuel Vadot endpoint: 565def4c47SEmmanuel Vadot $ref: /schemas/graph.yaml#/$defs/endpoint-base 575def4c47SEmmanuel Vadot unevaluatedProperties: false 58c66ec88fSEmmanuel Vadot 59c66ec88fSEmmanuel Vadot properties: 60c66ec88fSEmmanuel Vadot data-lines: 61d5b0e70fSEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/uint32 62c66ec88fSEmmanuel Vadot enum: [ 16, 18, 24 ] 63c66ec88fSEmmanuel Vadot 64c66ec88fSEmmanuel Vadot port@1: 655def4c47SEmmanuel Vadot $ref: /schemas/graph.yaml#/properties/port 66c66ec88fSEmmanuel Vadot description: | 67c66ec88fSEmmanuel Vadot Video port for DSI output (panel or connector). 68c66ec88fSEmmanuel Vadot 69c66ec88fSEmmanuel Vadot required: 70c66ec88fSEmmanuel Vadot - port@0 71c66ec88fSEmmanuel Vadot - port@1 72c66ec88fSEmmanuel Vadot 73c66ec88fSEmmanuel Vadotrequired: 74c66ec88fSEmmanuel Vadot - compatible 75c66ec88fSEmmanuel Vadot - reg 76c66ec88fSEmmanuel Vadot - vddc-supply 77c66ec88fSEmmanuel Vadot - vddmipi-supply 78c66ec88fSEmmanuel Vadot - vddio-supply 79c66ec88fSEmmanuel Vadot - ports 80c66ec88fSEmmanuel Vadot 81c9ccf3a3SEmmanuel VadotallOf: 82c9ccf3a3SEmmanuel Vadot - $ref: ../dsi-controller.yaml# 83c9ccf3a3SEmmanuel Vadot 84c9ccf3a3SEmmanuel VadotunevaluatedProperties: false 85c66ec88fSEmmanuel Vadot 86c66ec88fSEmmanuel Vadotexamples: 87c66ec88fSEmmanuel Vadot - | 88c66ec88fSEmmanuel Vadot #include <dt-bindings/gpio/gpio.h> 89c66ec88fSEmmanuel Vadot 90*fac71e4eSEmmanuel Vadot i2c { 91c66ec88fSEmmanuel Vadot #address-cells = <1>; 92c66ec88fSEmmanuel Vadot #size-cells = <0>; 93c66ec88fSEmmanuel Vadot 94c9ccf3a3SEmmanuel Vadot dsi_bridge: dsi@e { 95c66ec88fSEmmanuel Vadot compatible = "toshiba,tc358768"; 96c66ec88fSEmmanuel Vadot reg = <0xe>; 97c66ec88fSEmmanuel Vadot 98c66ec88fSEmmanuel Vadot clocks = <&tc358768_refclk>; 99c66ec88fSEmmanuel Vadot clock-names = "refclk"; 100c66ec88fSEmmanuel Vadot 101c66ec88fSEmmanuel Vadot reset-gpios = <&pcf_display_board 0 GPIO_ACTIVE_LOW>; 102c66ec88fSEmmanuel Vadot 103c66ec88fSEmmanuel Vadot vddc-supply = <&v1_2d>; 104c66ec88fSEmmanuel Vadot vddmipi-supply = <&v1_2d>; 105c66ec88fSEmmanuel Vadot vddio-supply = <&v3_3d>; 106c66ec88fSEmmanuel Vadot 107c66ec88fSEmmanuel Vadot dsi_bridge_ports: ports { 108c66ec88fSEmmanuel Vadot #address-cells = <1>; 109c66ec88fSEmmanuel Vadot #size-cells = <0>; 110c66ec88fSEmmanuel Vadot 111c66ec88fSEmmanuel Vadot port@0 { 112c66ec88fSEmmanuel Vadot reg = <0>; 113c66ec88fSEmmanuel Vadot rgb_in: endpoint { 114c66ec88fSEmmanuel Vadot remote-endpoint = <&dpi_out>; 115c66ec88fSEmmanuel Vadot data-lines = <24>; 116c66ec88fSEmmanuel Vadot }; 117c66ec88fSEmmanuel Vadot }; 118c66ec88fSEmmanuel Vadot 119c66ec88fSEmmanuel Vadot port@1 { 120c66ec88fSEmmanuel Vadot reg = <1>; 121c66ec88fSEmmanuel Vadot dsi_out: endpoint { 122c66ec88fSEmmanuel Vadot remote-endpoint = <&lcd_in>; 123c66ec88fSEmmanuel Vadot }; 124c66ec88fSEmmanuel Vadot }; 125c66ec88fSEmmanuel Vadot }; 126c66ec88fSEmmanuel Vadot }; 127c66ec88fSEmmanuel Vadot }; 128