128 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/toshiba,tc358768.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Toschiba TC358768/TC358778 Parallel RGB to MIPI DSI bridge8 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,tc35876819 - toshiba,tc35877820 21 reg:22 maxItems: 123 description: base I2C address of the device24 25 reset-gpios:26 maxItems: 127 description: GPIO connected to active low RESX pin28 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: 140 41 clock-names:42 const: refclk43 44 ports:45 $ref: /schemas/graph.yaml#/properties/ports46 47 properties:48 port@0:49 $ref: /schemas/graph.yaml#/$defs/port-base50 unevaluatedProperties: false51 description: |52 Video port for RGB input53 54 properties:55 endpoint:56 $ref: /schemas/graph.yaml#/$defs/endpoint-base57 unevaluatedProperties: false58 59 properties:60 data-lines:61 $ref: /schemas/types.yaml#/definitions/uint3262 enum: [ 16, 18, 24 ]63 64 port@1:65 $ref: /schemas/graph.yaml#/properties/port66 description: |67 Video port for DSI output (panel or connector).68 69 required:70 - port@071 - port@172 73required:74 - compatible75 - reg76 - vddc-supply77 - vddmipi-supply78 - vddio-supply79 - ports80 81allOf:82 - $ref: ../dsi-controller.yaml#83 84unevaluatedProperties: false85 86examples:87 - |88 #include <dt-bindings/gpio/gpio.h>89 90 i2c {91 #address-cells = <1>;92 #size-cells = <0>;93 94 dsi_bridge: dsi@e {95 compatible = "toshiba,tc358768";96 reg = <0xe>;97 98 clocks = <&tc358768_refclk>;99 clock-names = "refclk";100 101 reset-gpios = <&pcf_display_board 0 GPIO_ACTIVE_LOW>;102 103 vddc-supply = <&v1_2d>;104 vddmipi-supply = <&v1_2d>;105 vddio-supply = <&v3_3d>;106 107 dsi_bridge_ports: ports {108 #address-cells = <1>;109 #size-cells = <0>;110 111 port@0 {112 reg = <0>;113 rgb_in: endpoint {114 remote-endpoint = <&dpi_out>;115 data-lines = <24>;116 };117 };118 119 port@1 {120 reg = <1>;121 dsi_out: endpoint {122 remote-endpoint = <&lcd_in>;123 };124 };125 };126 };127 };128