WIP FPC-III support
[linux/fpc-iii.git] / Documentation / devicetree / bindings / display / panel / samsung,amoled-mipi-dsi.yaml
blobccc482570d6a39ad5fd7208b54bab22184e540c2
1 # SPDX-License-Identifier: GPL-2.0
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/display/panel/samsung,amoled-mipi-dsi.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Samsung AMOLED MIPI-DSI panels
9 maintainers:
10   - Hoegeun Kwon <hoegeun.kwon@samsung.com>
12 allOf:
13   - $ref: panel-common.yaml#
15   - if:
16       properties:
17         compatible:
18           contains:
19             enum:
20               - samsung,s6e3ha2
21               - samsung,s6e3hf2
22     then:
23       required:
24         - enable-gpios
26 properties:
27   compatible:
28     enum:
29         # Samsung S6E63J0X03 1.63" 320x320 AMOLED panel
30       - samsung,s6e63j0x03
31         # Samsung S6E3HA2 5.7" 1440x2560 AMOLED panel
32       - samsung,s6e3ha2
33         # Samsung S6E3HF2 5.65" 1600x2560 AMOLED panel
34       - samsung,s6e3hf2
36   reg: true
37   reset-gpios: true
38   enable-gpios: true
39   te-gpios: true
41   vdd3-supply:
42     description: I/O voltage supply
44   vci-supply:
45     description: voltage supply for analog circuits
47 required:
48   - compatible
49   - reg
50   - vdd3-supply
51   - vci-supply
52   - reset-gpios
54 additionalProperties: false
56 examples:
57   - |
58     #include <dt-bindings/gpio/gpio.h>
60     dsi {
61         #address-cells = <1>;
62         #size-cells = <0>;
64         panel@0 {
65             compatible = "samsung,s6e3ha2";
66             reg = <0>;
67             vdd3-supply = <&ldo27_reg>;
68             vci-supply = <&ldo28_reg>;
69             reset-gpios = <&gpg0 0 GPIO_ACTIVE_LOW>;
70             enable-gpios = <&gpf1 5 GPIO_ACTIVE_HIGH>;
71             te-gpios = <&gpf1 3 GPIO_ACTIVE_HIGH>;
72         };
73     };
75 ...