Tom Rini | 6bb92fc | 2024-05-20 09:54:58 -0600 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause |
Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 2 | %YAML 1.2 |
| 3 | --- |
| 4 | $id: http://devicetree.org/schemas/display/panel/visionox,r66451.yaml# |
| 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 | |
| 7 | title: Visionox R66451 AMOLED DSI Panel |
| 8 | |
| 9 | maintainers: |
| 10 | - Jessica Zhang <quic_jesszhan@quicinc.com> |
| 11 | |
| 12 | allOf: |
| 13 | - $ref: panel-common.yaml# |
| 14 | |
| 15 | properties: |
| 16 | compatible: |
| 17 | const: visionox,r66451 |
| 18 | |
| 19 | reg: |
| 20 | maxItems: 1 |
| 21 | description: DSI virtual channel |
| 22 | |
| 23 | vddio-supply: true |
| 24 | vdd-supply: true |
| 25 | port: true |
| 26 | reset-gpios: true |
| 27 | |
| 28 | additionalProperties: false |
| 29 | |
| 30 | required: |
| 31 | - compatible |
| 32 | - reg |
| 33 | - vddio-supply |
| 34 | - vdd-supply |
| 35 | - reset-gpios |
| 36 | - port |
| 37 | |
| 38 | examples: |
| 39 | - | |
| 40 | #include <dt-bindings/gpio/gpio.h> |
| 41 | dsi { |
| 42 | #address-cells = <1>; |
| 43 | #size-cells = <0>; |
| 44 | panel@0 { |
| 45 | compatible = "visionox,r66451"; |
| 46 | reg = <0>; |
| 47 | vddio-supply = <&vreg_l12c_1p8>; |
| 48 | vdd-supply = <&vreg_l13c_3p0>; |
| 49 | |
| 50 | reset-gpios = <&tlmm 24 GPIO_ACTIVE_LOW>; |
| 51 | |
| 52 | port { |
| 53 | panel0_in: endpoint { |
| 54 | remote-endpoint = <&dsi0_out>; |
| 55 | }; |
| 56 | }; |
| 57 | }; |
| 58 | }; |
| 59 | ... |