xref: /freebsd/sys/contrib/device-tree/Bindings/display/panel/boe,himax8279d.yaml (revision 7d0873ebb83b19ba1e8a89e679470d885efe12e3)
1c66ec88fSEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0
2c66ec88fSEmmanuel Vadot%YAML 1.2
3c66ec88fSEmmanuel Vadot---
4c66ec88fSEmmanuel Vadot$id: http://devicetree.org/schemas/display/panel/boe,himax8279d.yaml#
5c66ec88fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6c66ec88fSEmmanuel Vadot
7c66ec88fSEmmanuel Vadottitle: Boe Himax8279d 1200x1920 TFT LCD panel
8c66ec88fSEmmanuel Vadot
9c66ec88fSEmmanuel Vadotmaintainers:
10c66ec88fSEmmanuel Vadot  - Jerry Han <jerry.han.hq@gmail.com>
11c66ec88fSEmmanuel Vadot
12c66ec88fSEmmanuel VadotallOf:
13c66ec88fSEmmanuel Vadot  - $ref: panel-common.yaml#
14c66ec88fSEmmanuel Vadot
15c66ec88fSEmmanuel Vadotproperties:
16c66ec88fSEmmanuel Vadot  compatible:
17c66ec88fSEmmanuel Vadot    items:
18c66ec88fSEmmanuel Vadot      - const: boe,himax8279d8p
19c66ec88fSEmmanuel Vadot      - const: boe,himax8279d10p
20c66ec88fSEmmanuel Vadot
21*7d0873ebSEmmanuel Vadot  reg:
22*7d0873ebSEmmanuel Vadot    maxItems: 1
23*7d0873ebSEmmanuel Vadot
24c66ec88fSEmmanuel Vadot  backlight: true
25c66ec88fSEmmanuel Vadot  enable-gpios: true
26c66ec88fSEmmanuel Vadot
27c66ec88fSEmmanuel Vadot  pp33-gpios:
28c66ec88fSEmmanuel Vadot    maxItems: 1
29c66ec88fSEmmanuel Vadot    description: GPIO for the 3.3v pin that provides the supply voltage
30c66ec88fSEmmanuel Vadot
31c66ec88fSEmmanuel Vadot  pp18-gpios:
32c66ec88fSEmmanuel Vadot    maxItems: 1
33c66ec88fSEmmanuel Vadot    description: GPIO for the 1.8v pin that provides the supply voltage
34c66ec88fSEmmanuel Vadot
35c66ec88fSEmmanuel Vadotrequired:
36c66ec88fSEmmanuel Vadot  - compatible
37c66ec88fSEmmanuel Vadot  - reg
38c66ec88fSEmmanuel Vadot  - enable-gpios
39c66ec88fSEmmanuel Vadot  - pp33-gpios
40c66ec88fSEmmanuel Vadot  - pp18-gpios
41c66ec88fSEmmanuel Vadot
42c66ec88fSEmmanuel VadotadditionalProperties: false
43c66ec88fSEmmanuel Vadot
44c66ec88fSEmmanuel Vadotexamples:
45c66ec88fSEmmanuel Vadot  - |
46c66ec88fSEmmanuel Vadot    #include <dt-bindings/gpio/gpio.h>
47c66ec88fSEmmanuel Vadot
48c66ec88fSEmmanuel Vadot    dsi {
49c66ec88fSEmmanuel Vadot        #address-cells = <1>;
50c66ec88fSEmmanuel Vadot        #size-cells = <0>;
51c66ec88fSEmmanuel Vadot        panel@0 {
52c66ec88fSEmmanuel Vadot            compatible = "boe,himax8279d8p", "boe,himax8279d10p";
53c66ec88fSEmmanuel Vadot            reg = <0>;
54c66ec88fSEmmanuel Vadot            backlight = <&backlight>;
55c66ec88fSEmmanuel Vadot            enable-gpios = <&gpio 45 GPIO_ACTIVE_HIGH>;
56c66ec88fSEmmanuel Vadot            pp33-gpios = <&gpio 35 GPIO_ACTIVE_HIGH>;
57c66ec88fSEmmanuel Vadot            pp18-gpios = <&gpio 36 GPIO_ACTIVE_HIGH>;
58c66ec88fSEmmanuel Vadot        };
59c66ec88fSEmmanuel Vadot    };
60c66ec88fSEmmanuel Vadot
61c66ec88fSEmmanuel Vadot...
62