ARM: EXYNOS: Add platform driver support for Exynos PMU
authorPankaj Dubey <pankaj.dubey@samsung.com>
Fri, 7 Nov 2014 00:26:40 +0000 (09:26 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Fri, 21 Nov 2014 13:49:44 +0000 (22:49 +0900)
commit14fc8b93d47323561edf5d482d4a4b3ee1b90286
tree4b356e43fea1d02859e08fbad9645eec53682789
parentc0adae9e51ab88293d6cc729c46fdb4365bf77f5
ARM: EXYNOS: Add platform driver support for Exynos PMU

This patch modifies Exynos Power Management Unit (PMU) initialization
implementation in following way:

- Added platform driver support for Exynos PMU IP.
- Added platform struct exynos_pmu_data to hold platform specific data.
- For each SoC's PMU support now we can add platform data and statically
  bind PMU configuration and SoC specific initialization function.
- Separate each SoC's PMU initialization function and make it as part of
  platform data.
- It also removes uses of soc_is_exynosXYZ().

Signed-off-by: Pankaj Dubey <pankaj.dubey@samsung.com>
Reviewed-by: Tomasz Figa <t.figa@samsung.com>
Tested-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/mach-exynos/Kconfig
arch/arm/mach-exynos/pmu.c