12eb4d8dcSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 22eb4d8dcSEmmanuel Vadot%YAML 1.2 32eb4d8dcSEmmanuel Vadot--- 42eb4d8dcSEmmanuel Vadot$id: http://devicetree.org/schemas/display/bridge/lontium,lt8912b.yaml# 52eb4d8dcSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 62eb4d8dcSEmmanuel Vadot 72eb4d8dcSEmmanuel Vadottitle: Lontium LT8912B MIPI to HDMI Bridge 82eb4d8dcSEmmanuel Vadot 92eb4d8dcSEmmanuel Vadotmaintainers: 102eb4d8dcSEmmanuel Vadot - Adrien Grassein <adrien.grassein@gmail.com> 112eb4d8dcSEmmanuel Vadot 122eb4d8dcSEmmanuel Vadotdescription: | 132eb4d8dcSEmmanuel Vadot The LT8912B is a bridge device which convert DSI to HDMI 142eb4d8dcSEmmanuel Vadot 152eb4d8dcSEmmanuel Vadotproperties: 162eb4d8dcSEmmanuel Vadot compatible: 172eb4d8dcSEmmanuel Vadot enum: 182eb4d8dcSEmmanuel Vadot - lontium,lt8912b 192eb4d8dcSEmmanuel Vadot 202eb4d8dcSEmmanuel Vadot reg: 212eb4d8dcSEmmanuel Vadot maxItems: 1 222eb4d8dcSEmmanuel Vadot 232eb4d8dcSEmmanuel Vadot reset-gpios: 242eb4d8dcSEmmanuel Vadot maxItems: 1 252eb4d8dcSEmmanuel Vadot description: GPIO connected to active high RESET pin. 262eb4d8dcSEmmanuel Vadot 272eb4d8dcSEmmanuel Vadot ports: 282eb4d8dcSEmmanuel Vadot $ref: /schemas/graph.yaml#/properties/ports 292eb4d8dcSEmmanuel Vadot 302eb4d8dcSEmmanuel Vadot properties: 312eb4d8dcSEmmanuel Vadot port@0: 325956d97fSEmmanuel Vadot $ref: /schemas/graph.yaml#/$defs/port-base 335956d97fSEmmanuel Vadot unevaluatedProperties: false 342eb4d8dcSEmmanuel Vadot description: 352eb4d8dcSEmmanuel Vadot Primary MIPI port for MIPI input 362eb4d8dcSEmmanuel Vadot 372eb4d8dcSEmmanuel Vadot properties: 382eb4d8dcSEmmanuel Vadot endpoint: 392eb4d8dcSEmmanuel Vadot $ref: /schemas/media/video-interfaces.yaml# 402eb4d8dcSEmmanuel Vadot unevaluatedProperties: false 412eb4d8dcSEmmanuel Vadot 422eb4d8dcSEmmanuel Vadot properties: 432eb4d8dcSEmmanuel Vadot data-lanes: true 442eb4d8dcSEmmanuel Vadot 452eb4d8dcSEmmanuel Vadot required: 462eb4d8dcSEmmanuel Vadot - data-lanes 472eb4d8dcSEmmanuel Vadot 482eb4d8dcSEmmanuel Vadot port@1: 492eb4d8dcSEmmanuel Vadot $ref: /schemas/graph.yaml#/properties/port 502eb4d8dcSEmmanuel Vadot description: | 512eb4d8dcSEmmanuel Vadot HDMI port, should be connected to a node compatible with the 522eb4d8dcSEmmanuel Vadot hdmi-connector binding. 532eb4d8dcSEmmanuel Vadot 542eb4d8dcSEmmanuel Vadot required: 552eb4d8dcSEmmanuel Vadot - port@0 562eb4d8dcSEmmanuel Vadot - port@1 572eb4d8dcSEmmanuel Vadot 58*8d13bc63SEmmanuel Vadot vcchdmipll-supply: 59*8d13bc63SEmmanuel Vadot description: A 1.8V supply that powers the HDMI PLL. 60*8d13bc63SEmmanuel Vadot 61*8d13bc63SEmmanuel Vadot vcchdmitx-supply: 62*8d13bc63SEmmanuel Vadot description: A 1.8V supply that powers the HDMI TX part. 63*8d13bc63SEmmanuel Vadot 64*8d13bc63SEmmanuel Vadot vcclvdspll-supply: 65*8d13bc63SEmmanuel Vadot description: A 1.8V supply that powers the LVDS PLL. 66*8d13bc63SEmmanuel Vadot 67*8d13bc63SEmmanuel Vadot vcclvdstx-supply: 68*8d13bc63SEmmanuel Vadot description: A 1.8V supply that powers the LVDS TX part. 69*8d13bc63SEmmanuel Vadot 70*8d13bc63SEmmanuel Vadot vccmipirx-supply: 71*8d13bc63SEmmanuel Vadot description: A 1.8V supply that powers the MIPI RX part. 72*8d13bc63SEmmanuel Vadot 73*8d13bc63SEmmanuel Vadot vccsysclk-supply: 74*8d13bc63SEmmanuel Vadot description: A 1.8V supply that powers the SYSCLK. 75*8d13bc63SEmmanuel Vadot 76*8d13bc63SEmmanuel Vadot vdd-supply: 77*8d13bc63SEmmanuel Vadot description: A 1.8V supply that powers the digital part. 78*8d13bc63SEmmanuel Vadot 792eb4d8dcSEmmanuel Vadotrequired: 802eb4d8dcSEmmanuel Vadot - compatible 812eb4d8dcSEmmanuel Vadot - reg 822eb4d8dcSEmmanuel Vadot - reset-gpios 832eb4d8dcSEmmanuel Vadot - ports 842eb4d8dcSEmmanuel Vadot 852eb4d8dcSEmmanuel VadotadditionalProperties: false 862eb4d8dcSEmmanuel Vadot 872eb4d8dcSEmmanuel Vadotexamples: 882eb4d8dcSEmmanuel Vadot - | 892eb4d8dcSEmmanuel Vadot #include <dt-bindings/gpio/gpio.h> 902eb4d8dcSEmmanuel Vadot 91fac71e4eSEmmanuel Vadot i2c { 922eb4d8dcSEmmanuel Vadot #address-cells = <1>; 932eb4d8dcSEmmanuel Vadot #size-cells = <0>; 942eb4d8dcSEmmanuel Vadot 952eb4d8dcSEmmanuel Vadot hdmi-bridge@48 { 962eb4d8dcSEmmanuel Vadot compatible = "lontium,lt8912b"; 972eb4d8dcSEmmanuel Vadot reg = <0x48>; 982eb4d8dcSEmmanuel Vadot reset-gpios = <&max7323 0 GPIO_ACTIVE_LOW>; 992eb4d8dcSEmmanuel Vadot 1002eb4d8dcSEmmanuel Vadot ports { 1012eb4d8dcSEmmanuel Vadot #address-cells = <1>; 1022eb4d8dcSEmmanuel Vadot #size-cells = <0>; 1032eb4d8dcSEmmanuel Vadot 1042eb4d8dcSEmmanuel Vadot port@0 { 1052eb4d8dcSEmmanuel Vadot reg = <0>; 1062eb4d8dcSEmmanuel Vadot 1072eb4d8dcSEmmanuel Vadot hdmi_out_in: endpoint { 1082eb4d8dcSEmmanuel Vadot data-lanes = <0 1 2 3>; 1092eb4d8dcSEmmanuel Vadot remote-endpoint = <&mipi_dsi_out>; 1102eb4d8dcSEmmanuel Vadot }; 1112eb4d8dcSEmmanuel Vadot }; 1122eb4d8dcSEmmanuel Vadot 1132eb4d8dcSEmmanuel Vadot port@1 { 1142eb4d8dcSEmmanuel Vadot reg = <1>; 1152eb4d8dcSEmmanuel Vadot 1162eb4d8dcSEmmanuel Vadot endpoint { 1172eb4d8dcSEmmanuel Vadot remote-endpoint = <&hdmi_in>; 1182eb4d8dcSEmmanuel Vadot }; 1192eb4d8dcSEmmanuel Vadot }; 1202eb4d8dcSEmmanuel Vadot }; 1212eb4d8dcSEmmanuel Vadot }; 1222eb4d8dcSEmmanuel Vadot }; 1232eb4d8dcSEmmanuel Vadot 1242eb4d8dcSEmmanuel Vadot... 125