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