]> git.baikalelectronics.ru Git - kernel.git/commit
OMAP: VRFB: convert vrfb to platform device
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Mon, 8 Oct 2012 11:35:44 +0000 (14:35 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 17 Oct 2012 09:09:35 +0000 (12:09 +0300)
commit0db29d4ea9c37df300e325dc4735f3580c8b6713
tree11c5b6369a7fbf9d588a2f1e02f482cd15009183
parent1347743ab85deacc11378ae9a8eddeeaf6e10b63
OMAP: VRFB: convert vrfb to platform device

This patch converts vrfb library into a platform device, in an effort to
remove omap dependencies.

The platform device is registered in arch/arm/plat-omap/fb.c and
assigned resources depending on whether running on omap2 or omap3.

The vrfb driver will parse those resources and use them to access vrfb
configuration registers and the vrfb virtual rotation areas.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Cc: Tony Lindgren <tony@atomide.com>
arch/arm/plat-omap/fb.c
drivers/video/omap2/vrfb.c