xref: /freebsd/sys/contrib/device-tree/Bindings/display/panel/leadtek,ltk035c5444t.yaml (revision 7d0873ebb83b19ba1e8a89e679470d885efe12e3)
1d5b0e70fSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2d5b0e70fSEmmanuel Vadot%YAML 1.2
3d5b0e70fSEmmanuel Vadot---
4d5b0e70fSEmmanuel Vadot$id: http://devicetree.org/schemas/display/panel/leadtek,ltk035c5444t.yaml#
5d5b0e70fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6d5b0e70fSEmmanuel Vadot
7d5b0e70fSEmmanuel Vadottitle: Leadtek ltk035c5444t 3.5" (640x480 pixels) 24-bit IPS LCD panel
8d5b0e70fSEmmanuel Vadot
9d5b0e70fSEmmanuel Vadotmaintainers:
10d5b0e70fSEmmanuel Vadot  - Paul Cercueil <paul@crapouillou.net>
11d5b0e70fSEmmanuel Vadot  - Christophe Branchereau <cbranchereau@gmail.com>
12d5b0e70fSEmmanuel Vadot
13d5b0e70fSEmmanuel VadotallOf:
14d5b0e70fSEmmanuel Vadot  - $ref: panel-common.yaml#
15d5b0e70fSEmmanuel Vadot  - $ref: /schemas/spi/spi-peripheral-props.yaml#
16d5b0e70fSEmmanuel Vadot
17d5b0e70fSEmmanuel Vadotproperties:
18d5b0e70fSEmmanuel Vadot  compatible:
19d5b0e70fSEmmanuel Vadot    const: leadtek,ltk035c5444t
20d5b0e70fSEmmanuel Vadot
21*7d0873ebSEmmanuel Vadot  reg:
22*7d0873ebSEmmanuel Vadot    maxItems: 1
23*7d0873ebSEmmanuel Vadot
247ef62cebSEmmanuel Vadot  spi-3wire: true
257ef62cebSEmmanuel Vadot
26d5b0e70fSEmmanuel Vadotrequired:
27d5b0e70fSEmmanuel Vadot  - compatible
288d13bc63SEmmanuel Vadot  - reg
298d13bc63SEmmanuel Vadot  - port
30d5b0e70fSEmmanuel Vadot  - power-supply
31d5b0e70fSEmmanuel Vadot  - reset-gpios
32d5b0e70fSEmmanuel Vadot
33d5b0e70fSEmmanuel VadotunevaluatedProperties: false
34d5b0e70fSEmmanuel Vadot
35d5b0e70fSEmmanuel Vadotexamples:
36d5b0e70fSEmmanuel Vadot  - |
37d5b0e70fSEmmanuel Vadot    #include <dt-bindings/gpio/gpio.h>
38d5b0e70fSEmmanuel Vadot
39d5b0e70fSEmmanuel Vadot    spi {
40d5b0e70fSEmmanuel Vadot        #address-cells = <1>;
41d5b0e70fSEmmanuel Vadot        #size-cells = <0>;
42d5b0e70fSEmmanuel Vadot        panel@0 {
43d5b0e70fSEmmanuel Vadot            compatible = "leadtek,ltk035c5444t";
44d5b0e70fSEmmanuel Vadot            reg = <0>;
45d5b0e70fSEmmanuel Vadot
46d5b0e70fSEmmanuel Vadot            spi-3wire;
47d5b0e70fSEmmanuel Vadot            spi-max-frequency = <3125000>;
48d5b0e70fSEmmanuel Vadot
49d5b0e70fSEmmanuel Vadot            reset-gpios = <&gpe 2 GPIO_ACTIVE_LOW>;
50d5b0e70fSEmmanuel Vadot
51d5b0e70fSEmmanuel Vadot            backlight = <&backlight>;
52d5b0e70fSEmmanuel Vadot            power-supply = <&vcc>;
53d5b0e70fSEmmanuel Vadot
54d5b0e70fSEmmanuel Vadot            port {
55d5b0e70fSEmmanuel Vadot                panel_input: endpoint {
56d5b0e70fSEmmanuel Vadot                    remote-endpoint = <&panel_output>;
57d5b0e70fSEmmanuel Vadot                };
58d5b0e70fSEmmanuel Vadot            };
59d5b0e70fSEmmanuel Vadot        };
60d5b0e70fSEmmanuel Vadot    };
61