rm680: Add camera init
authorSakari Ailus <sakari.ailus@maxwell.research.nokia.com>
Tue, 6 Mar 2012 16:33:16 +0000 (18:33 +0200)
committerVincent Desespringalle <v-desespringalle@ti.com>
Mon, 6 Aug 2012 08:40:54 +0000 (10:40 +0200)
commitb84e409a56949d31f77ea231e0fc088ce7427ed0
tree127c6c966abc065d9f8206b8b69b37a7ca660a8a
parentf3fc71c84b8133a838fd408c8575910c5cc61770
rm680: Add camera init

This currently introduces an extra file to the arch/arm/mach-omap2
directory: board-rm680-camera.c. Keeping the device tree in mind, the
context of the file could be represented as static data with one exception:
the external clock to the sensor.

This external clock is provided by the OMAP 3 SoC and required by the
sensor. The issue is that the clock originates from the ISP and not from
PRCM block as the other clocks and thus is not supported by the clock
framework. Otherwise the sensor driver could just clk_get() and clk_enable()
it, just like the regulators and gpios.

Signed-off-by: Sakari Ailus <sakari.ailus@maxwell.research.nokia.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Vincent Desespringalle <v-desespringalle@ti.com>
arch/arm/mach-omap2/Makefile
arch/arm/mach-omap2/board-rm680-camera.c [new file with mode: 0644]
arch/arm/mach-omap2/board-rm680.c