mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-27 06:34:11 +08:00
5ea428595c
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>
41 lines
1.1 KiB
Plaintext
41 lines
1.1 KiB
Plaintext
# SPDX-License-Identifier: GPL-2.0
|
|
#
|
|
# SAMSUNG SoC drivers
|
|
#
|
|
menuconfig SOC_SAMSUNG
|
|
bool "Samsung SoC driver support" if COMPILE_TEST
|
|
|
|
if SOC_SAMSUNG
|
|
|
|
config EXYNOS_ASV
|
|
bool "Exynos Adaptive Supply Voltage support" if COMPILE_TEST
|
|
depends on (ARCH_EXYNOS && EXYNOS_CHIPID) || COMPILE_TEST
|
|
select EXYNOS_ASV_ARM if ARM && ARCH_EXYNOS
|
|
|
|
# There is no need to enable these drivers for ARMv8
|
|
config EXYNOS_ASV_ARM
|
|
bool "Exynos ASV ARMv7-specific driver extensions" if COMPILE_TEST
|
|
depends on EXYNOS_ASV
|
|
|
|
config EXYNOS_CHIPID
|
|
bool "Exynos Chipid controller driver" if COMPILE_TEST
|
|
depends on ARCH_EXYNOS || COMPILE_TEST
|
|
select MFD_SYSCON
|
|
select SOC_BUS
|
|
|
|
config EXYNOS_PMU
|
|
bool "Exynos PMU controller driver" if COMPILE_TEST
|
|
depends on ARCH_EXYNOS || ((ARM || ARM64) && COMPILE_TEST)
|
|
select EXYNOS_PMU_ARM_DRIVERS if ARM && ARCH_EXYNOS
|
|
|
|
# There is no need to enable these drivers for ARMv8
|
|
config EXYNOS_PMU_ARM_DRIVERS
|
|
bool "Exynos PMU ARMv7-specific driver extensions" if COMPILE_TEST
|
|
depends on EXYNOS_PMU
|
|
|
|
config EXYNOS_PM_DOMAINS
|
|
bool "Exynos PM domains" if COMPILE_TEST
|
|
depends on PM_GENERIC_DOMAINS || COMPILE_TEST
|
|
|
|
endif
|