Tom Rini | 762f85b | 2024-07-20 11:15:10 -0600 | [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/raydium,rm69380.yaml# |
| 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 | |
| 7 | title: Raydium RM69380-based DSI display panels |
| 8 | |
| 9 | maintainers: |
| 10 | - David Wronek <david@mainlining.org> |
| 11 | |
| 12 | description: |
| 13 | The Raydium RM69380 is a generic DSI panel IC used to control |
| 14 | OLED panels. |
| 15 | |
| 16 | allOf: |
| 17 | - $ref: panel-common-dual.yaml# |
| 18 | |
| 19 | properties: |
| 20 | compatible: |
| 21 | items: |
| 22 | - enum: |
| 23 | - lenovo,j716f-edo-rm69380 |
| 24 | - const: raydium,rm69380 |
| 25 | description: This indicates the panel manufacturer of the panel |
| 26 | that is in turn using the RM69380 panel driver. The compatible |
| 27 | string determines how the RM69380 panel driver shall be configured |
| 28 | to work with the indicated panel. The raydium,rm69380 compatible shall |
| 29 | always be provided as a fallback. |
| 30 | |
| 31 | avdd-supply: |
| 32 | description: Analog voltage rail |
| 33 | |
| 34 | vddio-supply: |
| 35 | description: I/O voltage rail |
| 36 | |
| 37 | reset-gpios: |
| 38 | maxItems: 1 |
| 39 | description: phandle of gpio for reset line - This should be active low |
| 40 | |
| 41 | reg: true |
| 42 | |
| 43 | required: |
| 44 | - compatible |
| 45 | - reg |
| 46 | - avdd-supply |
| 47 | - vddio-supply |
| 48 | - reset-gpios |
| 49 | |
| 50 | unevaluatedProperties: false |
| 51 | |
| 52 | examples: |
| 53 | - | |
| 54 | #include <dt-bindings/gpio/gpio.h> |
| 55 | |
| 56 | dsi { |
| 57 | #address-cells = <1>; |
| 58 | #size-cells = <0>; |
| 59 | |
| 60 | panel@0 { |
| 61 | compatible = "lenovo,j716f-edo-rm69380", "raydium,rm69380"; |
| 62 | reg = <0>; |
| 63 | |
| 64 | avdd-supply = <&panel_avdd_regulator>; |
| 65 | vddio-supply = <&vreg_l14a>; |
| 66 | reset-gpios = <&tlmm 75 GPIO_ACTIVE_LOW>; |
| 67 | |
| 68 | ports { |
| 69 | #address-cells = <1>; |
| 70 | #size-cells = <0>; |
| 71 | |
| 72 | port@0 { |
| 73 | reg = <0>; |
| 74 | panel_in_0: endpoint { |
| 75 | remote-endpoint = <&mdss_dsi0_out>; |
| 76 | }; |
| 77 | }; |
| 78 | |
| 79 | port@1 { |
| 80 | reg = <1>; |
| 81 | panel_in_1: endpoint { |
| 82 | remote-endpoint = <&mdss_dsi1_out>; |
| 83 | }; |
| 84 | }; |
| 85 | }; |
| 86 | }; |
| 87 | }; |
| 88 | |
| 89 | ... |