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/panel/visionox,vtdr6130.yaml# |
| 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 | |
| 7 | title: Visionox VTDR6130 AMOLED DSI Panel |
| 8 | |
| 9 | maintainers: |
| 10 | - Neil Armstrong <neil.armstrong@linaro.org> |
| 11 | |
| 12 | allOf: |
| 13 | - $ref: panel-common.yaml# |
| 14 | |
| 15 | properties: |
| 16 | compatible: |
| 17 | const: visionox,vtdr6130 |
| 18 | |
| 19 | reg: |
| 20 | maxItems: 1 |
| 21 | description: DSI virtual channel |
| 22 | |
| 23 | vddio-supply: true |
| 24 | vci-supply: true |
| 25 | vdd-supply: true |
| 26 | port: true |
| 27 | reset-gpios: true |
| 28 | |
| 29 | additionalProperties: false |
| 30 | |
| 31 | required: |
| 32 | - compatible |
| 33 | - reg |
| 34 | - vddio-supply |
| 35 | - vci-supply |
| 36 | - vdd-supply |
| 37 | - reset-gpios |
| 38 | - port |
| 39 | |
| 40 | examples: |
| 41 | - | |
| 42 | #include <dt-bindings/gpio/gpio.h> |
| 43 | dsi { |
| 44 | #address-cells = <1>; |
| 45 | #size-cells = <0>; |
| 46 | panel@0 { |
| 47 | compatible = "visionox,vtdr6130"; |
| 48 | reg = <0>; |
| 49 | |
| 50 | vddio-supply = <&vreg_l12b_1p8>; |
| 51 | vci-supply = <&vreg_l13b_3p0>; |
| 52 | vdd-supply = <&vreg_l11b_1p2>; |
| 53 | |
| 54 | reset-gpios = <&tlmm 133 GPIO_ACTIVE_LOW>; |
| 55 | |
| 56 | port { |
| 57 | panel0_in: endpoint { |
| 58 | remote-endpoint = <&dsi0_out>; |
| 59 | }; |
| 60 | }; |
| 61 | }; |
| 62 | }; |
| 63 | ... |