Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0 |
| 2 | %YAML 1.2 |
| 3 | --- |
| 4 | $id: http://devicetree.org/schemas/display/panel/ilitek,ili9881c.yaml# |
| 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 | |
| 7 | title: Ilitek ILI9881c based MIPI-DSI panels |
| 8 | |
| 9 | maintainers: |
| 10 | - Maxime Ripard <mripard@kernel.org> |
| 11 | |
| 12 | allOf: |
| 13 | - $ref: panel-common.yaml# |
| 14 | |
| 15 | properties: |
| 16 | compatible: |
| 17 | items: |
| 18 | - enum: |
Tom Rini | 93743d2 | 2024-04-01 09:08:13 -0400 | [diff] [blame] | 19 | - ampire,am8001280g |
Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 20 | - bananapi,lhr050h41 |
| 21 | - feixin,k101-im2byl02 |
| 22 | - tdo,tl050hdv35 |
| 23 | - wanchanglong,w552946aba |
| 24 | - const: ilitek,ili9881c |
| 25 | |
| 26 | backlight: true |
| 27 | power-supply: true |
| 28 | reg: true |
| 29 | reset-gpios: true |
| 30 | rotation: true |
| 31 | |
| 32 | required: |
| 33 | - compatible |
| 34 | - power-supply |
| 35 | - reg |
| 36 | |
| 37 | additionalProperties: 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 = "bananapi,lhr050h41", "ilitek,ili9881c"; |
| 49 | reg = <0>; |
| 50 | power-supply = <®_display>; |
| 51 | reset-gpios = <&r_pio 0 5 GPIO_ACTIVE_LOW>; /* PL05 */ |
| 52 | backlight = <&pwm_bl>; |
| 53 | }; |
| 54 | }; |
| 55 | |
| 56 | ... |