Merge tag 'block-6.13-20242901' of git://git.kernel.dk/linux
[drm/drm-misc.git] / Documentation / devicetree / bindings / display / panel / samsung,s6d27a1.yaml
blobd74904164719d432b77036fb66c51fde8b765f7f
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#
7 title: Samsung S6D27A1 display panel
9 description: The S6D27A1 is a 480x800 DPI display panel from Samsung Mobile
10   Displays (SMD).
12 maintainers:
13   - Markuss Broks <markuss.broks@gmail.com>
15 allOf:
16   - $ref: panel-common.yaml#
17   - $ref: /schemas/spi/spi-peripheral-props.yaml#
19 properties:
20   compatible:
21     const: samsung,s6d27a1
23   reg:
24     maxItems: 1
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
33   reset-gpios: true
35   vci-supply:
36     description: regulator that supplies the VCI analog voltage
37       usually around 3.0 V
39   vccio-supply:
40     description: regulator that supplies the VCCIO voltage usually
41       around 1.8 V
43   backlight: true
45   spi-cpha: true
47   spi-cpol: true
49   spi-max-frequency:
50     maximum: 1200000
52   port: true
54 required:
55   - compatible
56   - reg
57   - vci-supply
58   - vccio-supply
59   - spi-cpha
60   - spi-cpol
61   - port
63 unevaluatedProperties: false
65 examples:
66   - |
67     #include <dt-bindings/gpio/gpio.h>
68     #include <dt-bindings/interrupt-controller/irq.h>
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>;
91             port {
92                 panel_in: endpoint {
93                     remote-endpoint = <&display_out>;
94                 };
95             };
96         };
97     };
99 ...