Debian Codegraph @

Documentation/devicetree/bindings/display/panel/samsung,sofef00.yaml

raw
1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/display/panel/samsung,sofef00.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Samsung SOFEF00 AMOLED DDIC
8
9 description: The SOFEF00 is display driver IC with connected panel.
10
11 maintainers:
12 - David Heidelberg <[email protected]>
13
14 allOf:
15 - $ref: panel-common.yaml#
16
17 properties:
18 compatible:
19 items:
20 - enum:
21 # Samsung 6.01 inch, 1080x2160 pixels, 18:9 ratio
22 - samsung,sofef00-ams601nt22
23 # Samsung 6.28 inch, 1080x2280 pixels, 19:9 ratio
24 - samsung,sofef00-ams628nw01
25 - const: samsung,sofef00
26
27 reg:
28 maxItems: 1
29
30 poc-supply:
31 description: POC regulator
32
33 vci-supply:
34 description: VCI regulator
35
36 vddio-supply:
37 description: VDD regulator
38
39 required:
40 - compatible
41 - reset-gpios
42 - poc-supply
43 - vci-supply
44 - vddio-supply
45
46 unevaluatedProperties: false
47
48 examples:
49 - |
50 #include <dt-bindings/gpio/gpio.h>
51
52 dsi {
53 #address-cells = <1>;
54 #size-cells = <0>;
55
56 panel@0 {
57 compatible = "samsung,sofef00-ams628nw01", "samsung,sofef00";
58 reg = <0>;
59
60 vddio-supply = <&vreg_l14a_1p88>;
61 vci-supply = <&s2dos05_buck1>;
62 poc-supply = <&s2dos05_ldo1>;
63
64 te-gpios = <&tlmm 10 GPIO_ACTIVE_HIGH>;
65 reset-gpios = <&tlmm 6 GPIO_ACTIVE_HIGH>;
66
67 pinctrl-0 = <&panel_active>;
68 pinctrl-1 = <&panel_suspend>;
69 pinctrl-names = "default", "sleep";
70
71 port {
72 panel_in: endpoint {
73 remote-endpoint = <&mdss_dsi0_out>;
74 };
75 };
76 };
77 };
78
79 ...