summaryrefslogtreecommitdiffstats
path: root/drivers/soc/samsung/Makefile
diff options
context:
space:
mode:
authorSylwester Nawrocki <s.nawrocki@samsung.com>2019-10-28 16:15:33 +0100
committerKrzysztof Kozlowski <krzk@kernel.org>2019-10-28 17:59:33 +0100
commit5ea428595cc53677a0a5bacd950307463c40411f (patch)
tree1e7608136c8178ea7163587bc5733b3d30465b3c /drivers/soc/samsung/Makefile
parent477f842f14aadbad098fe7e6cff87c5565dbe71b (diff)
downloadlinux-stable-5ea428595cc53677a0a5bacd950307463c40411f.tar.gz
linux-stable-5ea428595cc53677a0a5bacd950307463c40411f.tar.bz2
linux-stable-5ea428595cc53677a0a5bacd950307463c40411f.zip
soc: samsung: Add Exynos Adaptive Supply Voltage driver
The Adaptive Supply Voltage (ASV) driver adjusts CPU cluster operating points depending on exact revision of an SoC retrieved from the CHIPID block or the OTP memory. This allows for some power saving as for some CPU clock frequencies we can lower CPU cluster's supply voltage comparing to safe values common to all the SoC revisions. This patch adds support for Exynos5422/5800 SoC, it is partially based on code from https://github.com/hardkernel/linux repository, branch odroidxu4-4.14.y, files: arch/arm/mach-exynos/exynos5422-asv.[ch]. Tested on Odroid XU3, XU4, XU3 Lite. Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com> Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Diffstat (limited to 'drivers/soc/samsung/Makefile')
-rw-r--r--drivers/soc/samsung/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/soc/samsung/Makefile b/drivers/soc/samsung/Makefile
index 3b6a8797416c..edd1d6ea064d 100644
--- a/drivers/soc/samsung/Makefile
+++ b/drivers/soc/samsung/Makefile
@@ -1,5 +1,8 @@
# SPDX-License-Identifier: GPL-2.0
+obj-$(CONFIG_EXYNOS_ASV) += exynos-asv.o
+obj-$(CONFIG_EXYNOS_ASV_ARM) += exynos5422-asv.o
+
obj-$(CONFIG_EXYNOS_CHIPID) += exynos-chipid.o
obj-$(CONFIG_EXYNOS_PMU) += exynos-pmu.o