exynos5-is: Add media device driver for exynos5 SoCs camera subsystem 59/30059/2
authorShaik Ameer Basha <shaik.ameer@samsung.com>
Tue, 5 Nov 2013 11:19:15 +0000 (16:49 +0530)
committerSylwester Nawrocki <s.nawrocki@samsung.com>
Thu, 27 Nov 2014 11:32:41 +0000 (03:32 -0800)
commit65fe4eba072b9ffa9411f3556be8a78e37ebd60d
treea005edd08b5d58bf39a168aa8ba557604fe7283d
parentbc918ee40e7796a72e31e0e949dbf177c595c5bc
exynos5-is: Add media device driver for exynos5 SoCs camera subsystem

This patch adds a top level media device driver for the Exynos5 SoC series
camera subsystem. The driver currently supports processing pipelines
involving following IP blocks:

* MIPI-CSIS
  MIPI CSI-2 bus front-end to the FIMC-LITE, image sensors with MIPI CSI-2
  bus should be linked with FIMC-LITE through this sub-device.

* FIMC-LITE
  Supports capture interface from device (Sensor, MIPI-CSIS) to memory.
  Supports interconnection (through internal data FIFO links) between
  devices like MIPI-CSIS and FIMC-IS.

* FIMC-IS
  Camera ISP with multiple image processing and peripheral devices like
  I2C or SPI bus controllers.

The G-Scaler IP is not yet supported.

The media device creates two kinds of pipelines for connecting the above
mentioned IP blocks.
The pipeline0 contains Sensor, MIPI-CSIS and FIMC-LITE devices and allows
to capture image data from external sensor to memory.
Pipeline1 uses FIMC-IS components for image processing operations on the
captured raw image data and provides scaled YUV image data at its output.

Pipeline0
 +--------+     +-----------+     +-----------+     +--------+
 | Sensor | --> | MIPI-CSIS | --> | FIMC-LITE | --> | Memory |
 +--------+     +-----------+     +-----------+     +--------+

Pipeline1
 +--------+     +---------+     +-----------+     +-----------+
 | Memory | --> |   ISP   | --> |    SCC    | --> |    SCP    |
 +--------+     +---------+     +-----------+     +-----------+

Signed-off-by: Shaik Ameer Basha <shaik.ameer@samsung.com>
Signed-off-by: Arun Kumar K <arun.kk@samsung.com>
[s.nawrocki@samsung.com: improved the commit description,
 removed inclusion of nonexistent <linux/of_i2c.h> header]
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Change-Id: Icccb5c45cebe4b46790a1bdce436c00090924d7a
drivers/media/platform/exynos5-is/exynos5-mdev.c [new file with mode: 0644]
drivers/media/platform/exynos5-is/exynos5-mdev.h [new file with mode: 0644]