xref: /freebsd/sys/contrib/device-tree/Bindings/display/panel/samsung,s6e88a0-ams427ap24.yaml (revision 5f62a964e9f8abc6a05d8338273fadd154f0a206)
1*5f62a964SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*5f62a964SEmmanuel Vadot%YAML 1.2
3*5f62a964SEmmanuel Vadot---
4*5f62a964SEmmanuel Vadot$id: http://devicetree.org/schemas/display/panel/samsung,s6e88a0-ams427ap24.yaml#
5*5f62a964SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*5f62a964SEmmanuel Vadot
7*5f62a964SEmmanuel Vadottitle: Samsung AMS427AP24 panel with S6E88A0 controller
8*5f62a964SEmmanuel Vadot
9*5f62a964SEmmanuel Vadotmaintainers:
10*5f62a964SEmmanuel Vadot  - Jakob Hauser <jahau@rocketmail.com>
11*5f62a964SEmmanuel Vadot
12*5f62a964SEmmanuel VadotallOf:
13*5f62a964SEmmanuel Vadot  - $ref: panel-common.yaml#
14*5f62a964SEmmanuel Vadot
15*5f62a964SEmmanuel Vadotproperties:
16*5f62a964SEmmanuel Vadot  compatible:
17*5f62a964SEmmanuel Vadot    const: samsung,s6e88a0-ams427ap24
18*5f62a964SEmmanuel Vadot
19*5f62a964SEmmanuel Vadot  reg:
20*5f62a964SEmmanuel Vadot    maxItems: 1
21*5f62a964SEmmanuel Vadot
22*5f62a964SEmmanuel Vadot  port: true
23*5f62a964SEmmanuel Vadot  reset-gpios: true
24*5f62a964SEmmanuel Vadot  flip-horizontal: true
25*5f62a964SEmmanuel Vadot
26*5f62a964SEmmanuel Vadot  vdd3-supply:
27*5f62a964SEmmanuel Vadot    description: core voltage supply
28*5f62a964SEmmanuel Vadot
29*5f62a964SEmmanuel Vadot  vci-supply:
30*5f62a964SEmmanuel Vadot    description: voltage supply for analog circuits
31*5f62a964SEmmanuel Vadot
32*5f62a964SEmmanuel Vadotrequired:
33*5f62a964SEmmanuel Vadot  - compatible
34*5f62a964SEmmanuel Vadot  - reg
35*5f62a964SEmmanuel Vadot  - port
36*5f62a964SEmmanuel Vadot  - reset-gpios
37*5f62a964SEmmanuel Vadot  - vdd3-supply
38*5f62a964SEmmanuel Vadot  - vci-supply
39*5f62a964SEmmanuel Vadot
40*5f62a964SEmmanuel VadotadditionalProperties: false
41*5f62a964SEmmanuel Vadot
42*5f62a964SEmmanuel Vadotexamples:
43*5f62a964SEmmanuel Vadot  - |
44*5f62a964SEmmanuel Vadot    #include <dt-bindings/gpio/gpio.h>
45*5f62a964SEmmanuel Vadot
46*5f62a964SEmmanuel Vadot    dsi {
47*5f62a964SEmmanuel Vadot        #address-cells = <1>;
48*5f62a964SEmmanuel Vadot        #size-cells = <0>;
49*5f62a964SEmmanuel Vadot
50*5f62a964SEmmanuel Vadot        panel@0 {
51*5f62a964SEmmanuel Vadot            compatible = "samsung,s6e88a0-ams427ap24";
52*5f62a964SEmmanuel Vadot            reg = <0>;
53*5f62a964SEmmanuel Vadot
54*5f62a964SEmmanuel Vadot            vdd3-supply = <&pm8916_l17>;
55*5f62a964SEmmanuel Vadot            vci-supply = <&pm8916_l6>;
56*5f62a964SEmmanuel Vadot            reset-gpios = <&tlmm 25 GPIO_ACTIVE_LOW>;
57*5f62a964SEmmanuel Vadot            flip-horizontal;
58*5f62a964SEmmanuel Vadot
59*5f62a964SEmmanuel Vadot            port {
60*5f62a964SEmmanuel Vadot                panel_in: endpoint {
61*5f62a964SEmmanuel Vadot                    remote-endpoint = <&mdss_dsi0_out>;
62*5f62a964SEmmanuel Vadot                };
63*5f62a964SEmmanuel Vadot            };
64*5f62a964SEmmanuel Vadot        };
65*5f62a964SEmmanuel Vadot    };
66