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/feixin,k101-im2ba02.yaml# |
| 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 | |
| 7 | title: Feixin K101 IM2BA02 10.1" MIPI-DSI LCD panel |
| 8 | |
| 9 | maintainers: |
| 10 | - Icenowy Zheng <icenowy@aosc.io> |
| 11 | |
| 12 | allOf: |
| 13 | - $ref: panel-common.yaml# |
| 14 | |
| 15 | properties: |
| 16 | compatible: |
| 17 | const: feixin,k101-im2ba02 |
| 18 | reg: true |
| 19 | backlight: true |
| 20 | reset-gpios: true |
| 21 | avdd-supply: |
| 22 | description: regulator that supplies the AVDD voltage |
| 23 | dvdd-supply: |
| 24 | description: regulator that supplies the DVDD voltage |
| 25 | cvdd-supply: |
| 26 | description: regulator that supplies the CVDD voltage |
| 27 | |
| 28 | required: |
| 29 | - compatible |
| 30 | - reg |
| 31 | - avdd-supply |
| 32 | - dvdd-supply |
| 33 | - cvdd-supply |
| 34 | |
| 35 | additionalProperties: false |
| 36 | |
| 37 | examples: |
| 38 | - | |
| 39 | #include <dt-bindings/gpio/gpio.h> |
| 40 | |
| 41 | dsi { |
| 42 | #address-cells = <1>; |
| 43 | #size-cells = <0>; |
| 44 | panel@0 { |
| 45 | compatible = "feixin,k101-im2ba02"; |
| 46 | reg = <0>; |
| 47 | avdd-supply = <®_dc1sw>; |
| 48 | dvdd-supply = <®_dc1sw>; |
| 49 | cvdd-supply = <®_ldo_io1>; |
| 50 | reset-gpios = <&pio 3 24 GPIO_ACTIVE_HIGH>; |
| 51 | backlight = <&backlight>; |
| 52 | }; |
| 53 | }; |
| 54 | |
| 55 | ... |