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