1 # SPDX-License-Identifier: (GPL-2.0-only OR BS 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/display/pan 4 $id: http://devicetree.org/schemas/display/panel/leadtek,ltk035c5444t.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Leadtek ltk035c5444t 3.5" (640x480 pixe 7 title: Leadtek ltk035c5444t 3.5" (640x480 pixels) 24-bit IPS LCD panel 8 8 9 maintainers: 9 maintainers: 10 - Paul Cercueil <paul@crapouillou.net> 10 - Paul Cercueil <paul@crapouillou.net> 11 - Christophe Branchereau <cbranchereau@gmail. 11 - Christophe Branchereau <cbranchereau@gmail.com> 12 12 13 allOf: 13 allOf: 14 - $ref: panel-common.yaml# 14 - $ref: panel-common.yaml# 15 - $ref: /schemas/spi/spi-peripheral-props.ya 15 - $ref: /schemas/spi/spi-peripheral-props.yaml# 16 16 17 properties: 17 properties: 18 compatible: 18 compatible: 19 const: leadtek,ltk035c5444t 19 const: leadtek,ltk035c5444t 20 20 21 reg: 21 reg: 22 maxItems: 1 22 maxItems: 1 23 23 24 spi-3wire: true 24 spi-3wire: true 25 25 26 required: 26 required: 27 - compatible 27 - compatible 28 - reg 28 - reg 29 - port 29 - port 30 - power-supply 30 - power-supply 31 - reset-gpios 31 - reset-gpios 32 32 33 unevaluatedProperties: false 33 unevaluatedProperties: false 34 34 35 examples: 35 examples: 36 - | 36 - | 37 #include <dt-bindings/gpio/gpio.h> 37 #include <dt-bindings/gpio/gpio.h> 38 38 39 spi { 39 spi { 40 #address-cells = <1>; 40 #address-cells = <1>; 41 #size-cells = <0>; 41 #size-cells = <0>; 42 panel@0 { 42 panel@0 { 43 compatible = "leadtek,ltk035c5444t 43 compatible = "leadtek,ltk035c5444t"; 44 reg = <0>; 44 reg = <0>; 45 45 46 spi-3wire; 46 spi-3wire; 47 spi-max-frequency = <3125000>; 47 spi-max-frequency = <3125000>; 48 48 49 reset-gpios = <&gpe 2 GPIO_ACTIVE_ 49 reset-gpios = <&gpe 2 GPIO_ACTIVE_LOW>; 50 50 51 backlight = <&backlight>; 51 backlight = <&backlight>; 52 power-supply = <&vcc>; 52 power-supply = <&vcc>; 53 53 54 port { 54 port { 55 panel_input: endpoint { 55 panel_input: endpoint { 56 remote-endpoint = <&panel_ 56 remote-endpoint = <&panel_output>; 57 }; 57 }; 58 }; 58 }; 59 }; 59 }; 60 }; 60 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.