16be33864SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 26be33864SEmmanuel Vadot%YAML 1.2 36be33864SEmmanuel Vadot--- 46be33864SEmmanuel Vadot$id: http://devicetree.org/schemas/display/bridge/toshiba,tc358775.yaml# 56be33864SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 66be33864SEmmanuel Vadot 7*8bab661aSEmmanuel Vadottitle: Toshiba TC358775 DSI to LVDS bridge 86be33864SEmmanuel Vadot 96be33864SEmmanuel Vadotmaintainers: 106be33864SEmmanuel Vadot - Vinay Simha BN <simhavcs@gmail.com> 116be33864SEmmanuel Vadot 126be33864SEmmanuel Vadotdescription: | 136be33864SEmmanuel Vadot This binding supports DSI to LVDS bridge TC358775 146be33864SEmmanuel Vadot 156be33864SEmmanuel Vadot MIPI DSI-RX Data 4-lane, CLK 1-lane with data rates up to 800 Mbps/lane. 166be33864SEmmanuel Vadot Video frame size: 176be33864SEmmanuel Vadot Up to 1600x1200 24-bit/pixel resolution for single-link LVDS display panel 186be33864SEmmanuel Vadot limited by 135 MHz LVDS speed 196be33864SEmmanuel Vadot Up to WUXGA (1920x1200 24-bit pixels) resolution for dual-link LVDS display 206be33864SEmmanuel Vadot panel, limited by 270 MHz LVDS speed. 216be33864SEmmanuel Vadot 226be33864SEmmanuel Vadotproperties: 236be33864SEmmanuel Vadot compatible: 246be33864SEmmanuel Vadot const: toshiba,tc358775 256be33864SEmmanuel Vadot 266be33864SEmmanuel Vadot reg: 276be33864SEmmanuel Vadot maxItems: 1 286be33864SEmmanuel Vadot description: i2c address of the bridge, 0x0f 296be33864SEmmanuel Vadot 306be33864SEmmanuel Vadot vdd-supply: 316be33864SEmmanuel Vadot description: 1.2V LVDS Power Supply 326be33864SEmmanuel Vadot 336be33864SEmmanuel Vadot vddio-supply: 346be33864SEmmanuel Vadot description: 1.8V IO Power Supply 356be33864SEmmanuel Vadot 366be33864SEmmanuel Vadot stby-gpios: 376be33864SEmmanuel Vadot maxItems: 1 386be33864SEmmanuel Vadot description: Standby pin, Low active 396be33864SEmmanuel Vadot 406be33864SEmmanuel Vadot reset-gpios: 416be33864SEmmanuel Vadot maxItems: 1 426be33864SEmmanuel Vadot description: Hardware reset, Low active 436be33864SEmmanuel Vadot 446be33864SEmmanuel Vadot ports: 455def4c47SEmmanuel Vadot $ref: /schemas/graph.yaml#/properties/ports 465def4c47SEmmanuel Vadot 476be33864SEmmanuel Vadot properties: 486be33864SEmmanuel Vadot port@0: 495def4c47SEmmanuel Vadot $ref: /schemas/graph.yaml#/properties/port 506be33864SEmmanuel Vadot description: | 516be33864SEmmanuel Vadot DSI Input. The remote endpoint phandle should be a 526be33864SEmmanuel Vadot reference to a valid mipi_dsi_host device node. 536be33864SEmmanuel Vadot 546be33864SEmmanuel Vadot port@1: 555def4c47SEmmanuel Vadot $ref: /schemas/graph.yaml#/properties/port 566be33864SEmmanuel Vadot description: | 576be33864SEmmanuel Vadot Video port for LVDS output (panel or connector). 586be33864SEmmanuel Vadot 596be33864SEmmanuel Vadot port@2: 605def4c47SEmmanuel Vadot $ref: /schemas/graph.yaml#/properties/port 616be33864SEmmanuel Vadot description: | 626be33864SEmmanuel Vadot Video port for Dual link LVDS output (panel or connector). 636be33864SEmmanuel Vadot 646be33864SEmmanuel Vadot required: 656be33864SEmmanuel Vadot - port@0 666be33864SEmmanuel Vadot - port@1 676be33864SEmmanuel Vadot 686be33864SEmmanuel Vadotrequired: 696be33864SEmmanuel Vadot - compatible 706be33864SEmmanuel Vadot - reg 716be33864SEmmanuel Vadot - vdd-supply 726be33864SEmmanuel Vadot - vddio-supply 736be33864SEmmanuel Vadot - stby-gpios 746be33864SEmmanuel Vadot - reset-gpios 756be33864SEmmanuel Vadot - ports 766be33864SEmmanuel Vadot 776be33864SEmmanuel VadotadditionalProperties: false 786be33864SEmmanuel Vadot 796be33864SEmmanuel Vadotexamples: 806be33864SEmmanuel Vadot - | 816be33864SEmmanuel Vadot #include <dt-bindings/gpio/gpio.h> 826be33864SEmmanuel Vadot 836be33864SEmmanuel Vadot /* For single-link LVDS display panel */ 846be33864SEmmanuel Vadot 856be33864SEmmanuel Vadot i2c@78b8000 { 866be33864SEmmanuel Vadot /* On High speed expansion */ 876be33864SEmmanuel Vadot label = "HS-I2C2"; 886be33864SEmmanuel Vadot reg = <0x078b8000 0x500>; 896be33864SEmmanuel Vadot clock-frequency = <400000>; /* fastmode operation */ 906be33864SEmmanuel Vadot #address-cells = <1>; 916be33864SEmmanuel Vadot #size-cells = <0>; 926be33864SEmmanuel Vadot 936be33864SEmmanuel Vadot tc_bridge: bridge@f { 946be33864SEmmanuel Vadot compatible = "toshiba,tc358775"; 956be33864SEmmanuel Vadot reg = <0x0f>; 966be33864SEmmanuel Vadot 976be33864SEmmanuel Vadot vdd-supply = <&pm8916_l2>; 986be33864SEmmanuel Vadot vddio-supply = <&pm8916_l6>; 996be33864SEmmanuel Vadot 1006be33864SEmmanuel Vadot stby-gpios = <&msmgpio 99 GPIO_ACTIVE_LOW>; 1016be33864SEmmanuel Vadot reset-gpios = <&msmgpio 72 GPIO_ACTIVE_LOW>; 1026be33864SEmmanuel Vadot 1036be33864SEmmanuel Vadot ports { 1046be33864SEmmanuel Vadot #address-cells = <1>; 1056be33864SEmmanuel Vadot #size-cells = <0>; 1066be33864SEmmanuel Vadot 1076be33864SEmmanuel Vadot port@0 { 1086be33864SEmmanuel Vadot reg = <0>; 1096be33864SEmmanuel Vadot d2l_in_test: endpoint { 1106be33864SEmmanuel Vadot remote-endpoint = <&dsi0_out>; 1116be33864SEmmanuel Vadot }; 1126be33864SEmmanuel Vadot }; 1136be33864SEmmanuel Vadot 1146be33864SEmmanuel Vadot port@1 { 1156be33864SEmmanuel Vadot reg = <1>; 1166be33864SEmmanuel Vadot lvds_out: endpoint { 1176be33864SEmmanuel Vadot remote-endpoint = <&panel_in>; 1186be33864SEmmanuel Vadot }; 1196be33864SEmmanuel Vadot }; 1206be33864SEmmanuel Vadot }; 1216be33864SEmmanuel Vadot }; 1226be33864SEmmanuel Vadot }; 1236be33864SEmmanuel Vadot 1246be33864SEmmanuel Vadot dsi@1a98000 { 1256be33864SEmmanuel Vadot reg = <0x1a98000 0x25c>; 1266be33864SEmmanuel Vadot reg-names = "dsi_ctrl"; 1276be33864SEmmanuel Vadot 1286be33864SEmmanuel Vadot ports { 1296be33864SEmmanuel Vadot #address-cells = <1>; 1306be33864SEmmanuel Vadot #size-cells = <0>; 1316be33864SEmmanuel Vadot port@1 { 1326be33864SEmmanuel Vadot reg = <1>; 1336be33864SEmmanuel Vadot dsi0_out: endpoint { 1346be33864SEmmanuel Vadot remote-endpoint = <&d2l_in_test>; 1356be33864SEmmanuel Vadot data-lanes = <0 1 2 3>; 1366be33864SEmmanuel Vadot }; 1376be33864SEmmanuel Vadot }; 1386be33864SEmmanuel Vadot }; 1396be33864SEmmanuel Vadot }; 1406be33864SEmmanuel Vadot 1416be33864SEmmanuel Vadot - | 1426be33864SEmmanuel Vadot /* For dual-link LVDS display panel */ 1436be33864SEmmanuel Vadot 1446be33864SEmmanuel Vadot i2c@78b8000 { 1456be33864SEmmanuel Vadot /* On High speed expansion */ 1466be33864SEmmanuel Vadot label = "HS-I2C2"; 1476be33864SEmmanuel Vadot reg = <0x078b8000 0x500>; 1486be33864SEmmanuel Vadot clock-frequency = <400000>; /* fastmode operation */ 1496be33864SEmmanuel Vadot #address-cells = <1>; 1506be33864SEmmanuel Vadot #size-cells = <0>; 1516be33864SEmmanuel Vadot 1526be33864SEmmanuel Vadot tc_bridge_dual: bridge@f { 1536be33864SEmmanuel Vadot compatible = "toshiba,tc358775"; 1546be33864SEmmanuel Vadot reg = <0x0f>; 1556be33864SEmmanuel Vadot 1566be33864SEmmanuel Vadot vdd-supply = <&pm8916_l2>; 1576be33864SEmmanuel Vadot vddio-supply = <&pm8916_l6>; 1586be33864SEmmanuel Vadot 1596be33864SEmmanuel Vadot stby-gpios = <&msmgpio 99 GPIO_ACTIVE_LOW>; 1606be33864SEmmanuel Vadot reset-gpios = <&msmgpio 72 GPIO_ACTIVE_LOW>; 1616be33864SEmmanuel Vadot 1626be33864SEmmanuel Vadot ports { 1636be33864SEmmanuel Vadot #address-cells = <1>; 1646be33864SEmmanuel Vadot #size-cells = <0>; 1656be33864SEmmanuel Vadot 1666be33864SEmmanuel Vadot port@0 { 1676be33864SEmmanuel Vadot reg = <0>; 1686be33864SEmmanuel Vadot d2l_in_dual: endpoint { 1696be33864SEmmanuel Vadot remote-endpoint = <&dsi0_out_dual>; 1706be33864SEmmanuel Vadot }; 1716be33864SEmmanuel Vadot }; 1726be33864SEmmanuel Vadot 1736be33864SEmmanuel Vadot port@1 { 1746be33864SEmmanuel Vadot reg = <1>; 1756be33864SEmmanuel Vadot lvds0_out: endpoint { 1766be33864SEmmanuel Vadot remote-endpoint = <&panel_in0>; 1776be33864SEmmanuel Vadot }; 1786be33864SEmmanuel Vadot }; 1796be33864SEmmanuel Vadot 1806be33864SEmmanuel Vadot port@2 { 1816be33864SEmmanuel Vadot reg = <2>; 1826be33864SEmmanuel Vadot lvds1_out: endpoint { 1836be33864SEmmanuel Vadot remote-endpoint = <&panel_in1>; 1846be33864SEmmanuel Vadot }; 1856be33864SEmmanuel Vadot }; 1866be33864SEmmanuel Vadot }; 1876be33864SEmmanuel Vadot }; 1886be33864SEmmanuel Vadot }; 1896be33864SEmmanuel Vadot 1906be33864SEmmanuel Vadot dsi@1a98000 { 1916be33864SEmmanuel Vadot reg = <0x1a98000 0x25c>; 1926be33864SEmmanuel Vadot reg-names = "dsi_ctrl"; 1936be33864SEmmanuel Vadot 1946be33864SEmmanuel Vadot ports { 1956be33864SEmmanuel Vadot #address-cells = <1>; 1966be33864SEmmanuel Vadot #size-cells = <0>; 1976be33864SEmmanuel Vadot port@1 { 1986be33864SEmmanuel Vadot reg = <1>; 1996be33864SEmmanuel Vadot dsi0_out_dual: endpoint { 2006be33864SEmmanuel Vadot remote-endpoint = <&d2l_in_dual>; 2016be33864SEmmanuel Vadot data-lanes = <0 1 2 3>; 2026be33864SEmmanuel Vadot }; 2036be33864SEmmanuel Vadot }; 2046be33864SEmmanuel Vadot }; 2056be33864SEmmanuel Vadot }; 2066be33864SEmmanuel Vadot... 207