125 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/display/bridge/lontium,lt8912b.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Lontium LT8912B MIPI to HDMI Bridge8 9maintainers:10 - Adrien Grassein <adrien.grassein@gmail.com>11 12description: |13 The LT8912B is a bridge device which convert DSI to HDMI14 15properties:16 compatible:17 enum:18 - lontium,lt8912b19 20 reg:21 maxItems: 122 23 reset-gpios:24 maxItems: 125 description: GPIO connected to active high RESET pin.26 27 ports:28 $ref: /schemas/graph.yaml#/properties/ports29 30 properties:31 port@0:32 $ref: /schemas/graph.yaml#/$defs/port-base33 unevaluatedProperties: false34 description:35 Primary MIPI port for MIPI input36 37 properties:38 endpoint:39 $ref: /schemas/media/video-interfaces.yaml#40 unevaluatedProperties: false41 42 properties:43 data-lanes: true44 45 required:46 - data-lanes47 48 port@1:49 $ref: /schemas/graph.yaml#/properties/port50 description: |51 HDMI port, should be connected to a node compatible with the52 hdmi-connector binding.53 54 required:55 - port@056 - port@157 58 vcchdmipll-supply:59 description: A 1.8V supply that powers the HDMI PLL.60 61 vcchdmitx-supply:62 description: A 1.8V supply that powers the HDMI TX part.63 64 vcclvdspll-supply:65 description: A 1.8V supply that powers the LVDS PLL.66 67 vcclvdstx-supply:68 description: A 1.8V supply that powers the LVDS TX part.69 70 vccmipirx-supply:71 description: A 1.8V supply that powers the MIPI RX part.72 73 vccsysclk-supply:74 description: A 1.8V supply that powers the SYSCLK.75 76 vdd-supply:77 description: A 1.8V supply that powers the digital part.78 79required:80 - compatible81 - reg82 - reset-gpios83 - ports84 85additionalProperties: false86 87examples:88 - |89 #include <dt-bindings/gpio/gpio.h>90 91 i2c {92 #address-cells = <1>;93 #size-cells = <0>;94 95 hdmi-bridge@48 {96 compatible = "lontium,lt8912b";97 reg = <0x48>;98 reset-gpios = <&max7323 0 GPIO_ACTIVE_LOW>;99 100 ports {101 #address-cells = <1>;102 #size-cells = <0>;103 104 port@0 {105 reg = <0>;106 107 hdmi_out_in: endpoint {108 data-lanes = <0 1 2 3>;109 remote-endpoint = <&mipi_dsi_out>;110 };111 };112 113 port@1 {114 reg = <1>;115 116 endpoint {117 remote-endpoint = <&hdmi_in>;118 };119 };120 };121 };122 };123 124...125