Merge tag 'block-5.14-2021-08-07' of git://git.kernel.dk/linux-block
[linux-2.6-microblaze.git] / Documentation / devicetree / bindings / display / panel / samsung,lms397kf04.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,lms397kf04.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Samsung LMS397KF04 display panel
8
9 description: The datasheet claims this is based around a display controller
10   named DB7430 with a separate backlight controller.
11
12 maintainers:
13   - Linus Walleij <linus.walleij@linaro.org>
14
15 allOf:
16   - $ref: panel-common.yaml#
17
18 properties:
19   compatible:
20     const: samsung,lms397kf04
21
22   reg: true
23
24   reset-gpios: true
25
26   vci-supply:
27     description: regulator that supplies the VCI analog voltage
28       usually around 3.0 V
29
30   vccio-supply:
31     description: regulator that supplies the VCCIO voltage usually
32       around 1.8 V
33
34   backlight: true
35
36   spi-max-frequency:
37     $ref: /schemas/types.yaml#/definitions/uint32
38     description: inherited as a SPI client node, the datasheet specifies
39       maximum 300 ns minimum cycle which gives around 3 MHz max frequency
40     maximum: 3000000
41
42   port: true
43
44 required:
45   - compatible
46   - reg
47
48 additionalProperties: false
49
50 examples:
51   - |
52     #include <dt-bindings/gpio/gpio.h>
53
54     spi {
55       #address-cells = <1>;
56       #size-cells = <0>;
57       panel@0 {
58         compatible = "samsung,lms397kf04";
59         spi-max-frequency = <3000000>;
60         reg = <0>;
61         vci-supply = <&lcd_3v0_reg>;
62         vccio-supply = <&lcd_1v8_reg>;
63         reset-gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
64         backlight = <&ktd259>;
65
66         port {
67           panel_in: endpoint {
68             remote-endpoint = <&display_out>;
69           };
70         };
71       };
72     };
73
74 ...