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/leadtek,ltk035c5444t.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Leadtek ltk035c5444t 3.5" (640x480 pixels) 24-bit IPS LCD panel
8
9maintainers:
10  - Paul Cercueil <paul@crapouillou.net>
11  - Christophe Branchereau <cbranchereau@gmail.com>
12
13allOf:
14  - $ref: panel-common.yaml#
15  - $ref: /schemas/spi/spi-peripheral-props.yaml#
16
17properties:
18  compatible:
19    const: leadtek,ltk035c5444t
20
21  backlight: true
22  port: true
23  power-supply: true
24  reg: true
25  reset-gpios: true
26
27  spi-3wire: 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        panel@0 {
44            compatible = "leadtek,ltk035c5444t";
45            reg = <0>;
46
47            spi-3wire;
48            spi-max-frequency = <3125000>;
49
50            reset-gpios = <&gpe 2 GPIO_ACTIVE_LOW>;
51
52            backlight = <&backlight>;
53            power-supply = <&vcc>;
54
55            port {
56                panel_input: endpoint {
57                    remote-endpoint = <&panel_output>;
58                };
59            };
60        };
61    };
62