Linux-libre 3.16.85-gnu
[librecmc/linux-libre.git] / Documentation / devicetree / bindings / drm / tilcdc / panel.txt
1 Device-Tree bindings for tilcdc DRM generic panel output driver
2
3 Required properties:
4  - compatible: value should be "ti,tilcdc,panel".
5  - panel-info: configuration info to configure LCDC correctly for the panel
6    - ac-bias: AC Bias Pin Frequency
7    - ac-bias-intrpt: AC Bias Pin Transitions per Interrupt
8    - dma-burst-sz: DMA burst size
9    - bpp: Bits per pixel
10    - fdd: FIFO DMA Request Delay
11    - sync-edge: Horizontal and Vertical Sync Edge: 0=rising 1=falling
12    - sync-ctrl: Horizontal and Vertical Sync: Control: 0=ignore
13    - raster-order: Raster Data Order Select: 1=Most-to-least 0=Least-to-most
14    - fifo-th: DMA FIFO threshold
15  - display-timings: typical videomode of lcd panel.  Multiple video modes
16    can be listed if the panel supports multiple timings, but the 'native-mode'
17    should be the preferred/default resolution.  Refer to
18    Documentation/devicetree/bindings/video/display-timing.txt for display
19    timing binding details.
20
21 Recommended properties:
22  - pinctrl-names, pinctrl-0: the pincontrol settings to configure
23    muxing properly for pins that connect to TFP410 device
24
25 Example:
26
27         /* Settings for CDTech_S035Q01 / LCD3 cape: */
28         lcd3 {
29                 compatible = "ti,tilcdc,panel";
30                 pinctrl-names = "default";
31                 pinctrl-0 = <&bone_lcd3_cape_lcd_pins>;
32                 panel-info {
33                         ac-bias           = <255>;
34                         ac-bias-intrpt    = <0>;
35                         dma-burst-sz      = <16>;
36                         bpp               = <16>;
37                         fdd               = <0x80>;
38                         sync-edge         = <0>;
39                         sync-ctrl         = <1>;
40                         raster-order      = <0>;
41                         fifo-th           = <0>;
42                 };
43                 display-timings {
44                         native-mode = <&timing0>;
45                         timing0: 320x240 {
46                                 hactive         = <320>;
47                                 vactive         = <240>;
48                                 hback-porch     = <21>;
49                                 hfront-porch    = <58>;
50                                 hsync-len       = <47>;
51                                 vback-porch     = <11>;
52                                 vfront-porch    = <23>;
53                                 vsync-len       = <2>;
54                                 clock-frequency = <8000000>;
55                                 hsync-active    = <0>;
56                                 vsync-active    = <0>;
57                         };
58                 };
59         };