aboutsummaryrefslogtreecommitdiffstats
path: root/include/media/s5p_fimc.h
diff options
context:
space:
mode:
authorSylwester Nawrocki <s.nawrocki@samsung.com>2013-03-08 10:59:33 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-03-31 09:46:12 -0400
commite2985a260e6615503b4fa8e66788708e750c7750 (patch)
tree4a793ca4e1cce65a6f0e3d993d04b2a56f300b5a /include/media/s5p_fimc.h
parenteb62d9e9d6327322a5fd3894bfecb3a3aa9391ba (diff)
[media] s5p-fimc: Add device tree support for the media device driver
This patch adds changes required for the main camera media device driver corresponding to the top level 'camera' device node. The drivers of devices corresponding to child nodes of the 'camera' node are looked up and and registered as sub-devices to the top level driver. The main driver's probing is deferred if any of the sub-device drivers is not yet initialized and ready. Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com> Signed-off-by: Andrzej Hajda <a.hajda@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/s5p_fimc.h')
-rw-r--r--include/media/s5p_fimc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/media/s5p_fimc.h b/include/media/s5p_fimc.h
index d6dbb791f423..e2c598962698 100644
--- a/include/media/s5p_fimc.h
+++ b/include/media/s5p_fimc.h
@@ -94,6 +94,7 @@ enum fimc_subdev_index {
94 IDX_SENSOR, 94 IDX_SENSOR,
95 IDX_CSIS, 95 IDX_CSIS,
96 IDX_FLITE, 96 IDX_FLITE,
97 IDX_IS_ISP,
97 IDX_FIMC, 98 IDX_FIMC,
98 IDX_MAX, 99 IDX_MAX,
99}; 100};