[media] soc_camera: add support for dt binding soc_camera drivers
authorBen Dooks <ben.dooks@codethink.co.uk>
Sat, 5 Jul 2014 22:26:23 +0000 (19:26 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Wed, 30 Jul 2014 22:30:05 +0000 (19:30 -0300)
commit1ddc6a6caa94e1e19e8c657a9a6cbbecd39e63bd
tree7deb5c8baa6089e84012c70636efcf55f173781a
parentff493eef396b2480c270c1174264418739021e57
[media] soc_camera: add support for dt binding soc_camera drivers

Add initial support for OF based soc-camera devices that may be used
by any of the soc-camera drivers. The driver itself will need converting
to use OF.

These changes allow the soc-camera driver to do the connecting of any
async capable v4l2 device to the soc-camera driver. This has currently
been tested on the Renesas Lager board.

It currently only supports one input device per driver as this seems
to be the standard connection for these devices.

Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
[g.liakhovetski@gmx.de add check for multiple subdevices]
Tested-by: Robert Jarzmik <robert.jarzmik@free.fr>
Tested-by: Josh Wu <josh.wu@atmel.com>
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/platform/soc_camera/soc_camera.c