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
7title: Feixin K101 IM2BA02 10.1" MIPI-DSI LCD panel
8
9maintainers:
10  - Icenowy Zheng <icenowy@aosc.io>
11
12allOf:
13  - $ref: panel-common.yaml#
14
15properties:
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
28required:
29  - compatible
30  - reg
31  - avdd-supply
32  - dvdd-supply
33  - cvdd-supply
34
35additionalProperties: false
36
37examples:
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 = <&reg_dc1sw>;
48            dvdd-supply = <&reg_dc1sw>;
49            cvdd-supply = <&reg_ldo_io1>;
50            reset-gpios = <&pio 3 24 GPIO_ACTIVE_HIGH>;
51            backlight = <&backlight>;
52        };
53    };
54
55...
56