]> Pileus Git - ~andy/linux/commit
ARM: OMAP: voltage: voltage layer present, even when CONFIG_PM=n
authorKevin Hilman <khilman@ti.com>
Wed, 21 Sep 2011 16:24:53 +0000 (09:24 -0700)
committerKevin Hilman <khilman@ti.com>
Wed, 21 Sep 2011 16:36:21 +0000 (09:36 -0700)
commit2edc7ba5e8fdba327e16d3d0086e831c5fe6f577
tree33980ce848dc8b3027c155b6e92ddd3d41efd115
parentee7fbba63e334481049a7939b8071160824447d3
ARM: OMAP: voltage: voltage layer present, even when CONFIG_PM=n

Even when CONFIG_PM=n, we try to scale the boot voltage to a sane,
known value using OPP table to find matching voltage based on boot
frequency.  This should be done, even when CONFIG_PM=n to avoid
mis-configured bootloaders and/or boot voltage assumptions made by
boot loaders.

Also fixes various compile problems due to depenencies between voltage
domain and powerdomain code (also present when CONFIG_PM=n).

Reported-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Kevin Hilman <khilman@ti.com>
arch/arm/mach-omap2/Makefile
arch/arm/mach-omap2/voltage.h