ARM: EXYNOS: read initial state of power domain from hw registers
authorMarek Szyprowski <m.szyprowski@samsung.com>
Thu, 12 Jul 2012 08:29:54 +0000 (17:29 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Thu, 12 Jul 2012 08:29:54 +0000 (17:29 +0900)
commit76eb5567afd18aa0a61fd31cd80fb80b616aaba4
treed340e70ceb523306a5c9fdefe9e240a81216cd1b
parentbd0a521e88aa7a06ae7aabaed7ae196ed4ad867a
ARM: EXYNOS: read initial state of power domain from hw registers

Some bootloaders disable unused power domains to reduce power
consuption. Power domain driver can easily read the actual state from
the hardware registers instead of assuming that their initial state is
always 'on'.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Reviewed-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/mach-exynos/pm_domains.c