drivers: soc: Add support for Exynos PMU driver
authorPankaj Dubey <pankaj.dubey@samsung.com>
Fri, 18 Dec 2015 03:32:16 +0000 (09:02 +0530)
committerKrzysztof Kozlowski <k.kozlowski@samsung.com>
Thu, 25 Feb 2016 01:18:07 +0000 (10:18 +0900)
commitbfce552d0b10e8fd79e703c67c084b4cf89ad68a
tree1918e8bcbbb0b960f985aca484e64f203c463796
parent92c4bf04735130023188995cb5dbc21fdedda88c
drivers: soc: Add support for Exynos PMU driver

This patch moves Exynos PMU driver implementation from "arm/mach-exynos"
to "drivers/soc/samsung". This driver is mainly used for setting misc
bits of register from PMU IP of Exynos SoC which will be required to
configure before Suspend/Resume. Currently all these settings are done
in "arch/arm/mach-exynos/pmu.c" but moving ahead for ARM64 based SoC
support, there is a need of this PMU driver in driver/* folder.

This driver uses existing DT binding information and there should
be no functionality change in the supported platforms.

Signed-off-by: Amit Daniel Kachhap <amitdanielk@gmail.com>
[tested on Peach-Pi (Exynos5880)]
Signed-off-by: Pankaj Dubey <pankaj.dubey@samsung.com>
Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
[for testing on Trats2 (Exynos4412) and Odroid XU3 (Exynos5422)]
Tested-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
[k.kozlowski: Rebased, add necessary infrastructure for building and
selecting drivers/soc because original patchset was on top of movement
SROMc to drivers/soc]
Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
18 files changed:
arch/arm/mach-exynos/Kconfig
arch/arm/mach-exynos/Makefile
arch/arm/mach-exynos/exynos-pmu.h [deleted file]
arch/arm/mach-exynos/exynos3250-pmu.c [deleted file]
arch/arm/mach-exynos/exynos4-pmu.c [deleted file]
arch/arm/mach-exynos/exynos5250-pmu.c [deleted file]
arch/arm/mach-exynos/exynos5420-pmu.c [deleted file]
arch/arm/mach-exynos/pmu.c [deleted file]
drivers/soc/Kconfig
drivers/soc/Makefile
drivers/soc/samsung/Kconfig [new file with mode: 0644]
drivers/soc/samsung/Makefile [new file with mode: 0644]
drivers/soc/samsung/exynos-pmu.c [new file with mode: 0644]
drivers/soc/samsung/exynos-pmu.h [new file with mode: 0644]
drivers/soc/samsung/exynos3250-pmu.c [new file with mode: 0644]
drivers/soc/samsung/exynos4-pmu.c [new file with mode: 0644]
drivers/soc/samsung/exynos5250-pmu.c [new file with mode: 0644]
drivers/soc/samsung/exynos5420-pmu.c [new file with mode: 0644]