linux/arch/arm/mach-ep93xx
Ryan Mallon 0fd1958050 ep93xx: Use ioremap for backlight driver
The ep93xx backlight driver uses a single register within the
framebuffer's register space. Currently the backlight driver uses a
static IO mapping for the register since the memory cannot be
requested by both drivers.

Convert the static mapping to use ioremap so that we can remove the
dependency on mach/hardware.h. To do so, we need remove the
request_mem_region from both the backlight and framebuffer drivers,
since whichever driver is loaded second will fail with -EBUSY
otherwise.

A proper fix is still required, and a FIXME comment has been added to
both drivers.

Signed-off-by: Ryan Mallon <rmallon@gmail.com>
Suggested-by: Arnd Bergmann <arnd@arndb.de>
Cc: Mika Westerberg <mika.westerberg@iki.fi>
Cc: Richard Purdie <rpurdie@rpsys.net>
Cc: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: H Hartley Sweeten <hsweeten@visionengravers.com>
2012-03-14 11:41:10 +11:00
..
include/mach ep93xx: Move GPIO defines to gpio-ep93xx.h 2012-03-14 11:41:09 +11:00
adssphere.c ep93xx: Move PHYS_BASE defines to local SoC header file 2012-03-14 11:41:02 +11:00
clock.c ARM: 6483/1: arm & sh: factorised duplicated clkdev.c 2010-11-26 10:51:04 +00:00
core.c ep93xx: Use ioremap for backlight driver 2012-03-14 11:41:10 +11:00
dma.c ep93xx: add dmaengine platform code 2011-06-08 15:45:52 -06:00
edb93xx.c ep93xx: Move PHYS_BASE defines to local SoC header file 2012-03-14 11:41:02 +11:00
gesbc9312.c ep93xx: Move PHYS_BASE defines to local SoC header file 2012-03-14 11:41:02 +11:00
Kconfig ep93xx: add support Vision EP9307 SoM 2011-10-17 11:22:11 +00:00
Makefile ep93xx: add support Vision EP9307 SoM 2011-10-17 11:22:11 +00:00
Makefile.boot ARM: 7022/1: allow to detect conflicting zreladdrs 2011-10-17 09:12:40 +01:00
micro9.c ep93xx: Move PHYS_BASE defines to local SoC header file 2012-03-14 11:41:02 +11:00
simone.c ep93xx: Move PHYS_BASE defines to local SoC header file 2012-03-14 11:41:02 +11:00
snappercl15.c ep93xx: Move PHYS_BASE defines to local SoC header file 2012-03-14 11:41:02 +11:00
soc.h ep93xx: Move PHYS_BASE defines to local SoC header file 2012-03-14 11:41:02 +11:00
ts72xx.c ep93xx: Move PHYS_BASE defines to local SoC header file 2012-03-14 11:41:02 +11:00
vision_ep9307.c ep93xx: Move PHYS_BASE defines to local SoC header file 2012-03-14 11:41:02 +11:00