0001 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/display/panel/feixin,k101-im2ba02.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006
0007 title: Feixin K101 IM2BA02 10.1" MIPI-DSI LCD panel
0008
0009 maintainers:
0010 - Icenowy Zheng <icenowy@aosc.io>
0011
0012 allOf:
0013 - $ref: panel-common.yaml#
0014
0015 properties:
0016 compatible:
0017 const: feixin,k101-im2ba02
0018 reg: true
0019 backlight: true
0020 reset-gpios: true
0021 avdd-supply:
0022 description: regulator that supplies the AVDD voltage
0023 dvdd-supply:
0024 description: regulator that supplies the DVDD voltage
0025 cvdd-supply:
0026 description: regulator that supplies the CVDD voltage
0027
0028 required:
0029 - compatible
0030 - reg
0031 - avdd-supply
0032 - dvdd-supply
0033 - cvdd-supply
0034
0035 additionalProperties: false
0036
0037 examples:
0038 - |
0039 #include <dt-bindings/gpio/gpio.h>
0040
0041 dsi {
0042 #address-cells = <1>;
0043 #size-cells = <0>;
0044 panel@0 {
0045 compatible = "feixin,k101-im2ba02";
0046 reg = <0>;
0047 avdd-supply = <®_dc1sw>;
0048 dvdd-supply = <®_dc1sw>;
0049 cvdd-supply = <®_ldo_io1>;
0050 reset-gpios = <&pio 3 24 GPIO_ACTIVE_HIGH>;
0051 backlight = <&backlight>;
0052 };
0053 };
0054
0055 ...