summaryrefslogtreecommitdiffstats
path: root/drivers/soc/samsung/Makefile
diff options
context:
space:
mode:
authorMarek Szyprowski <m.szyprowski@samsung.com>2020-07-21 20:09:00 +0200
committerArnd Bergmann <arnd@arndb.de>2020-07-22 22:33:57 +0200
commit00067ca5331e81f609d0e1255d4807ba24488aad (patch)
treed203773c050d0779d6d0fcf9c4bbbe2b5f0eeeeb /drivers/soc/samsung/Makefile
parentMerge tag 'tegra-for-5.9-soc' of git://git.kernel.org/pub/scm/linux/kernel/gi... (diff)
downloadlinux-00067ca5331e81f609d0e1255d4807ba24488aad.tar.xz
linux-00067ca5331e81f609d0e1255d4807ba24488aad.zip
soc: samsung: exynos-regulator-coupler: Add simple voltage coupler for Exynos5800
Add a simple custom voltage regulator coupler for Exynos5800 SoCs, which require coupling between "vdd_arm" and "vdd_int" regulators. This coupler ensures that the voltage values don't go below the bootloader-selected operation point during the boot process until the clients set their constraints. It is achieved by assuming minimal voltage value equal to the current value if no constraints are set. This also ensures proper voltage balancing if any of the client driver is missing. The balancing code comes from the regulator/core.c with the additional logic for handling regulators without client constraints applied added. Link: https://lore.kernel.org/r/20200721180900.13844-5-krzk@kernel.org Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Reviewed-by: Dmitry Osipenko <digetx@gmail.com> Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'drivers/soc/samsung/Makefile')
-rw-r--r--drivers/soc/samsung/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/soc/samsung/Makefile b/drivers/soc/samsung/Makefile
index edd1d6ea064d..ecc3a32f6406 100644
--- a/drivers/soc/samsung/Makefile
+++ b/drivers/soc/samsung/Makefile
@@ -9,3 +9,4 @@ obj-$(CONFIG_EXYNOS_PMU) += exynos-pmu.o
obj-$(CONFIG_EXYNOS_PMU_ARM_DRIVERS) += exynos3250-pmu.o exynos4-pmu.o \
exynos5250-pmu.o exynos5420-pmu.o
obj-$(CONFIG_EXYNOS_PM_DOMAINS) += pm_domains.o
+obj-$(CONFIG_EXYNOS_REGULATOR_COUPLER) += exynos-regulator-coupler.o