dt-bindings: display: convert samsung,s6e63m0 to DT Schema
[platform/kernel/linux-starfive.git] / Documentation / devicetree / bindings / display / panel / samsung,s6e63m0.yaml
1 # SPDX-License-Identifier: GPL-2.0
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/display/panel/samsung,s6e63m0.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Samsung s6e63m0 AMOLED LCD panel
8
9 maintainers:
10   - Jonathan Bakker <xc-racer2@live.ca>
11
12 allOf:
13   - $ref: panel-common.yaml#
14
15 properties:
16   compatible:
17     const: samsung,s6e63m0
18
19   reg: true
20   reset-gpios: true
21   port: true
22
23   vdd3-supply:
24     description: VDD regulator
25
26   vci-supply:
27     description: VCI regulator
28
29 required:
30   - compatible
31   - reset-gpios
32   - vdd3-supply
33   - vci-supply
34   - port
35
36 unevaluatedProperties: false
37
38 examples:
39   - |
40     spi {
41         #address-cells = <1>;
42         #size-cells = <0>;
43
44         display@0 {
45             compatible = "samsung,s6e63m0";
46             reg = <0>;
47             reset-gpios = <&mp05 5 1>;
48             vdd3-supply = <&ldo12_reg>;
49             vci-supply = <&ldo11_reg>;
50             spi-max-frequency = <1200000>;
51
52             port {
53                 lcd_ep: endpoint {
54                     remote-endpoint = <&fimd_ep>;
55                 };
56             };
57         };
58     };
59
60 ...