]> git.baikalelectronics.ru Git - kernel.git/commit
[media] s5p-fimc: Add device tree support for the media device driver
authorSylwester Nawrocki <s.nawrocki@samsung.com>
Fri, 8 Mar 2013 15:59:33 +0000 (12:59 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 31 Mar 2013 13:46:12 +0000 (10:46 -0300)
commite4d977bb227ba6fee1fdf81b1ef44c349bfeb423
tree4a793ca4e1cce65a6f0e3d993d04b2a56f300b5a
parent76aad8765dd0ef7ec6889ccc9ffd473129dc40f9
[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>
drivers/media/platform/s5p-fimc/fimc-core.c
drivers/media/platform/s5p-fimc/fimc-mdevice.c
drivers/media/platform/s5p-fimc/fimc-mdevice.h
include/media/s5p_fimc.h