File Index
Files and directories
Sign in
FILE

toshiba,tc358768.yaml

File preview with syntax highlighting.

linux-6.19.14/Documentation/devicetree/bindings/display/bridge/toshiba,tc358768.yaml YAML
  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/toshiba,tc358768.yaml#
  5$schema: http://devicetree.org/meta-schemas/core.yaml#
  6
  7title: Toschiba TC358768/TC358778 Parallel RGB to MIPI DSI bridge
  8
  9maintainers:
 10  - Peter Ujfalusi <peter.ujfalusi@ti.com>
 11
 12description: |
 13  The TC358768/TC358778 is bridge device which converts RGB to DSI.
 14
 15properties:
 16  compatible:
 17    enum:
 18      - toshiba,tc358768
 19      - toshiba,tc358778
 20
 21  reg:
 22    maxItems: 1
 23    description: base I2C address of the device
 24
 25  reset-gpios:
 26    maxItems: 1
 27    description: GPIO connected to active low RESX pin
 28
 29  vddc-supply:
 30    description: Regulator for 1.2V internal core power.
 31
 32  vddmipi-supply:
 33    description: Regulator for 1.2V for the MIPI.
 34
 35  vddio-supply:
 36    description: Regulator for 1.8V - 3.3V IO power.
 37
 38  clocks:
 39    maxItems: 1
 40
 41  clock-names:
 42    const: refclk
 43
 44  ports:
 45    $ref: /schemas/graph.yaml#/properties/ports
 46
 47    properties:
 48      port@0:
 49        $ref: /schemas/graph.yaml#/$defs/port-base
 50        unevaluatedProperties: false
 51        description: |
 52          Video port for RGB input
 53
 54        properties:
 55          endpoint:
 56            $ref: /schemas/graph.yaml#/$defs/endpoint-base
 57            unevaluatedProperties: false
 58
 59            properties:
 60              data-lines:
 61                $ref: /schemas/types.yaml#/definitions/uint32
 62                enum: [ 16, 18, 24 ]
 63                deprecated: true
 64
 65              bus-width:
 66                enum: [ 16, 18, 24 ]
 67
 68      port@1:
 69        $ref: /schemas/graph.yaml#/properties/port
 70        description: |
 71          Video port for DSI output (panel or connector).
 72
 73    required:
 74      - port@0
 75      - port@1
 76
 77required:
 78  - compatible
 79  - reg
 80  - vddc-supply
 81  - vddmipi-supply
 82  - vddio-supply
 83  - ports
 84
 85allOf:
 86  - $ref: ../dsi-controller.yaml#
 87
 88unevaluatedProperties: false
 89
 90examples:
 91  - |
 92    #include <dt-bindings/gpio/gpio.h>
 93
 94    i2c {
 95      #address-cells = <1>;
 96      #size-cells = <0>;
 97
 98      dsi_bridge: dsi@e {
 99        compatible = "toshiba,tc358768";
100        reg = <0xe>;
101
102        clocks = <&tc358768_refclk>;
103        clock-names = "refclk";
104
105        reset-gpios = <&pcf_display_board 0 GPIO_ACTIVE_LOW>;
106
107        vddc-supply = <&v1_2d>;
108        vddmipi-supply = <&v1_2d>;
109        vddio-supply = <&v3_3d>;
110
111        dsi_bridge_ports: ports {
112          #address-cells = <1>;
113          #size-cells = <0>;
114
115          port@0 {
116            reg = <0>;
117            rgb_in: endpoint {
118              remote-endpoint = <&dpi_out>;
119              data-lines = <24>;
120            };
121          };
122
123          port@1 {
124            reg = <1>;
125            dsi_out: endpoint {
126              remote-endpoint = <&lcd_in>;
127            };
128          };
129        };
130      };
131    };
~/ Read-only file preview.