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>
Showing
- arch/arm/mach-exynos/Kconfig 2 additions, 0 deletionsarch/arm/mach-exynos/Kconfig
- arch/arm/mach-exynos/Makefile 1 addition, 3 deletionsarch/arm/mach-exynos/Makefile
- drivers/soc/Kconfig 1 addition, 0 deletionsdrivers/soc/Kconfig
- drivers/soc/Makefile 1 addition, 0 deletionsdrivers/soc/Makefile
- drivers/soc/samsung/Kconfig 13 additions, 0 deletionsdrivers/soc/samsung/Kconfig
- drivers/soc/samsung/Makefile 2 additions, 0 deletionsdrivers/soc/samsung/Makefile
- drivers/soc/samsung/exynos-pmu.c 0 additions, 0 deletionsdrivers/soc/samsung/exynos-pmu.c
- drivers/soc/samsung/exynos-pmu.h 0 additions, 0 deletionsdrivers/soc/samsung/exynos-pmu.h
- drivers/soc/samsung/exynos3250-pmu.c 0 additions, 0 deletionsdrivers/soc/samsung/exynos3250-pmu.c
- drivers/soc/samsung/exynos4-pmu.c 0 additions, 0 deletionsdrivers/soc/samsung/exynos4-pmu.c
- drivers/soc/samsung/exynos5250-pmu.c 0 additions, 0 deletionsdrivers/soc/samsung/exynos5250-pmu.c
- drivers/soc/samsung/exynos5420-pmu.c 0 additions, 0 deletionsdrivers/soc/samsung/exynos5420-pmu.c
Loading
Please register or sign in to comment