summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/display/panel/boe,himax8279d.yaml
blob: 272a3a018a33a43cc85ffa3130823ac67b2a7583 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# SPDX-License-Identifier: GPL-2.0
%YAML 1.2
---
$id: http://devicetree.org/schemas/display/panel/boe,himax8279d.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Boe Himax8279d 1200x1920 TFT LCD panel

maintainers:
  - Jerry Han <jerry.han.hq@gmail.com>

allOf:
  - $ref: panel-common.yaml#

properties:
  compatible:
    items:
      - const: boe,himax8279d8p
      - const: boe,himax8279d10p

  backlight: true
  enable-gpios: true
  reg: true

  pp33-gpios:
    maxItems: 1
    description: GPIO for the 3.3v pin that provides the supply voltage

  pp18-gpios:
    maxItems: 1
    description: GPIO for the 1.8v pin that provides the supply voltage

required:
  - compatible
  - reg
  - enable-gpios
  - pp33-gpios
  - pp18-gpios

additionalProperties: false

examples:
  - |
    #include <dt-bindings/gpio/gpio.h>

    dsi {
        #address-cells = <1>;
        #size-cells = <0>;
        panel@0 {
            compatible = "boe,himax8279d8p", "boe,himax8279d10p";
            reg = <0>;
            backlight = <&backlight>;
            enable-gpios = <&gpio 45 GPIO_ACTIVE_HIGH>;
            pp33-gpios = <&gpio 35 GPIO_ACTIVE_HIGH>;
            pp18-gpios = <&gpio 36 GPIO_ACTIVE_HIGH>;
        };
    };

...