summaryrefslogtreecommitdiffstats
path: root/include/video
Commit message (Collapse)AuthorAgeFilesLines
* video: backlight: add fallbacks for client functionsLucas Stach2015-08-191-0/+17
| | | | | | | | | | | | | | | Add empty static inline function fallbacks if backlight support is not enabled, so that drivers using the backlight don't fail to build. Fixes: In function `simple_panel_ioctl': undefined reference to `of_backlight_find' undefined reference to `backlight_set_brightness_default' undefined reference to `backlight_set_brightness' Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* video: Add Video Pipeline (VPL) supportSascha Hauer2015-07-131-0/+46
| | | | | | | | | | | | | | | | | Complex video pipelines are modelled with the of_graph bindings in the devicetree. This patch adds a ioctl infrastructure to issue commands to the remote endpoint of a of_graph. Currently defined ioctls are prepare/unprepare, enable/disable and get_modes. This is enough to control LVDS or HDMI encoder or simple panels. A device node which contains of_graph endpoints can be registered as a VPL entity. An entity can receive ioctls via the .ioctl callback and also issue ioctls by calling vpl_ioctl. The core itself will never iterate over the entire pipeline. Instead, the different VPL entities should forward an ioctl to the next instance in the pipeline whenever necessary. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* video: Add backlight supportSascha Hauer2015-06-121-0/+20
| | | | | | | This adds a small backlight layer. It provides a backlight device on which the brightness parameter can be used to adjust the brightness. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* video: Add kernel fourcc definesSascha Hauer2014-03-291-0/+261
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* video: add atmel lcdc frambuffer supportJean-Christophe PLAGNIOL-VILLARD2013-01-281-0/+206
This IP is present on the at91sam9 until the sam9g45, on the sam9x5 we use a new IP. This driver is based on the linux one. Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Cc: Nicolas Ferre <nicolas.ferre@atmel.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>