xref: /linux/Documentation/devicetree/bindings/display/panel/kingdisplay,kd035g6-54nt.yaml (revision 02680c23d7b3febe45ea3d4f9818c2b2dc89020a)
1# SPDX-License-Identifier: GPL-2.0
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/display/panel/kingdisplay,kd035g6-54nt.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: King Display KD035G6-54NT 3.5" (320x240 pixels) 24-bit TFT LCD panel
8
9description: |
10  The panel must obey the rules for a SPI slave device as specified in
11  spi/spi-controller.yaml
12
13maintainers:
14  - Paul Cercueil <paul@crapouillou.net>
15
16allOf:
17  - $ref: panel-common.yaml#
18
19properties:
20  compatible:
21    const: kingdisplay,kd035g6-54nt
22
23  backlight: true
24  port: true
25  power-supply: true
26  reg: true
27  reset-gpios: true
28
29required:
30  - compatible
31  - power-supply
32  - reset-gpios
33
34unevaluatedProperties: false
35
36examples:
37  - |
38    #include <dt-bindings/gpio/gpio.h>
39
40    spi {
41        #address-cells = <1>;
42        #size-cells = <0>;
43
44        panel@0 {
45            compatible = "kingdisplay,kd035g6-54nt";
46            reg = <0>;
47
48            spi-max-frequency = <3125000>;
49            spi-3wire;
50
51            reset-gpios = <&gpe 2 GPIO_ACTIVE_LOW>;
52
53            backlight = <&backlight>;
54            power-supply = <&ldo6>;
55
56            port {
57                panel_input: endpoint {
58                    remote-endpoint = <&panel_output>;
59                };
60            };
61        };
62    };
63
64...
65