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: true
22  backlight: true
23  enable-gpios: true
24  power-supply: true
25  port: true
26  rotation: true
27
28required:
29  - compatible
30  - reg
31  - enable-gpios
32  - power-supply
33
34additionalProperties: false
35
36examples:
37  - |
38    #include <dt-bindings/gpio/gpio.h>
39
40    dsi {
41        #address-cells = <1>;
42        #size-cells = <0>;
43        panel@0 {
44            compatible = "boe,th101mb31ig002-28a";
45            reg = <0>;
46            backlight = <&backlight_lcd0>;
47            enable-gpios = <&gpio 45 GPIO_ACTIVE_HIGH>;
48            rotation = <90>;
49            power-supply = <&vcc_3v3>;
50            port {
51                panel_in_dsi: endpoint {
52                    remote-endpoint = <&dsi_out_con>;
53                };
54            };
55        };
56    };
57
58...
59