]> git.kernelconcepts.de Git - karo-tx-linux.git/blob - Documentation/devicetree/bindings/display/panel/sharp,ls037v7dw01.txt
compiler.h: cast away attributes in WRITE_ONCE magic
[karo-tx-linux.git] / Documentation / devicetree / bindings / display / panel / sharp,ls037v7dw01.txt
1 SHARP LS037V7DW01 TFT-LCD panel
2 ===================================
3
4 Required properties:
5 - compatible: "sharp,ls037v7dw01"
6
7 Optional properties:
8 - label: a symbolic name for the panel
9 - enable-gpios: a GPIO spec for the optional enable pin.
10   This pin is the INI pin as specified in the LS037V7DW01.pdf file.
11 - reset-gpios: a GPIO spec for the optional reset pin.
12   This pin is the RESB pin as specified in the LS037V7DW01.pdf file.
13 - mode-gpios: a GPIO
14   ordered MO, LR, and UD as specified in the LS037V7DW01.pdf file.
15
16 Required nodes:
17 - Video port for DPI input
18
19 This panel can have zero to five GPIOs to configure to change configuration
20 between QVGA and VGA mode and the scan direction. As these pins can be also
21 configured with external pulls, all the GPIOs are considered optional with holes
22 in the array.
23
24 Example
25 -------
26
27 Example when connected to a omap2+ based device:
28
29 lcd0: display {
30         compatible = "sharp,ls037v7dw01";
31         power-supply = <&lcd_3v3>;
32         enable-gpios = <&gpio5 24 GPIO_ACTIVE_HIGH>;    /* gpio152, lcd INI */
33         reset-gpios = <&gpio5 27 GPIO_ACTIVE_HIGH>;     /* gpio155, lcd RESB */
34         mode-gpios = <&gpio5 26 GPIO_ACTIVE_HIGH        /* gpio154, lcd MO */
35                       &gpio1 2 GPIO_ACTIVE_HIGH         /* gpio2, lcd LR */
36                       &gpio1 3 GPIO_ACTIVE_HIGH>;       /* gpio3, lcd UD */
37
38         port {
39                 lcd_in: endpoint {
40                         remote-endpoint = <&dpi_out>;
41                 };
42         };
43 };