Documentation / devicetree / bindings / display / bridge / toshiba,tc358764.yaml


Based on kernel version 6.11. Page generated on 2024-09-24 08:21 EST.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/display/bridge/toshiba,tc358764.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Toshiba TC358764 MIPI-DSI to LVDS bridge

maintainers:
  - Andrzej Hajda <andrzej.hajda@intel.com>

properties:
  compatible:
    const: toshiba,tc358764

  reg:
    description: Virtual channel number of a DSI peripheral
    maxItems: 1

  reset-gpios:
    maxItems: 1

  vddc-supply:
    description: Core voltage supply, 1.2V

  vddio-supply:
    description: I/O voltage supply, 1.8V or 3.3V

  vddlvds-supply:
    description: LVDS1/2 voltage supply, 3.3V

  ports:
    $ref: /schemas/graph.yaml#/properties/ports

    properties:
      port@0:
        $ref: /schemas/graph.yaml#/properties/port
        description:
          Video port for MIPI DSI input, if the bridge DSI controlled

      port@1:
        $ref: /schemas/graph.yaml#/properties/port
        description:
          Video port for LVDS output (panel or connector).

    required:
      - port@1

required:
  - compatible
  - reg
  - reset-gpios
  - vddc-supply
  - vddio-supply
  - vddlvds-supply
  - ports

additionalProperties: false

examples:
  - |
    #include <dt-bindings/gpio/gpio.h>
 
    i2c {
        #address-cells = <1>;
        #size-cells = <0>;
 
        bridge@0 {
            compatible = "toshiba,tc358764";
            reg = <0>;
 
            reset-gpios = <&gpd1 6 GPIO_ACTIVE_LOW>;
            vddc-supply = <&vcc_1v2_reg>;
            vddio-supply = <&vcc_1v8_reg>;
            vddlvds-supply = <&vcc_3v3_reg>;
 
            ports {
                #address-cells = <1>;
                #size-cells = <0>;
 
                port@1 {
                    reg = <1>;
                    lvds_ep: endpoint {
                      remote-endpoint = <&panel_ep>;
                    };
                };
            };
        };
    };