1*c66ec88fSEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0 2*c66ec88fSEmmanuel Vadot%YAML 1.2 3*c66ec88fSEmmanuel Vadot--- 4*c66ec88fSEmmanuel Vadot$id: http://devicetree.org/schemas/display/panel/sharp,lq150x1lg11.yaml# 5*c66ec88fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6*c66ec88fSEmmanuel Vadot 7*c66ec88fSEmmanuel Vadottitle: Sharp 15" LQ150X1LG11 XGA TFT LCD panel 8*c66ec88fSEmmanuel Vadot 9*c66ec88fSEmmanuel Vadotmaintainers: 10*c66ec88fSEmmanuel Vadot - Peter Rosin <peda@axentia.se> 11*c66ec88fSEmmanuel Vadot 12*c66ec88fSEmmanuel VadotallOf: 13*c66ec88fSEmmanuel Vadot - $ref: panel-common.yaml# 14*c66ec88fSEmmanuel Vadot 15*c66ec88fSEmmanuel Vadotproperties: 16*c66ec88fSEmmanuel Vadot compatible: 17*c66ec88fSEmmanuel Vadot const: sharp,lq150x1lg11 18*c66ec88fSEmmanuel Vadot 19*c66ec88fSEmmanuel Vadot power-supply: true 20*c66ec88fSEmmanuel Vadot backlight: true 21*c66ec88fSEmmanuel Vadot 22*c66ec88fSEmmanuel Vadot rlud-gpios: 23*c66ec88fSEmmanuel Vadot maxItems: 1 24*c66ec88fSEmmanuel Vadot description: | 25*c66ec88fSEmmanuel Vadot GPIO for the RL/UD (rotate 180 degrees) pin. 26*c66ec88fSEmmanuel Vadot If rlud-gpios and/or sellvds-gpios are not specified, 27*c66ec88fSEmmanuel Vadot the RL/UD and/or SELLVDS pins are assumed to be handled 28*c66ec88fSEmmanuel Vadot appropriately by the hardware. 29*c66ec88fSEmmanuel Vadot 30*c66ec88fSEmmanuel Vadot sellvds-gpios: 31*c66ec88fSEmmanuel Vadot maxItems: 1 32*c66ec88fSEmmanuel Vadot description: | 33*c66ec88fSEmmanuel Vadot GPIO for the SELLVDS pin. 34*c66ec88fSEmmanuel Vadot If rlud-gpios and/or sellvds-gpios are not specified, 35*c66ec88fSEmmanuel Vadot the RL/UD and/or SELLVDS pins are assumed to be handled 36*c66ec88fSEmmanuel Vadot appropriately by the hardware. 37*c66ec88fSEmmanuel Vadot 38*c66ec88fSEmmanuel Vadotrequired: 39*c66ec88fSEmmanuel Vadot - compatible 40*c66ec88fSEmmanuel Vadot - power-supply 41*c66ec88fSEmmanuel Vadot 42*c66ec88fSEmmanuel VadotadditionalProperties: false 43*c66ec88fSEmmanuel Vadot 44*c66ec88fSEmmanuel Vadotexamples: 45*c66ec88fSEmmanuel Vadot - | 46*c66ec88fSEmmanuel Vadot #include <dt-bindings/gpio/gpio.h> 47*c66ec88fSEmmanuel Vadot 48*c66ec88fSEmmanuel Vadot panel { 49*c66ec88fSEmmanuel Vadot compatible = "sharp,lq150x1lg11"; 50*c66ec88fSEmmanuel Vadot 51*c66ec88fSEmmanuel Vadot power-supply = <&vcc_3v3_reg>; /* VCC */ 52*c66ec88fSEmmanuel Vadot 53*c66ec88fSEmmanuel Vadot backlight = <&backlight>; 54*c66ec88fSEmmanuel Vadot rlud-gpios = <&gpio 17 GPIO_ACTIVE_HIGH>; /* RL/UD */ 55*c66ec88fSEmmanuel Vadot sellvds-gpios = <&gpio 18 GPIO_ACTIVE_HIGH>; /* SELLVDS */ 56*c66ec88fSEmmanuel Vadot }; 57*c66ec88fSEmmanuel Vadot 58*c66ec88fSEmmanuel Vadot... 59