xref: /linux/Documentation/devicetree/bindings/display/panel/kingdisplay,kd035g6-54nt.yaml (revision 95298d63c67673c654c08952672d016212b26054)
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            spi-cs-high;
51
52            reset-gpios = <&gpe 2 GPIO_ACTIVE_LOW>;
53
54            backlight = <&backlight>;
55            power-supply = <&ldo6>;
56
57            port {
58                panel_input: endpoint {
59                    remote-endpoint = <&panel_output>;
60                };
61            };
62        };
63    };
64
65...
66