summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/display/panel/samsung,s6e88a0-ams427ap24.yaml
blob: db284ba5be2099be9fa34a1a36caea204836a902 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/display/panel/samsung,s6e88a0-ams427ap24.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Samsung AMS427AP24 panel with S6E88A0 controller

maintainers:
  - Jakob Hauser <jahau@rocketmail.com>

allOf:
  - $ref: panel-common.yaml#

properties:
  compatible:
    const: samsung,s6e88a0-ams427ap24

  reg:
    maxItems: 1

  port: true
  reset-gpios: true
  flip-horizontal: true

  vdd3-supply:
    description: core voltage supply

  vci-supply:
    description: voltage supply for analog circuits

required:
  - compatible
  - reg
  - port
  - reset-gpios
  - vdd3-supply
  - vci-supply

additionalProperties: false

examples:
  - |
    #include <dt-bindings/gpio/gpio.h>

    dsi {
        #address-cells = <1>;
        #size-cells = <0>;

        panel@0 {
            compatible = "samsung,s6e88a0-ams427ap24";
            reg = <0>;

            vdd3-supply = <&pm8916_l17>;
            vci-supply = <&pm8916_l6>;
            reset-gpios = <&tlmm 25 GPIO_ACTIVE_LOW>;
            flip-horizontal;

            port {
                panel_in: endpoint {
                    remote-endpoint = <&mdss_dsi0_out>;
                };
            };
        };
    };