xref: /freebsd/sys/contrib/device-tree/Bindings/display/panel/samsung,s6e8aa0.yaml (revision 5ca8e32633c4ffbbcd6762e5888b6a4ba0708c6c)
1# SPDX-License-Identifier: GPL-2.0
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/display/panel/samsung,s6e8aa0.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Samsung S6E8AA0 AMOLED LCD 5.3 inch panel
8
9maintainers:
10  - Andrzej Hajda <a.hajda@samsung.com>
11
12allOf:
13  - $ref: panel-common.yaml#
14
15properties:
16  compatible:
17    const: samsung,s6e8aa0
18
19  reg: true
20  reset-gpios: true
21  display-timings: true
22
23  vdd3-supply:
24    description: core voltage supply
25
26  vci-supply:
27    description: voltage supply for analog circuits
28
29  power-on-delay:
30    description: delay after turning regulators on [ms]
31    $ref: /schemas/types.yaml#/definitions/uint32
32
33  reset-delay:
34    description: delay after reset sequence [ms]
35    $ref: /schemas/types.yaml#/definitions/uint32
36
37  init-delay:
38    description: delay after initialization sequence [ms]
39    $ref: /schemas/types.yaml#/definitions/uint32
40
41  panel-width-mm:
42    description: physical panel width [mm]
43
44  panel-height-mm:
45    description: physical panel height [mm]
46
47  flip-horizontal:
48    description: boolean to flip image horizontally
49    type: boolean
50
51  flip-vertical:
52    description: boolean to flip image vertically
53    type: boolean
54
55required:
56  - compatible
57  - reg
58  - vdd3-supply
59  - vci-supply
60  - reset-gpios
61  - display-timings
62
63additionalProperties: false
64
65examples:
66  - |
67    dsi {
68        #address-cells = <1>;
69        #size-cells = <0>;
70
71        panel@0 {
72            compatible = "samsung,s6e8aa0";
73            reg = <0>;
74            vdd3-supply = <&vcclcd_reg>;
75            vci-supply = <&vlcd_reg>;
76            reset-gpios = <&gpy4 5 0>;
77            power-on-delay = <50>;
78            reset-delay = <100>;
79            init-delay = <100>;
80            panel-width-mm = <58>;
81            panel-height-mm = <103>;
82            flip-horizontal;
83            flip-vertical;
84
85            display-timings {
86                timing0: timing-0 {
87                    clock-frequency = <57153600>;
88                    hactive = <720>;
89                    vactive = <1280>;
90                    hfront-porch = <5>;
91                    hback-porch = <5>;
92                    hsync-len = <5>;
93                    vfront-porch = <13>;
94                    vback-porch = <1>;
95                    vsync-len = <2>;
96                };
97            };
98        };
99    };
100
101...
102