summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/display/panel/sharp,lq150x1lg11.yaml
blob: 92f2d12f4f4c63e6a6965e9dab5121a7fa92e2dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# SPDX-License-Identifier: GPL-2.0
%YAML 1.2
---
$id: http://devicetree.org/schemas/display/panel/sharp,lq150x1lg11.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Sharp 15" LQ150X1LG11 XGA TFT LCD panel

maintainers:
  - Peter Rosin <peda@axentia.se>

allOf:
  - $ref: panel-common.yaml#

properties:
  compatible:
    const: sharp,lq150x1lg11

  power-supply: true
  backlight: true

  rlud-gpios:
    maxItems: 1
    description: |
      GPIO for the RL/UD (rotate 180 degrees) pin.
      If rlud-gpios and/or sellvds-gpios are not specified,
      the RL/UD and/or SELLVDS pins are assumed to be handled
      appropriately by the hardware.

  sellvds-gpios:
    maxItems: 1
    description: |
      GPIO for the SELLVDS pin.
      If rlud-gpios and/or sellvds-gpios are not specified,
      the RL/UD and/or SELLVDS pins are assumed to be handled
      appropriately by the hardware.

required:
  - compatible
  - power-supply

additionalProperties: false

examples:
  - |
    #include <dt-bindings/gpio/gpio.h>

    panel {
        compatible = "sharp,lq150x1lg11";

        power-supply = <&vcc_3v3_reg>;               /* VCC */

        backlight = <&backlight>;
        rlud-gpios = <&gpio 17 GPIO_ACTIVE_HIGH>;    /* RL/UD */
        sellvds-gpios = <&gpio 18 GPIO_ACTIVE_HIGH>; /* SELLVDS */
    };

...