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
15properties:
16  compatible:
17    enum:
18        # Samsung S6E63J0X03 1.63" 320x320 AMOLED panel
19      - samsung,s6e63j0x03
20        # Samsung S6E3HA2 5.7" 1440x2560 AMOLED panel
21      - samsung,s6e3ha2
22        # Samsung S6E3HF2 5.65" 1600x2560 AMOLED panel
23      - samsung,s6e3hf2
24
25  reg: true
26  reset-gpios: true
27  enable-gpios: true
28  te-gpios: true
29
30  vdd3-supply:
31    description: I/O voltage supply
32
33  vci-supply:
34    description: voltage supply for analog circuits
35
36required:
37  - compatible
38  - reg
39  - vdd3-supply
40  - vci-supply
41  - reset-gpios
42  - enable-gpios
43
44additionalProperties: false
45
46examples:
47  - |
48    #include <dt-bindings/gpio/gpio.h>
49
50    dsi {
51        #address-cells = <1>;
52        #size-cells = <0>;
53
54        panel@0 {
55            compatible = "samsung,s6e3ha2";
56            reg = <0>;
57            vdd3-supply = <&ldo27_reg>;
58            vci-supply = <&ldo28_reg>;
59            reset-gpios = <&gpg0 0 GPIO_ACTIVE_LOW>;
60            enable-gpios = <&gpf1 5 GPIO_ACTIVE_HIGH>;
61            te-gpios = <&gpf1 3 GPIO_ACTIVE_HIGH>;
62        };
63    };
64
65...
66