| 
     1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
    2 %YAML 1.2
    3 ---
    4 $id: http://devicetree.org/schemas/display/bridge/lontium,lt8912b.yaml#
    5 $schema: http://devicetree.org/meta-schemas/core.yaml#
    6 
    7 title: Lontium LT8912B MIPI to HDMI Bridge
    8 
    9 maintainers:
   10   - Adrien Grassein <adrien.grassein@gmail.com>
   11 
   12 description: |
   13   The LT8912B is a bridge device which convert DSI to HDMI
   14 
   15 properties:
   16   compatible:
   17     enum:
   18       - lontium,lt8912b
   19 
   20   reg:
   21     maxItems: 1
   22 
   23   reset-gpios:
   24     maxItems: 1
   25     description: GPIO connected to active high RESET pin.
   26 
   27   ports:
   28     $ref: /schemas/graph.yaml#/properties/ports
   29 
   30     properties:
   31       port@0:
   32         $ref: /schemas/graph.yaml#/$defs/port-base
   33         unevaluatedProperties: false
   34         description:
   35           Primary MIPI port for MIPI input
   36 
   37         properties:
   38           endpoint:
   39             $ref: /schemas/media/video-interfaces.yaml#
   40             unevaluatedProperties: false
   41 
   42             properties:
   43               data-lanes: true
   44 
   45             required:
   46               - data-lanes
   47 
   48       port@1:
   49         $ref: /schemas/graph.yaml#/properties/port
   50         description: |
   51           HDMI port, should be connected to a node compatible with the
   52           hdmi-connector binding.
   53 
   54     required:
   55       - port@0
   56       - port@1
   57 
   58 required:
   59   - compatible
   60   - reg
   61   - reset-gpios
   62   - ports
   63 
   64 additionalProperties: false
   65 
   66 examples:
   67   - |
   68     #include <dt-bindings/gpio/gpio.h>
   69 
   70     i2c4 {
   71       #address-cells = <1>;
   72       #size-cells = <0>;
   73 
   74       hdmi-bridge@48 {
   75         compatible = "lontium,lt8912b";
   76         reg = <0x48>;
   77         reset-gpios = <&max7323 0 GPIO_ACTIVE_LOW>;
   78 
   79         ports {
   80           #address-cells = <1>;
   81           #size-cells = <0>;
   82 
   83           port@0 {
   84             reg = <0>;
   85 
   86             hdmi_out_in: endpoint {
   87               data-lanes = <0 1 2 3>;
   88               remote-endpoint = <&mipi_dsi_out>;
   89             };
   90           };
   91 
   92           port@1 {
   93               reg = <1>;
   94 
   95               endpoint {
   96                   remote-endpoint = <&hdmi_in>;
   97               };
   98           };
   99         };
  100       };
  101     };
  102 
  103 ...
Cache object: 5ae22fdfbdc81eccf6852657999cc9b4 
 
 |