1 # SPDX-License-Identifier: GPL-2.0 1 # SPDX-License-Identifier: GPL-2.0 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/sharp,ls037v7dw01.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: SHARP LS037V7DW01 TFT-LCD panel 7 title: SHARP LS037V7DW01 TFT-LCD panel 8 8 9 description: | 9 description: | 10 This panel can have zero to five GPIOs to co 10 This panel can have zero to five GPIOs to configure to change configuration 11 between QVGA and VGA mode and the scan direc 11 between QVGA and VGA mode and the scan direction. As these pins can be also 12 configured with external pulls, all the GPIO 12 configured with external pulls, all the GPIOs are considered optional with holes 13 in the array. 13 in the array. 14 14 15 maintainers: 15 maintainers: 16 - Tony Lindgren <tony@atomide.com> 16 - Tony Lindgren <tony@atomide.com> 17 17 18 allOf: 18 allOf: 19 - $ref: panel-common.yaml# 19 - $ref: panel-common.yaml# 20 20 21 properties: 21 properties: 22 compatible: 22 compatible: 23 const: sharp,ls037v7dw01 23 const: sharp,ls037v7dw01 24 24 25 label: true 25 label: true 26 enable-gpios: true 26 enable-gpios: true 27 reset-gpios: true 27 reset-gpios: true 28 port: true 28 port: true 29 power-supply: true 29 power-supply: true 30 30 31 mode-gpios: 31 mode-gpios: 32 minItems: 1 32 minItems: 1 33 maxItems: 3 33 maxItems: 3 34 description: | 34 description: | 35 GPIO ordered MO, LR, and UD as specified 35 GPIO ordered MO, LR, and UD as specified in LS037V7DW01.pdf 36 This panel can have zero to three GPIOs 36 This panel can have zero to three GPIOs to configure to 37 change configuration between QVGA and VG 37 change configuration between QVGA and VGA mode and the 38 scan direction. As these pins can be als 38 scan direction. As these pins can be also configured 39 with external pulls, all the GPIOs are c 39 with external pulls, all the GPIOs are considered 40 optional with holes in the array. 40 optional with holes in the array. 41 41 42 required: 42 required: 43 - compatible 43 - compatible 44 - port 44 - port 45 45 46 additionalProperties: false 46 additionalProperties: false 47 47 48 examples: 48 examples: 49 - | 49 - | 50 #include <dt-bindings/gpio/gpio.h> 50 #include <dt-bindings/gpio/gpio.h> 51 51 52 lcd0: display { 52 lcd0: display { 53 compatible = "sharp,ls037v7dw01"; 53 compatible = "sharp,ls037v7dw01"; 54 power-supply = <&lcd_3v3>; 54 power-supply = <&lcd_3v3>; 55 enable-gpios = <&gpio5 24 GPIO_ACTIVE_ 55 enable-gpios = <&gpio5 24 GPIO_ACTIVE_HIGH>; /* gpio152, lcd INI */ 56 reset-gpios = <&gpio5 27 GPIO_ACTIVE_H 56 reset-gpios = <&gpio5 27 GPIO_ACTIVE_HIGH>; /* gpio155, lcd RESB */ 57 mode-gpios = <&gpio5 26 GPIO_ACTIVE_HI 57 mode-gpios = <&gpio5 26 GPIO_ACTIVE_HIGH /* gpio154, lcd MO */ 58 &gpio1 2 GPIO_ACTIVE_HIG 58 &gpio1 2 GPIO_ACTIVE_HIGH /* gpio2, lcd LR */ 59 &gpio1 3 GPIO_ACTIVE_HIG 59 &gpio1 3 GPIO_ACTIVE_HIGH>; /* gpio3, lcd UD */ 60 60 61 port { 61 port { 62 lcd_in: endpoint { 62 lcd_in: endpoint { 63 remote-endpoint = <&dpi_out>; 63 remote-endpoint = <&dpi_out>; 64 }; 64 }; 65 }; 65 }; 66 }; 66 }; 67 67 68 ... 68 ...
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.