Mention branches and keyring.
[releases.git] / bindings / display / panel / samsung,lms380kf01.yaml
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,lms380kf01.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Samsung LMS380KF01 display panel
8
9 description: The LMS380KF01 is a 480x800 DPI display panel from Samsung Mobile
10   Displays (SMD) utilizing the WideChips WS2401 display controller. It can be
11   used with internal or external backlight control.
12
13 maintainers:
14   - Linus Walleij <linus.walleij@linaro.org>
15
16 allOf:
17   - $ref: panel-common.yaml#
18   - $ref: /schemas/spi/spi-peripheral-props.yaml#
19
20 properties:
21   compatible:
22     const: samsung,lms380kf01
23
24   reg: true
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
54 required:
55   - compatible
56   - reg
57   - spi-cpha
58   - spi-cpol
59   - port
60
61 unevaluatedProperties: false
62
63 examples:
64   - |
65     #include <dt-bindings/gpio/gpio.h>
66     #include <dt-bindings/interrupt-controller/irq.h>
67
68     spi {
69         compatible = "spi-gpio";
70         sck-gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
71         miso-gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
72         mosi-gpios = <&gpio 2 GPIO_ACTIVE_HIGH>;
73         cs-gpios = <&gpio 3 GPIO_ACTIVE_HIGH>;
74         num-chipselects = <1>;
75         #address-cells = <1>;
76         #size-cells = <0>;
77
78         panel@0 {
79             compatible = "samsung,lms380kf01";
80             spi-max-frequency = <1200000>;
81             spi-cpha;
82             spi-cpol;
83             reg = <0>;
84             vci-supply = <&lcd_3v0_reg>;
85             vccio-supply = <&lcd_1v8_reg>;
86             reset-gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
87             interrupt-parent = <&gpio>;
88             interrupts = <5 IRQ_TYPE_EDGE_RISING>;
89
90             port {
91                 panel_in: endpoint {
92                     remote-endpoint = <&display_out>;
93                 };
94             };
95         };
96     };
97
98 ...