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,s6d7aa0.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Samsung S6D7AA0 MIPI-DSI LCD panel controller
8
9maintainers:
10  - Artur Weber <aweber.kernel@gmail.com>
11
12allOf:
13  - $ref: panel-common.yaml#
14
15properties:
16  compatible:
17    items:
18      - enum:
19          # 1280x800 LSL080AL02 panel
20          - samsung,lsl080al02
21          # 1024x768 LSL080AL03 panel
22          - samsung,lsl080al03
23          # 1024x768 LTL101AT01 panel
24          - samsung,ltl101at01
25      - const: samsung,s6d7aa0
26
27  reg: true
28
29  backlight:
30    description:
31      Backlight to use for the panel. If this property is set on panels
32      that have DSI-based backlight control (LSL080AL03 and LTL101AT01),
33      it overrides the DSI-based backlight.
34
35  reset-gpios:
36    description: Reset GPIO pin, usually GPIO_ACTIVE_LOW.
37
38  power-supply:
39    description:
40      Main power supply for the panel; the exact voltage differs between
41      panels, and is usually somewhere around 3.3-5v.
42
43  vmipi-supply:
44    description: VMIPI supply, usually 1.8v.
45
46required:
47  - compatible
48  - reg
49  - reset-gpios
50
51additionalProperties: false
52
53examples:
54  - |
55    #include <dt-bindings/gpio/gpio.h>
56
57    dsi {
58        #address-cells = <1>;
59        #size-cells = <0>;
60
61        panel@0 {
62            compatible = "samsung,lsl080al02", "samsung,s6d7aa0";
63            reg = <0>;
64            power-supply = <&display_3v3_supply>;
65            reset-gpios = <&gpf0 4 GPIO_ACTIVE_LOW>;
66            backlight = <&backlight>;
67        };
68    };
69
70...
71