Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: GPL-2.0
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/display/panel/sharp,lq150x1lg11.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: Sharp 15" LQ150X1LG11 XGA TFT LCD panel
0008 
0009 maintainers:
0010   - Peter Rosin <peda@axentia.se>
0011 
0012 allOf:
0013   - $ref: panel-common.yaml#
0014 
0015 properties:
0016   compatible:
0017     const: sharp,lq150x1lg11
0018 
0019   power-supply: true
0020   backlight: true
0021 
0022   rlud-gpios:
0023     maxItems: 1
0024     description: |
0025       GPIO for the RL/UD (rotate 180 degrees) pin.
0026       If rlud-gpios and/or sellvds-gpios are not specified,
0027       the RL/UD and/or SELLVDS pins are assumed to be handled
0028       appropriately by the hardware.
0029 
0030   sellvds-gpios:
0031     maxItems: 1
0032     description: |
0033       GPIO for the SELLVDS pin.
0034       If rlud-gpios and/or sellvds-gpios are not specified,
0035       the RL/UD and/or SELLVDS pins are assumed to be handled
0036       appropriately by the hardware.
0037 
0038 required:
0039   - compatible
0040   - power-supply
0041 
0042 additionalProperties: false
0043 
0044 examples:
0045   - |
0046     #include <dt-bindings/gpio/gpio.h>
0047 
0048     panel {
0049         compatible = "sharp,lq150x1lg11";
0050 
0051         power-supply = <&vcc_3v3_reg>;               /* VCC */
0052 
0053         backlight = <&backlight>;
0054         rlud-gpios = <&gpio 17 GPIO_ACTIVE_HIGH>;    /* RL/UD */
0055         sellvds-gpios = <&gpio 18 GPIO_ACTIVE_HIGH>; /* SELLVDS */
0056     };
0057 
0058 ...