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
9maintainers:
10  - Paul Cercueil <paul@crapouillou.net>
11
12allOf:
13  - $ref: panel-common.yaml#
14  - $ref: /schemas/spi/spi-peripheral-props.yaml#
15
16properties:
17  compatible:
18    const: kingdisplay,kd035g6-54nt
19
20  backlight: true
21  port: true
22  power-supply: true
23  reg: true
24  reset-gpios: true
25
26required:
27  - compatible
28  - power-supply
29  - reset-gpios
30
31unevaluatedProperties: false
32
33examples:
34  - |
35    #include <dt-bindings/gpio/gpio.h>
36
37    spi {
38        #address-cells = <1>;
39        #size-cells = <0>;
40
41        panel@0 {
42            compatible = "kingdisplay,kd035g6-54nt";
43            reg = <0>;
44
45            spi-max-frequency = <3125000>;
46            spi-3wire;
47
48            reset-gpios = <&gpe 2 GPIO_ACTIVE_LOW>;
49
50            backlight = <&backlight>;
51            power-supply = <&ldo6>;
52
53            port {
54                panel_input: endpoint {
55                    remote-endpoint = <&panel_output>;
56                };
57            };
58        };
59    };
60
61...
62