xref: /freebsd/sys/contrib/device-tree/Bindings/display/panel/leadtek,ltk035c5444t.yaml (revision d5b0e70f7e04d971691517ce1304d86a1e367e2e)
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
27required:
28  - compatible
29  - power-supply
30  - reset-gpios
31
32unevaluatedProperties: false
33
34examples:
35  - |
36    #include <dt-bindings/gpio/gpio.h>
37
38    spi {
39        #address-cells = <1>;
40        #size-cells = <0>;
41        panel@0 {
42            compatible = "leadtek,ltk035c5444t";
43            reg = <0>;
44
45            spi-3wire;
46            spi-max-frequency = <3125000>;
47
48            reset-gpios = <&gpe 2 GPIO_ACTIVE_LOW>;
49
50            backlight = <&backlight>;
51            power-supply = <&vcc>;
52
53            port {
54                panel_input: endpoint {
55                    remote-endpoint = <&panel_output>;
56                };
57            };
58        };
59    };
60