xref: /linux/Documentation/devicetree/bindings/display/bridge/lontium,lt9611.yaml (revision d0034a7a4ac7fae708146ac0059b9c47a1543f0d)
18a72a2deSVinod Koul# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
28a72a2deSVinod Koul%YAML 1.2
38a72a2deSVinod Koul---
48a72a2deSVinod Koul$id: http://devicetree.org/schemas/display/bridge/lontium,lt9611.yaml#
58a72a2deSVinod Koul$schema: http://devicetree.org/meta-schemas/core.yaml#
68a72a2deSVinod Koul
725d7361fSDmitry Baryshkovtitle: Lontium LT9611(UXC) 2 Port MIPI to HDMI Bridge
88a72a2deSVinod Koul
98a72a2deSVinod Koulmaintainers:
108a72a2deSVinod Koul  - Vinod Koul <vkoul@kernel.org>
118a72a2deSVinod Koul
128a72a2deSVinod Kouldescription: |
1325d7361fSDmitry Baryshkov  The LT9611 and LT9611UXC are bridge devices which convert DSI to HDMI
148a72a2deSVinod Koul
158a72a2deSVinod Koulproperties:
168a72a2deSVinod Koul  compatible:
178a72a2deSVinod Koul    enum:
188a72a2deSVinod Koul      - lontium,lt9611
1925d7361fSDmitry Baryshkov      - lontium,lt9611uxc
208a72a2deSVinod Koul
218a72a2deSVinod Koul  reg:
228a72a2deSVinod Koul    maxItems: 1
238a72a2deSVinod Koul
248a72a2deSVinod Koul  "#sound-dai-cells":
258a72a2deSVinod Koul    const: 1
268a72a2deSVinod Koul
278a72a2deSVinod Koul  interrupts:
288a72a2deSVinod Koul    maxItems: 1
298a72a2deSVinod Koul
308a72a2deSVinod Koul  reset-gpios:
318a72a2deSVinod Koul    maxItems: 1
328a72a2deSVinod Koul    description: GPIO connected to active high RESET pin.
338a72a2deSVinod Koul
348a72a2deSVinod Koul  vdd-supply:
358a72a2deSVinod Koul    description: Regulator for 1.8V MIPI phy power.
368a72a2deSVinod Koul
378a72a2deSVinod Koul  vcc-supply:
388a72a2deSVinod Koul    description: Regulator for 3.3V IO power.
398a72a2deSVinod Koul
408a72a2deSVinod Koul  ports:
41*b6755423SRob Herring    $ref: /schemas/graph.yaml#/properties/ports
428a72a2deSVinod Koul
438a72a2deSVinod Koul    properties:
448a72a2deSVinod Koul      port@0:
45*b6755423SRob Herring        $ref: /schemas/graph.yaml#/properties/port
46*b6755423SRob Herring        description:
478a72a2deSVinod Koul          Primary MIPI port-1 for MIPI input
488a72a2deSVinod Koul
498a72a2deSVinod Koul      port@1:
50*b6755423SRob Herring        $ref: /schemas/graph.yaml#/properties/port
51*b6755423SRob Herring        description:
528a72a2deSVinod Koul          Additional MIPI port-2 for MIPI input, used in combination
538a72a2deSVinod Koul          with primary MIPI port-1 to drive higher resolution displays
548a72a2deSVinod Koul
558a72a2deSVinod Koul      port@2:
56*b6755423SRob Herring        $ref: /schemas/graph.yaml#/properties/port
57*b6755423SRob Herring        description:
588a72a2deSVinod Koul          HDMI port for HDMI output
598a72a2deSVinod Koul
608a72a2deSVinod Koul    required:
618a72a2deSVinod Koul      - port@0
628a72a2deSVinod Koul      - port@2
638a72a2deSVinod Koul
648a72a2deSVinod Koulrequired:
658a72a2deSVinod Koul  - compatible
668a72a2deSVinod Koul  - reg
678a72a2deSVinod Koul  - interrupts
688a72a2deSVinod Koul  - vdd-supply
698a72a2deSVinod Koul  - vcc-supply
708a72a2deSVinod Koul  - ports
718a72a2deSVinod Koul
728a72a2deSVinod KouladditionalProperties: false
738a72a2deSVinod Koul
748a72a2deSVinod Koulexamples:
758a72a2deSVinod Koul  - |
768a72a2deSVinod Koul    #include <dt-bindings/gpio/gpio.h>
778a72a2deSVinod Koul    #include <dt-bindings/interrupt-controller/irq.h>
788a72a2deSVinod Koul
798a72a2deSVinod Koul    i2c10 {
808a72a2deSVinod Koul      #address-cells = <1>;
818a72a2deSVinod Koul      #size-cells = <0>;
828a72a2deSVinod Koul
838a72a2deSVinod Koul      hdmi-bridge@3b {
848a72a2deSVinod Koul        compatible = "lontium,lt9611";
858a72a2deSVinod Koul        reg = <0x3b>;
868a72a2deSVinod Koul
878a72a2deSVinod Koul        reset-gpios = <&tlmm 128 GPIO_ACTIVE_HIGH>;
888a72a2deSVinod Koul        interrupts-extended = <&tlmm 84 IRQ_TYPE_EDGE_FALLING>;
898a72a2deSVinod Koul
908a72a2deSVinod Koul        vdd-supply = <&lt9611_1v8>;
918a72a2deSVinod Koul        vcc-supply = <&lt9611_3v3>;
928a72a2deSVinod Koul
938a72a2deSVinod Koul        ports {
948a72a2deSVinod Koul          #address-cells = <1>;
958a72a2deSVinod Koul          #size-cells = <0>;
968a72a2deSVinod Koul
978a72a2deSVinod Koul          port@0 {
988a72a2deSVinod Koul            reg = <0>;
998a72a2deSVinod Koul            lt9611_a: endpoint {
1008a72a2deSVinod Koul              remote-endpoint = <&dsi0_out>;
1018a72a2deSVinod Koul            };
1028a72a2deSVinod Koul          };
1038a72a2deSVinod Koul
1048a72a2deSVinod Koul          port@1 {
1058a72a2deSVinod Koul            reg = <1>;
1068a72a2deSVinod Koul            lt9611_b: endpoint {
1078a72a2deSVinod Koul              remote-endpoint = <&dsi1_out>;
1088a72a2deSVinod Koul            };
1098a72a2deSVinod Koul          };
1108a72a2deSVinod Koul
1118a72a2deSVinod Koul          port@2 {
1128a72a2deSVinod Koul            reg = <2>;
1138a72a2deSVinod Koul            lt9611_out: endpoint {
1148a72a2deSVinod Koul              remote-endpoint = <&hdmi_con>;
1158a72a2deSVinod Koul            };
1168a72a2deSVinod Koul          };
1178a72a2deSVinod Koul        };
1188a72a2deSVinod Koul      };
1198a72a2deSVinod Koul    };
1208a72a2deSVinod Koul
1218a72a2deSVinod Koul...
122