Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 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,tc358764.yaml# |
| 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 | |
| 7 | title: Toshiba TC358764 MIPI-DSI to LVDS bridge |
| 8 | |
| 9 | maintainers: |
| 10 | - Andrzej Hajda <andrzej.hajda@intel.com> |
| 11 | |
| 12 | properties: |
| 13 | compatible: |
| 14 | const: toshiba,tc358764 |
| 15 | |
| 16 | reg: |
| 17 | description: Virtual channel number of a DSI peripheral |
| 18 | maxItems: 1 |
| 19 | |
| 20 | reset-gpios: |
| 21 | maxItems: 1 |
| 22 | |
| 23 | vddc-supply: |
| 24 | description: Core voltage supply, 1.2V |
| 25 | |
| 26 | vddio-supply: |
| 27 | description: I/O voltage supply, 1.8V or 3.3V |
| 28 | |
| 29 | vddlvds-supply: |
| 30 | description: LVDS1/2 voltage supply, 3.3V |
| 31 | |
| 32 | ports: |
| 33 | $ref: /schemas/graph.yaml#/properties/ports |
| 34 | |
| 35 | properties: |
| 36 | port@0: |
| 37 | $ref: /schemas/graph.yaml#/properties/port |
| 38 | description: |
| 39 | Video port for MIPI DSI input, if the bridge DSI controlled |
| 40 | |
| 41 | port@1: |
| 42 | $ref: /schemas/graph.yaml#/properties/port |
| 43 | description: |
| 44 | Video port for LVDS output (panel or connector). |
| 45 | |
| 46 | required: |
| 47 | - port@1 |
| 48 | |
| 49 | required: |
| 50 | - compatible |
| 51 | - reg |
| 52 | - reset-gpios |
| 53 | - vddc-supply |
| 54 | - vddio-supply |
| 55 | - vddlvds-supply |
| 56 | - ports |
| 57 | |
| 58 | additionalProperties: false |
| 59 | |
| 60 | examples: |
| 61 | - | |
| 62 | #include <dt-bindings/gpio/gpio.h> |
| 63 | |
| 64 | i2c { |
| 65 | #address-cells = <1>; |
| 66 | #size-cells = <0>; |
| 67 | |
| 68 | bridge@0 { |
| 69 | compatible = "toshiba,tc358764"; |
| 70 | reg = <0>; |
| 71 | |
| 72 | reset-gpios = <&gpd1 6 GPIO_ACTIVE_LOW>; |
| 73 | vddc-supply = <&vcc_1v2_reg>; |
| 74 | vddio-supply = <&vcc_1v8_reg>; |
| 75 | vddlvds-supply = <&vcc_3v3_reg>; |
| 76 | |
| 77 | ports { |
| 78 | #address-cells = <1>; |
| 79 | #size-cells = <0>; |
| 80 | |
| 81 | port@1 { |
| 82 | reg = <1>; |
| 83 | lvds_ep: endpoint { |
| 84 | remote-endpoint = <&panel_ep>; |
| 85 | }; |
| 86 | }; |
| 87 | }; |
| 88 | }; |
| 89 | }; |