]> rtime.felk.cvut.cz Git - can-eth-gw-linux.git/commit
staging: drm/imx: add i.MX IPUv3 base driver
authorSascha Hauer <s.hauer@pengutronix.de>
Fri, 21 Sep 2012 08:07:49 +0000 (10:07 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 21 Sep 2012 16:17:06 +0000 (09:17 -0700)
commitaecfbdb1803b60bc26616ada7e432c8f9a58ba42
tree4dba3b383177c18cce9e36ed71000330b88af17b
parent19022aaae677dfa171a719e9d1ff04823ce65a65
staging: drm/imx: add i.MX IPUv3 base driver

The IPU is the Image Processing Unit found on i.MX51/53/6 SoCs. It
features several units for image processing, this patch adds support
for the units needed for Framebuffer support, namely:

- Display Controller (dc)
- Display Interface (di)
- Display Multi Fifo Controller (dmfc)
- Display Processor (dp)
- Image DMA Controller (idmac)

This patch is based on the Freescale driver, but follows a different
approach. The Freescale code implements logical idmac channels and
the handling of the subunits is hidden in common idmac code pathes
in big switch/case statements. This patch instead just provides code
and resource management for the different subunits. The user, in this
case the framebuffer driver, decides how the different units play
together.

The IPU has other units missing in this patch:

- CMOS Sensor Interface (csi)
- Video Deinterlacer (vdi)
- Sensor Multi FIFO Controler (smfc)
- Image Converter (ic)
- Image Rotator (irt)

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/imx-drm/Kconfig
drivers/staging/imx-drm/Makefile
drivers/staging/imx-drm/imx-drm-core.c
drivers/staging/imx-drm/ipu-v3/Makefile [new file with mode: 0644]
drivers/staging/imx-drm/ipu-v3/imx-ipu-v3.h [new file with mode: 0644]
drivers/staging/imx-drm/ipu-v3/ipu-common.c [new file with mode: 0644]
drivers/staging/imx-drm/ipu-v3/ipu-dc.c [new file with mode: 0644]
drivers/staging/imx-drm/ipu-v3/ipu-di.c [new file with mode: 0644]
drivers/staging/imx-drm/ipu-v3/ipu-dmfc.c [new file with mode: 0644]
drivers/staging/imx-drm/ipu-v3/ipu-dp.c [new file with mode: 0644]
drivers/staging/imx-drm/ipu-v3/ipu-prv.h [new file with mode: 0644]