]> git.karo-electronics.de Git - karo-tx-linux.git/commit
OMAP4: Smartreflex framework extensions
authorThara Gopinath <thara@ti.com>
Wed, 18 Aug 2010 06:53:12 +0000 (12:23 +0530)
committerKevin Hilman <khilman@deeprootsystems.com>
Wed, 22 Dec 2010 22:31:50 +0000 (14:31 -0800)
commitb35cecf978e33bf8f4be0f36ffe00fe10f381c4a
treee64d7071a277931f9481761c1fa788994faab418
parentfb200cfb2330b959eabc94e2f2c15717ce8466af
OMAP4: Smartreflex framework extensions

This patch extends the smartreflex framework to support
OMAP4. The changes are minor like compiling smartreflex Kconfig
option for OMAP4 also, and a couple of OMAP4 checks in
the smartreflex framework.

The change in sr_device.c where new logic has to be introduced
for reading the efuse registers is due to the fact that in OMAP4
the efuse registers are 24 bit aligned. A __raw_readl will
fail for non-32 bit aligned address and hence the 8-bit read
and shift.

Signed-off-by: Thara Gopinath <thara@ti.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
arch/arm/mach-omap2/smartreflex.c
arch/arm/mach-omap2/sr_device.c
arch/arm/plat-omap/Kconfig