0001 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/display/panel/leadtek,ltk035c5444t.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006
0007 title: Leadtek ltk035c5444t 3.5" (640x480 pixels) 24-bit IPS LCD panel
0008
0009 maintainers:
0010 - Paul Cercueil <paul@crapouillou.net>
0011 - Christophe Branchereau <cbranchereau@gmail.com>
0012
0013 allOf:
0014 - $ref: panel-common.yaml#
0015 - $ref: /schemas/spi/spi-peripheral-props.yaml#
0016
0017 properties:
0018 compatible:
0019 const: leadtek,ltk035c5444t
0020
0021 backlight: true
0022 port: true
0023 power-supply: true
0024 reg: true
0025 reset-gpios: true
0026
0027 required:
0028 - compatible
0029 - power-supply
0030 - reset-gpios
0031
0032 unevaluatedProperties: false
0033
0034 examples:
0035 - |
0036 #include <dt-bindings/gpio/gpio.h>
0037
0038 spi {
0039 #address-cells = <1>;
0040 #size-cells = <0>;
0041 panel@0 {
0042 compatible = "leadtek,ltk035c5444t";
0043 reg = <0>;
0044
0045 spi-3wire;
0046 spi-max-frequency = <3125000>;
0047
0048 reset-gpios = <&gpe 2 GPIO_ACTIVE_LOW>;
0049
0050 backlight = <&backlight>;
0051 power-supply = <&vcc>;
0052
0053 port {
0054 panel_input: endpoint {
0055 remote-endpoint = <&panel_output>;
0056 };
0057 };
0058 };
0059 };