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