diff options
| author | Sylwester Nawrocki <s.nawrocki@samsung.com> | 2013-03-26 07:20:30 -0400 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-03-31 09:42:58 -0400 |
| commit | 02399e35e6bb716ce9636eba006b792362270034 (patch) | |
| tree | 24ec7af43a7ee0c310bf6dd64457396875f7d268 /include/media | |
| parent | ee12b049104118a58ac13da207a84c867191b17a (diff) | |
[media] s5p-csis: Add device tree support
This patch support for binding the driver to the MIPI-CSIS
devices instantiated from device tree and parsing the SoC
and board specific properties. The MIPI CSI-2 channel is
determined by the value of reg property placed in csis'
port subnode.
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include/media')
| -rw-r--r-- | include/media/s5p_fimc.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/include/media/s5p_fimc.h b/include/media/s5p_fimc.h index 28f3590aa031..d6dbb791f423 100644 --- a/include/media/s5p_fimc.h +++ b/include/media/s5p_fimc.h | |||
| @@ -15,6 +15,19 @@ | |||
| 15 | #include <media/media-entity.h> | 15 | #include <media/media-entity.h> |
| 16 | 16 | ||
| 17 | /* | 17 | /* |
| 18 | * Enumeration of data inputs to the camera subsystem. | ||
| 19 | */ | ||
| 20 | enum fimc_input { | ||
| 21 | FIMC_INPUT_PARALLEL_0 = 1, | ||
| 22 | FIMC_INPUT_PARALLEL_1, | ||
| 23 | FIMC_INPUT_MIPI_CSI2_0 = 3, | ||
| 24 | FIMC_INPUT_MIPI_CSI2_1, | ||
| 25 | FIMC_INPUT_WRITEBACK_A = 5, | ||
| 26 | FIMC_INPUT_WRITEBACK_B, | ||
| 27 | FIMC_INPUT_WRITEBACK_ISP = 5, | ||
| 28 | }; | ||
| 29 | |||
| 30 | /* | ||
| 18 | * Enumeration of the FIMC data bus types. | 31 | * Enumeration of the FIMC data bus types. |
| 19 | */ | 32 | */ |
| 20 | enum fimc_bus_type { | 33 | enum fimc_bus_type { |
