xref: /freebsd/sys/contrib/device-tree/Bindings/display/panel/feixin,k101-im2ba02.yaml (revision 7d0873ebb83b19ba1e8a89e679470d885efe12e3)
1c66ec88fSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2c66ec88fSEmmanuel Vadot%YAML 1.2
3c66ec88fSEmmanuel Vadot---
4c66ec88fSEmmanuel Vadot$id: http://devicetree.org/schemas/display/panel/feixin,k101-im2ba02.yaml#
5c66ec88fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6c66ec88fSEmmanuel Vadot
7c66ec88fSEmmanuel Vadottitle: Feixin K101 IM2BA02 10.1" MIPI-DSI LCD panel
8c66ec88fSEmmanuel Vadot
9c66ec88fSEmmanuel Vadotmaintainers:
10c66ec88fSEmmanuel Vadot  - Icenowy Zheng <icenowy@aosc.io>
11c66ec88fSEmmanuel Vadot
12c66ec88fSEmmanuel VadotallOf:
13c66ec88fSEmmanuel Vadot  - $ref: panel-common.yaml#
14c66ec88fSEmmanuel Vadot
15c66ec88fSEmmanuel Vadotproperties:
16c66ec88fSEmmanuel Vadot  compatible:
17c66ec88fSEmmanuel Vadot    const: feixin,k101-im2ba02
18*7d0873ebSEmmanuel Vadot
19*7d0873ebSEmmanuel Vadot  reg:
20*7d0873ebSEmmanuel Vadot    maxItems: 1
21*7d0873ebSEmmanuel Vadot
22c66ec88fSEmmanuel Vadot  backlight: true
23c66ec88fSEmmanuel Vadot  reset-gpios: true
24c66ec88fSEmmanuel Vadot  avdd-supply:
25c66ec88fSEmmanuel Vadot    description: regulator that supplies the AVDD voltage
26c66ec88fSEmmanuel Vadot  dvdd-supply:
27c66ec88fSEmmanuel Vadot    description: regulator that supplies the DVDD voltage
28c66ec88fSEmmanuel Vadot  cvdd-supply:
29c66ec88fSEmmanuel Vadot    description: regulator that supplies the CVDD voltage
30c66ec88fSEmmanuel Vadot
31c66ec88fSEmmanuel Vadotrequired:
32c66ec88fSEmmanuel Vadot  - compatible
33c66ec88fSEmmanuel Vadot  - reg
34c66ec88fSEmmanuel Vadot  - avdd-supply
35c66ec88fSEmmanuel Vadot  - dvdd-supply
36c66ec88fSEmmanuel Vadot  - cvdd-supply
37c66ec88fSEmmanuel Vadot
38c66ec88fSEmmanuel VadotadditionalProperties: false
39c66ec88fSEmmanuel Vadot
40c66ec88fSEmmanuel Vadotexamples:
41c66ec88fSEmmanuel Vadot  - |
42c66ec88fSEmmanuel Vadot    #include <dt-bindings/gpio/gpio.h>
43c66ec88fSEmmanuel Vadot
44c66ec88fSEmmanuel Vadot    dsi {
45c66ec88fSEmmanuel Vadot        #address-cells = <1>;
46c66ec88fSEmmanuel Vadot        #size-cells = <0>;
47c66ec88fSEmmanuel Vadot        panel@0 {
48c66ec88fSEmmanuel Vadot            compatible = "feixin,k101-im2ba02";
49c66ec88fSEmmanuel Vadot            reg = <0>;
50c66ec88fSEmmanuel Vadot            avdd-supply = <&reg_dc1sw>;
51c66ec88fSEmmanuel Vadot            dvdd-supply = <&reg_dc1sw>;
52c66ec88fSEmmanuel Vadot            cvdd-supply = <&reg_ldo_io1>;
53c66ec88fSEmmanuel Vadot            reset-gpios = <&pio 3 24 GPIO_ACTIVE_HIGH>;
54c66ec88fSEmmanuel Vadot            backlight = <&backlight>;
55c66ec88fSEmmanuel Vadot        };
56c66ec88fSEmmanuel Vadot    };
57c66ec88fSEmmanuel Vadot
58c66ec88fSEmmanuel Vadot...
59