Tom Rini | 6b642ac | 2024-10-01 12:20:28 -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/ilitek,ili9806e.yaml# |
| 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 | |
| 7 | title: Ilitek ILI9806E based MIPI-DSI panels |
| 8 | |
| 9 | maintainers: |
| 10 | - Michael Walle <mwalle@kernel.org> |
| 11 | |
| 12 | allOf: |
| 13 | - $ref: panel-common.yaml# |
| 14 | |
| 15 | properties: |
| 16 | compatible: |
| 17 | items: |
| 18 | - enum: |
| 19 | - ortustech,com35h3p70ulc |
| 20 | - const: ilitek,ili9806e |
| 21 | |
| 22 | reg: |
| 23 | maxItems: 1 |
| 24 | |
| 25 | vdd-supply: true |
| 26 | vccio-supply: true |
| 27 | |
| 28 | required: |
| 29 | - compatible |
| 30 | - reg |
| 31 | - vdd-supply |
| 32 | - vccio-supply |
| 33 | - reset-gpios |
| 34 | - backlight |
| 35 | - port |
| 36 | |
| 37 | unevaluatedProperties: false |
| 38 | |
| 39 | examples: |
| 40 | - | |
| 41 | #include <dt-bindings/gpio/gpio.h> |
| 42 | |
| 43 | dsi { |
| 44 | #address-cells = <1>; |
| 45 | #size-cells = <0>; |
| 46 | |
| 47 | panel@0 { |
| 48 | compatible = "ortustech,com35h3p70ulc", "ilitek,ili9806e"; |
| 49 | reg = <0>; |
| 50 | vdd-supply = <®_vdd_panel>; |
| 51 | vccio-supply = <®_vccio_panel>; |
| 52 | reset-gpios = <&gpio3 6 GPIO_ACTIVE_LOW>; |
| 53 | backlight = <&backlight>; |
| 54 | |
| 55 | port { |
| 56 | panel_in: endpoint { |
| 57 | remote-endpoint = <&dsi_out>; |
| 58 | }; |
| 59 | }; |
| 60 | }; |
| 61 | }; |
| 62 | |
| 63 | ... |