dt-bindings: display: convert sharp,ls043t1le01 to DT Schema
[platform/kernel/linux-starfive.git] / Documentation / devicetree / bindings / display / panel / sharp,ls043t1le01.yaml
1 # SPDX-License-Identifier: GPL-2.0
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/display/panel/sharp,ls043t1le01.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Sharp Microelectronics 4.3" qHD TFT LCD panel
8
9 maintainers:
10   - Werner Johansson <werner.johansson@sonymobile.com>
11
12 allOf:
13   - $ref: panel-common.yaml#
14
15 properties:
16   compatible:
17     const: sharp,ls043t1le01-qhd
18
19   reg: true
20   backlight: true
21   reset-gpios: true
22   port: true
23
24   avdd-supply:
25     description: handle of the regulator that provides the supply voltage
26
27 required:
28   - compatible
29   - reg
30   - avdd-supply
31
32 additionalProperties: false
33
34 examples:
35   - |
36     #include <dt-bindings/gpio/gpio.h>
37
38     dsi {
39         #address-cells = <1>;
40         #size-cells = <0>;
41
42         panel@0 {
43             compatible = "sharp,ls043t1le01-qhd";
44             reg = <0>;
45             avdd-supply = <&pm8941_l22>;
46             backlight = <&pm8941_wled>;
47             reset-gpios = <&pm8941_gpios 19 GPIO_ACTIVE_HIGH>;
48         };
49     };
50
51 ...