xref: /freebsd/sys/contrib/device-tree/Bindings/display/panel/samsung,amoled-mipi-dsi.yaml (revision 7fdf597e96a02165cfe22ff357b857d5fa15ed8a)
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: true
37  reset-gpios: true
38  enable-gpios: true
39  te-gpios: true
40
41  vdd3-supply:
42    description: I/O voltage supply
43
44  vci-supply:
45    description: voltage supply for analog circuits
46
47required:
48  - compatible
49  - reg
50  - vdd3-supply
51  - vci-supply
52  - reset-gpios
53
54additionalProperties: false
55
56examples:
57  - |
58    #include <dt-bindings/gpio/gpio.h>
59
60    dsi {
61        #address-cells = <1>;
62        #size-cells = <0>;
63
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    };
74
75...
76