145c415f6SPeter Ujfalusi# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 245c415f6SPeter Ujfalusi%YAML 1.2 345c415f6SPeter Ujfalusi--- 445c415f6SPeter Ujfalusi$id: http://devicetree.org/schemas/display/bridge/toshiba,tc358768.yaml# 545c415f6SPeter Ujfalusi$schema: http://devicetree.org/meta-schemas/core.yaml# 645c415f6SPeter Ujfalusi 745c415f6SPeter Ujfalusititle: Toschiba TC358768/TC358778 Parallel RGB to MIPI DSI bridge 845c415f6SPeter Ujfalusi 945c415f6SPeter Ujfalusimaintainers: 1045c415f6SPeter Ujfalusi - Peter Ujfalusi <peter.ujfalusi@ti.com> 1145c415f6SPeter Ujfalusi 1245c415f6SPeter Ujfalusidescription: | 1345c415f6SPeter Ujfalusi The TC358768/TC358778 is bridge device which converts RGB to DSI. 1445c415f6SPeter Ujfalusi 1545c415f6SPeter Ujfalusiproperties: 1645c415f6SPeter Ujfalusi compatible: 1745c415f6SPeter Ujfalusi enum: 1845c415f6SPeter Ujfalusi - toshiba,tc358768 1945c415f6SPeter Ujfalusi - toshiba,tc358778 2045c415f6SPeter Ujfalusi 2145c415f6SPeter Ujfalusi reg: 2245c415f6SPeter Ujfalusi maxItems: 1 2345c415f6SPeter Ujfalusi description: base I2C address of the device 2445c415f6SPeter Ujfalusi 2545c415f6SPeter Ujfalusi reset-gpios: 2645c415f6SPeter Ujfalusi maxItems: 1 2745c415f6SPeter Ujfalusi description: GPIO connected to active low RESX pin 2845c415f6SPeter Ujfalusi 2945c415f6SPeter Ujfalusi vddc-supply: 3045c415f6SPeter Ujfalusi description: Regulator for 1.2V internal core power. 3145c415f6SPeter Ujfalusi 3245c415f6SPeter Ujfalusi vddmipi-supply: 3345c415f6SPeter Ujfalusi description: Regulator for 1.2V for the MIPI. 3445c415f6SPeter Ujfalusi 3545c415f6SPeter Ujfalusi vddio-supply: 3645c415f6SPeter Ujfalusi description: Regulator for 1.8V - 3.3V IO power. 3745c415f6SPeter Ujfalusi 3845c415f6SPeter Ujfalusi clocks: 3945c415f6SPeter Ujfalusi maxItems: 1 4045c415f6SPeter Ujfalusi 4145c415f6SPeter Ujfalusi clock-names: 4245c415f6SPeter Ujfalusi const: refclk 4345c415f6SPeter Ujfalusi 4445c415f6SPeter Ujfalusi ports: 4545c415f6SPeter Ujfalusi type: object 4645c415f6SPeter Ujfalusi 4745c415f6SPeter Ujfalusi properties: 4845c415f6SPeter Ujfalusi "#address-cells": 4945c415f6SPeter Ujfalusi const: 1 5045c415f6SPeter Ujfalusi 5145c415f6SPeter Ujfalusi "#size-cells": 5245c415f6SPeter Ujfalusi const: 0 5345c415f6SPeter Ujfalusi 5445c415f6SPeter Ujfalusi port@0: 5545c415f6SPeter Ujfalusi type: object 5645c415f6SPeter Ujfalusi additionalProperties: false 5745c415f6SPeter Ujfalusi 5845c415f6SPeter Ujfalusi description: | 5945c415f6SPeter Ujfalusi Video port for RGB input 6045c415f6SPeter Ujfalusi 6145c415f6SPeter Ujfalusi properties: 6245c415f6SPeter Ujfalusi reg: 6345c415f6SPeter Ujfalusi const: 0 6445c415f6SPeter Ujfalusi 6545c415f6SPeter Ujfalusi patternProperties: 6645c415f6SPeter Ujfalusi endpoint: 6745c415f6SPeter Ujfalusi type: object 6845c415f6SPeter Ujfalusi additionalProperties: false 6945c415f6SPeter Ujfalusi 7045c415f6SPeter Ujfalusi properties: 7145c415f6SPeter Ujfalusi data-lines: 7245c415f6SPeter Ujfalusi enum: [ 16, 18, 24 ] 7345c415f6SPeter Ujfalusi 7445c415f6SPeter Ujfalusi remote-endpoint: true 7545c415f6SPeter Ujfalusi 7645c415f6SPeter Ujfalusi required: 7745c415f6SPeter Ujfalusi - reg 7845c415f6SPeter Ujfalusi 7945c415f6SPeter Ujfalusi port@1: 8045c415f6SPeter Ujfalusi type: object 8145c415f6SPeter Ujfalusi additionalProperties: false 8245c415f6SPeter Ujfalusi 8345c415f6SPeter Ujfalusi description: | 8445c415f6SPeter Ujfalusi Video port for DSI output (panel or connector). 8545c415f6SPeter Ujfalusi 8645c415f6SPeter Ujfalusi properties: 8745c415f6SPeter Ujfalusi reg: 8845c415f6SPeter Ujfalusi const: 1 8945c415f6SPeter Ujfalusi 9045c415f6SPeter Ujfalusi patternProperties: 9145c415f6SPeter Ujfalusi endpoint: 9245c415f6SPeter Ujfalusi type: object 9345c415f6SPeter Ujfalusi additionalProperties: false 9445c415f6SPeter Ujfalusi 9545c415f6SPeter Ujfalusi properties: 9645c415f6SPeter Ujfalusi remote-endpoint: true 9745c415f6SPeter Ujfalusi 9845c415f6SPeter Ujfalusi required: 9945c415f6SPeter Ujfalusi - reg 10045c415f6SPeter Ujfalusi 10145c415f6SPeter Ujfalusi required: 10245c415f6SPeter Ujfalusi - "#address-cells" 10345c415f6SPeter Ujfalusi - "#size-cells" 10445c415f6SPeter Ujfalusi - port@0 10545c415f6SPeter Ujfalusi - port@1 10645c415f6SPeter Ujfalusi 10745c415f6SPeter Ujfalusirequired: 10845c415f6SPeter Ujfalusi - compatible 10945c415f6SPeter Ujfalusi - reg 11045c415f6SPeter Ujfalusi - vddc-supply 11145c415f6SPeter Ujfalusi - vddmipi-supply 11245c415f6SPeter Ujfalusi - vddio-supply 11345c415f6SPeter Ujfalusi - ports 11445c415f6SPeter Ujfalusi 11545c415f6SPeter UjfalusiadditionalProperties: false 11645c415f6SPeter Ujfalusi 11745c415f6SPeter Ujfalusiexamples: 11845c415f6SPeter Ujfalusi - | 11945c415f6SPeter Ujfalusi #include <dt-bindings/gpio/gpio.h> 12045c415f6SPeter Ujfalusi 12145c415f6SPeter Ujfalusi i2c1 { 12245c415f6SPeter Ujfalusi #address-cells = <1>; 12345c415f6SPeter Ujfalusi #size-cells = <0>; 12445c415f6SPeter Ujfalusi 12545c415f6SPeter Ujfalusi dsi_bridge: dsi-bridge@e { 12645c415f6SPeter Ujfalusi compatible = "toshiba,tc358768"; 12745c415f6SPeter Ujfalusi reg = <0xe>; 12845c415f6SPeter Ujfalusi 12945c415f6SPeter Ujfalusi clocks = <&tc358768_refclk>; 13045c415f6SPeter Ujfalusi clock-names = "refclk"; 13145c415f6SPeter Ujfalusi 13245c415f6SPeter Ujfalusi reset-gpios = <&pcf_display_board 0 GPIO_ACTIVE_LOW>; 13345c415f6SPeter Ujfalusi 13445c415f6SPeter Ujfalusi vddc-supply = <&v1_2d>; 13545c415f6SPeter Ujfalusi vddmipi-supply = <&v1_2d>; 13645c415f6SPeter Ujfalusi vddio-supply = <&v3_3d>; 13745c415f6SPeter Ujfalusi 13845c415f6SPeter Ujfalusi dsi_bridge_ports: ports { 13945c415f6SPeter Ujfalusi #address-cells = <1>; 14045c415f6SPeter Ujfalusi #size-cells = <0>; 14145c415f6SPeter Ujfalusi 14245c415f6SPeter Ujfalusi port@0 { 14345c415f6SPeter Ujfalusi reg = <0>; 14445c415f6SPeter Ujfalusi rgb_in: endpoint { 14545c415f6SPeter Ujfalusi remote-endpoint = <&dpi_out>; 14645c415f6SPeter Ujfalusi data-lines = <24>; 14745c415f6SPeter Ujfalusi }; 14845c415f6SPeter Ujfalusi }; 14945c415f6SPeter Ujfalusi 15045c415f6SPeter Ujfalusi port@1 { 15145c415f6SPeter Ujfalusi reg = <1>; 15245c415f6SPeter Ujfalusi dsi_out: endpoint { 15345c415f6SPeter Ujfalusi remote-endpoint = <&lcd_in>; 15445c415f6SPeter Ujfalusi }; 15545c415f6SPeter Ujfalusi }; 15645c415f6SPeter Ujfalusi }; 15745c415f6SPeter Ujfalusi }; 15845c415f6SPeter Ujfalusi }; 15945c415f6SPeter Ujfalusi 160