xref: /linux/Documentation/devicetree/bindings/display/panel/samsung,amoled-mipi-dsi.yaml (revision 06f054b1fee83415fe35204845708988fc16ef22)
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#
6
7title: Samsung AMOLED MIPI-DSI panels
8
9maintainers:
10  - Hoegeun Kwon <hoegeun.kwon@samsung.com>
11
12allOf:
13  - $ref: panel-common.yaml#
14
15  - if:
16      properties:
17        compatible:
18          contains:
19            enum:
20              - samsung,s6e3ha2
21              - samsung,s6e3hf2
22    then:
23      required:
24        - enable-gpios
25
26properties:
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
35
36  reg:
37    maxItems: 1
38
39  reset-gpios: true
40  enable-gpios: true
41  te-gpios: true
42
43  vdd3-supply:
44    description: I/O voltage supply
45
46  vci-supply:
47    description: voltage supply for analog circuits
48
49required:
50  - compatible
51  - reg
52  - vdd3-supply
53  - vci-supply
54  - reset-gpios
55
56additionalProperties: false
57
58examples:
59  - |
60    #include <dt-bindings/gpio/gpio.h>
61
62    dsi {
63        #address-cells = <1>;
64        #size-cells = <0>;
65
66        panel@0 {
67            compatible = "samsung,s6e3ha2";
68            reg = <0>;
69            vdd3-supply = <&ldo27_reg>;
70            vci-supply = <&ldo28_reg>;
71            reset-gpios = <&gpg0 0 GPIO_ACTIVE_LOW>;
72            enable-gpios = <&gpf1 5 GPIO_ACTIVE_HIGH>;
73            te-gpios = <&gpf1 3 GPIO_ACTIVE_HIGH>;
74        };
75    };
76
77...
78