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/boe,th101mb31ig002-28a.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: BOE TH101MB31IG002-28A WXGA DSI Display Panel
8
9maintainers:
10  - Manuel Traut <manut@mecka.net>
11
12allOf:
13  - $ref: panel-common.yaml#
14
15properties:
16  compatible:
17    enum:
18        # BOE TH101MB31IG002-28A 10.1" WXGA TFT LCD panel
19      - boe,th101mb31ig002-28a
20
21  reg:
22    maxItems: 1
23
24  backlight: true
25  enable-gpios: true
26  power-supply: true
27  port: true
28  rotation: true
29
30required:
31  - compatible
32  - reg
33  - enable-gpios
34  - power-supply
35
36additionalProperties: false
37
38examples:
39  - |
40    #include <dt-bindings/gpio/gpio.h>
41
42    dsi {
43        #address-cells = <1>;
44        #size-cells = <0>;
45        panel@0 {
46            compatible = "boe,th101mb31ig002-28a";
47            reg = <0>;
48            backlight = <&backlight_lcd0>;
49            enable-gpios = <&gpio 45 GPIO_ACTIVE_HIGH>;
50            rotation = <90>;
51            power-supply = <&vcc_3v3>;
52            port {
53                panel_in_dsi: endpoint {
54                    remote-endpoint = <&dsi_out_con>;
55                };
56            };
57        };
58    };
59
60...
61