soc: samsung: pm_domains: Prepare for supporting ARMv8 Exynos
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>
Tue, 10 May 2016 13:52:21 +0000 (15:52 +0200)
committerKrzysztof Kozlowski <k.kozlowski@samsung.com>
Mon, 30 May 2016 07:12:53 +0000 (09:12 +0200)
commitc028e175713698b88694c2075853963d07c81c13
tree4755cc690a542a0aa173bbc72d4ce5ce0e03c37f
parente465007a7a7ca745f018fdcacb0a5a911a5c50d9
soc: samsung: pm_domains: Prepare for supporting ARMv8 Exynos

The ARMv8 Exynos family (Exynos5433 and Exynos7420) uses different value
(0xf instead of 0x7) for controlling the power domain on/off registers
(both for control and for status).

Choose the value depending on the compatible. This prepares the driver
for supporting ARMv8 SoCs.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Reviewed-by: Javier Martinez Canillas <javier@osg.samsung.com>
drivers/soc/samsung/pm_domains.c