xref: /freebsd/sys/contrib/device-tree/Bindings/display/bridge/lontium,lt9611.yaml (revision 5def4c47d4bd90b209b9b4a4ba9faec15846d8fd)
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/lontium,lt9611.yaml#
56be33864SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
66be33864SEmmanuel Vadot
7*5def4c47SEmmanuel Vadottitle: Lontium LT9611(UXC) 2 Port MIPI to HDMI Bridge
86be33864SEmmanuel Vadot
96be33864SEmmanuel Vadotmaintainers:
106be33864SEmmanuel Vadot  - Vinod Koul <vkoul@kernel.org>
116be33864SEmmanuel Vadot
126be33864SEmmanuel Vadotdescription: |
13*5def4c47SEmmanuel Vadot  The LT9611 and LT9611UXC are bridge devices which convert DSI to HDMI
146be33864SEmmanuel Vadot
156be33864SEmmanuel Vadotproperties:
166be33864SEmmanuel Vadot  compatible:
176be33864SEmmanuel Vadot    enum:
186be33864SEmmanuel Vadot      - lontium,lt9611
19*5def4c47SEmmanuel Vadot      - lontium,lt9611uxc
206be33864SEmmanuel Vadot
216be33864SEmmanuel Vadot  reg:
226be33864SEmmanuel Vadot    maxItems: 1
236be33864SEmmanuel Vadot
246be33864SEmmanuel Vadot  "#sound-dai-cells":
256be33864SEmmanuel Vadot    const: 1
266be33864SEmmanuel Vadot
276be33864SEmmanuel Vadot  interrupts:
286be33864SEmmanuel Vadot    maxItems: 1
296be33864SEmmanuel Vadot
306be33864SEmmanuel Vadot  reset-gpios:
316be33864SEmmanuel Vadot    maxItems: 1
326be33864SEmmanuel Vadot    description: GPIO connected to active high RESET pin.
336be33864SEmmanuel Vadot
346be33864SEmmanuel Vadot  vdd-supply:
356be33864SEmmanuel Vadot    description: Regulator for 1.8V MIPI phy power.
366be33864SEmmanuel Vadot
376be33864SEmmanuel Vadot  vcc-supply:
386be33864SEmmanuel Vadot    description: Regulator for 3.3V IO power.
396be33864SEmmanuel Vadot
406be33864SEmmanuel Vadot  ports:
41*5def4c47SEmmanuel Vadot    $ref: /schemas/graph.yaml#/properties/ports
426be33864SEmmanuel Vadot
436be33864SEmmanuel Vadot    properties:
446be33864SEmmanuel Vadot      port@0:
45*5def4c47SEmmanuel Vadot        $ref: /schemas/graph.yaml#/properties/port
46*5def4c47SEmmanuel Vadot        description:
476be33864SEmmanuel Vadot          Primary MIPI port-1 for MIPI input
486be33864SEmmanuel Vadot
496be33864SEmmanuel Vadot      port@1:
50*5def4c47SEmmanuel Vadot        $ref: /schemas/graph.yaml#/properties/port
51*5def4c47SEmmanuel Vadot        description:
526be33864SEmmanuel Vadot          Additional MIPI port-2 for MIPI input, used in combination
536be33864SEmmanuel Vadot          with primary MIPI port-1 to drive higher resolution displays
546be33864SEmmanuel Vadot
556be33864SEmmanuel Vadot      port@2:
56*5def4c47SEmmanuel Vadot        $ref: /schemas/graph.yaml#/properties/port
57*5def4c47SEmmanuel Vadot        description:
586be33864SEmmanuel Vadot          HDMI port for HDMI output
596be33864SEmmanuel Vadot
606be33864SEmmanuel Vadot    required:
616be33864SEmmanuel Vadot      - port@0
626be33864SEmmanuel Vadot      - port@2
636be33864SEmmanuel Vadot
646be33864SEmmanuel Vadotrequired:
656be33864SEmmanuel Vadot  - compatible
666be33864SEmmanuel Vadot  - reg
676be33864SEmmanuel Vadot  - interrupts
686be33864SEmmanuel Vadot  - vdd-supply
696be33864SEmmanuel Vadot  - vcc-supply
706be33864SEmmanuel Vadot  - ports
716be33864SEmmanuel Vadot
726be33864SEmmanuel VadotadditionalProperties: false
736be33864SEmmanuel Vadot
746be33864SEmmanuel Vadotexamples:
756be33864SEmmanuel Vadot  - |
766be33864SEmmanuel Vadot    #include <dt-bindings/gpio/gpio.h>
776be33864SEmmanuel Vadot    #include <dt-bindings/interrupt-controller/irq.h>
786be33864SEmmanuel Vadot
796be33864SEmmanuel Vadot    i2c10 {
806be33864SEmmanuel Vadot      #address-cells = <1>;
816be33864SEmmanuel Vadot      #size-cells = <0>;
826be33864SEmmanuel Vadot
836be33864SEmmanuel Vadot      hdmi-bridge@3b {
846be33864SEmmanuel Vadot        compatible = "lontium,lt9611";
856be33864SEmmanuel Vadot        reg = <0x3b>;
866be33864SEmmanuel Vadot
876be33864SEmmanuel Vadot        reset-gpios = <&tlmm 128 GPIO_ACTIVE_HIGH>;
886be33864SEmmanuel Vadot        interrupts-extended = <&tlmm 84 IRQ_TYPE_EDGE_FALLING>;
896be33864SEmmanuel Vadot
906be33864SEmmanuel Vadot        vdd-supply = <&lt9611_1v8>;
916be33864SEmmanuel Vadot        vcc-supply = <&lt9611_3v3>;
926be33864SEmmanuel Vadot
936be33864SEmmanuel Vadot        ports {
946be33864SEmmanuel Vadot          #address-cells = <1>;
956be33864SEmmanuel Vadot          #size-cells = <0>;
966be33864SEmmanuel Vadot
976be33864SEmmanuel Vadot          port@0 {
986be33864SEmmanuel Vadot            reg = <0>;
996be33864SEmmanuel Vadot            lt9611_a: endpoint {
1006be33864SEmmanuel Vadot              remote-endpoint = <&dsi0_out>;
1016be33864SEmmanuel Vadot            };
1026be33864SEmmanuel Vadot          };
1036be33864SEmmanuel Vadot
1046be33864SEmmanuel Vadot          port@1 {
1056be33864SEmmanuel Vadot            reg = <1>;
1066be33864SEmmanuel Vadot            lt9611_b: endpoint {
1076be33864SEmmanuel Vadot              remote-endpoint = <&dsi1_out>;
1086be33864SEmmanuel Vadot            };
1096be33864SEmmanuel Vadot          };
1106be33864SEmmanuel Vadot
1116be33864SEmmanuel Vadot          port@2 {
1126be33864SEmmanuel Vadot            reg = <2>;
1136be33864SEmmanuel Vadot            lt9611_out: endpoint {
1146be33864SEmmanuel Vadot              remote-endpoint = <&hdmi_con>;
1156be33864SEmmanuel Vadot            };
1166be33864SEmmanuel Vadot          };
1176be33864SEmmanuel Vadot        };
1186be33864SEmmanuel Vadot      };
1196be33864SEmmanuel Vadot    };
1206be33864SEmmanuel Vadot
1216be33864SEmmanuel Vadot...
122