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