Back to home page

OSCL-LXR

 
 

    


0001 Device-Tree bindings for tilcdc DRM generic panel output driver
0002 
0003 Required properties:
0004  - compatible: value should be "ti,tilcdc,panel".
0005  - panel-info: configuration info to configure LCDC correctly for the panel
0006    - ac-bias: AC Bias Pin Frequency
0007    - ac-bias-intrpt: AC Bias Pin Transitions per Interrupt
0008    - dma-burst-sz: DMA burst size
0009    - bpp: Bits per pixel
0010    - fdd: FIFO DMA Request Delay
0011    - sync-edge: Horizontal and Vertical Sync Edge: 0=rising 1=falling
0012    - sync-ctrl: Horizontal and Vertical Sync: Control: 0=ignore
0013    - raster-order: Raster Data Order Select: 1=Most-to-least 0=Least-to-most
0014    - fifo-th: DMA FIFO threshold
0015  - display-timings: typical videomode of lcd panel.  Multiple video modes
0016    can be listed if the panel supports multiple timings, but the 'native-mode'
0017    should be the preferred/default resolution.  Refer to
0018    Documentation/devicetree/bindings/display/panel/display-timing.txt for display
0019    timing binding details.
0020 
0021 Optional properties:
0022 - backlight: phandle of the backlight device attached to the panel
0023 - enable-gpios: GPIO pin to enable or disable the panel
0024 
0025 Recommended properties:
0026  - pinctrl-names, pinctrl-0: the pincontrol settings to configure
0027    muxing properly for pins that connect to TFP410 device
0028 
0029 Example:
0030 
0031         /* Settings for CDTech_S035Q01 / LCD3 cape: */
0032         lcd3 {
0033                 compatible = "ti,tilcdc,panel";
0034                 pinctrl-names = "default";
0035                 pinctrl-0 = <&bone_lcd3_cape_lcd_pins>;
0036                 backlight = <&backlight>;
0037                 enable-gpios = <&gpio3 19 0>;
0038 
0039                 panel-info {
0040                         ac-bias           = <255>;
0041                         ac-bias-intrpt    = <0>;
0042                         dma-burst-sz      = <16>;
0043                         bpp               = <16>;
0044                         fdd               = <0x80>;
0045                         sync-edge         = <0>;
0046                         sync-ctrl         = <1>;
0047                         raster-order      = <0>;
0048                         fifo-th           = <0>;
0049                 };
0050                 display-timings {
0051                         native-mode = <&timing0>;
0052                         timing0: 320x240 {
0053                                 hactive         = <320>;
0054                                 vactive         = <240>;
0055                                 hback-porch     = <21>;
0056                                 hfront-porch    = <58>;
0057                                 hsync-len       = <47>;
0058                                 vback-porch     = <11>;
0059                                 vfront-porch    = <23>;
0060                                 vsync-len       = <2>;
0061                                 clock-frequency = <8000000>;
0062                                 hsync-active    = <0>;
0063                                 vsync-active    = <0>;
0064                         };
0065                 };
0066         };