xref: /linux/Documentation/devicetree/bindings/display/panel/samsung,s6d27a1.yaml (revision 90d32e92011eaae8e70a9169b4e7acf4ca8f9d3a)
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,s6d27a1.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Samsung S6D27A1 display panel
8
9description: The S6D27A1 is a 480x800 DPI display panel from Samsung Mobile
10  Displays (SMD).
11
12maintainers:
13  - Markuss Broks <markuss.broks@gmail.com>
14
15allOf:
16  - $ref: panel-common.yaml#
17  - $ref: /schemas/spi/spi-peripheral-props.yaml#
18
19properties:
20  compatible:
21    const: samsung,s6d27a1
22
23  reg:
24    maxItems: 1
25
26  interrupts:
27    description: provides an optional ESD (electrostatic discharge)
28      interrupt that signals abnormalities in the display hardware.
29      This can also be raised for other reasons like erroneous
30      configuration.
31    maxItems: 1
32
33  reset-gpios: true
34
35  vci-supply:
36    description: regulator that supplies the VCI analog voltage
37      usually around 3.0 V
38
39  vccio-supply:
40    description: regulator that supplies the VCCIO voltage usually
41      around 1.8 V
42
43  backlight: true
44
45  spi-cpha: true
46
47  spi-cpol: true
48
49  spi-max-frequency:
50    maximum: 1200000
51
52  port: true
53
54required:
55  - compatible
56  - reg
57  - vci-supply
58  - vccio-supply
59  - spi-cpha
60  - spi-cpol
61  - port
62
63unevaluatedProperties: false
64
65examples:
66  - |
67    #include <dt-bindings/gpio/gpio.h>
68    #include <dt-bindings/interrupt-controller/irq.h>
69
70    spi {
71        compatible = "spi-gpio";
72        sck-gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
73        miso-gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
74        mosi-gpios = <&gpio 2 GPIO_ACTIVE_HIGH>;
75        cs-gpios = <&gpio 3 GPIO_ACTIVE_HIGH>;
76        num-chipselects = <1>;
77        #address-cells = <1>;
78        #size-cells = <0>;
79        panel@0 {
80            compatible = "samsung,s6d27a1";
81            spi-max-frequency = <1200000>;
82            spi-cpha;
83            spi-cpol;
84            reg = <0>;
85            vci-supply = <&lcd_3v0_reg>;
86            vccio-supply = <&lcd_1v8_reg>;
87            reset-gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
88            interrupt-parent = <&gpio>;
89            interrupts = <5 IRQ_TYPE_EDGE_RISING>;
90
91            port {
92                panel_in: endpoint {
93                    remote-endpoint = <&display_out>;
94                };
95            };
96        };
97    };
98
99...
100