1*4882a593Smuzhiyun# SPDX-License-Identifier: GPL-2.0 2*4882a593Smuzhiyun%YAML 1.2 3*4882a593Smuzhiyun--- 4*4882a593Smuzhiyun$id: http://devicetree.org/schemas/display/panel/sharp,ls037v7dw01.yaml# 5*4882a593Smuzhiyun$schema: http://devicetree.org/meta-schemas/core.yaml# 6*4882a593Smuzhiyun 7*4882a593Smuzhiyuntitle: SHARP LS037V7DW01 TFT-LCD panel 8*4882a593Smuzhiyun 9*4882a593Smuzhiyundescription: | 10*4882a593Smuzhiyun This panel can have zero to five GPIOs to configure to change configuration 11*4882a593Smuzhiyun between QVGA and VGA mode and the scan direction. As these pins can be also 12*4882a593Smuzhiyun configured with external pulls, all the GPIOs are considered optional with holes 13*4882a593Smuzhiyun in the array. 14*4882a593Smuzhiyun 15*4882a593Smuzhiyunmaintainers: 16*4882a593Smuzhiyun - Tony Lindgren <tony@atomide.com> 17*4882a593Smuzhiyun 18*4882a593SmuzhiyunallOf: 19*4882a593Smuzhiyun - $ref: panel-common.yaml# 20*4882a593Smuzhiyun 21*4882a593Smuzhiyunproperties: 22*4882a593Smuzhiyun compatible: 23*4882a593Smuzhiyun const: sharp,ls037v7dw01 24*4882a593Smuzhiyun 25*4882a593Smuzhiyun label: true 26*4882a593Smuzhiyun enable-gpios: true 27*4882a593Smuzhiyun reset-gpios: true 28*4882a593Smuzhiyun port: true 29*4882a593Smuzhiyun power-supply: true 30*4882a593Smuzhiyun 31*4882a593Smuzhiyun mode-gpios: 32*4882a593Smuzhiyun minItems: 1 33*4882a593Smuzhiyun maxItems: 3 34*4882a593Smuzhiyun description: | 35*4882a593Smuzhiyun GPIO ordered MO, LR, and UD as specified in LS037V7DW01.pdf 36*4882a593Smuzhiyun This panel can have zero to three GPIOs to configure to 37*4882a593Smuzhiyun change configuration between QVGA and VGA mode and the 38*4882a593Smuzhiyun scan direction. As these pins can be also configured 39*4882a593Smuzhiyun with external pulls, all the GPIOs are considered 40*4882a593Smuzhiyun optional with holes in the array. 41*4882a593Smuzhiyun 42*4882a593Smuzhiyunrequired: 43*4882a593Smuzhiyun - compatible 44*4882a593Smuzhiyun - port 45*4882a593Smuzhiyun 46*4882a593SmuzhiyunadditionalProperties: false 47*4882a593Smuzhiyun 48*4882a593Smuzhiyunexamples: 49*4882a593Smuzhiyun - | 50*4882a593Smuzhiyun #include <dt-bindings/gpio/gpio.h> 51*4882a593Smuzhiyun 52*4882a593Smuzhiyun lcd0: display { 53*4882a593Smuzhiyun compatible = "sharp,ls037v7dw01"; 54*4882a593Smuzhiyun power-supply = <&lcd_3v3>; 55*4882a593Smuzhiyun enable-gpios = <&gpio5 24 GPIO_ACTIVE_HIGH>; /* gpio152, lcd INI */ 56*4882a593Smuzhiyun reset-gpios = <&gpio5 27 GPIO_ACTIVE_HIGH>; /* gpio155, lcd RESB */ 57*4882a593Smuzhiyun mode-gpios = <&gpio5 26 GPIO_ACTIVE_HIGH /* gpio154, lcd MO */ 58*4882a593Smuzhiyun &gpio1 2 GPIO_ACTIVE_HIGH /* gpio2, lcd LR */ 59*4882a593Smuzhiyun &gpio1 3 GPIO_ACTIVE_HIGH>; /* gpio3, lcd UD */ 60*4882a593Smuzhiyun 61*4882a593Smuzhiyun port { 62*4882a593Smuzhiyun lcd_in: endpoint { 63*4882a593Smuzhiyun remote-endpoint = <&dpi_out>; 64*4882a593Smuzhiyun }; 65*4882a593Smuzhiyun }; 66*4882a593Smuzhiyun }; 67*4882a593Smuzhiyun 68*4882a593Smuzhiyun... 69