Skip to content

Commit df320f8

Browse files
Sumit Guptavireshk
authored andcommitted
cpufreq: Add Tegra194 cpufreq driver
Add support for CPU frequency scaling on Tegra194. The frequency of each core can be adjusted by writing a clock divisor value to a MSR on the core. The range of valid divisors is queried from the BPMP. Signed-off-by: Mikko Perttunen <[email protected]> Signed-off-by: Sumit Gupta <[email protected]> Signed-off-by: Viresh Kumar <[email protected]>
1 parent 9b25d3f commit df320f8

File tree

3 files changed

+398
-0
lines changed

3 files changed

+398
-0
lines changed

drivers/cpufreq/Kconfig.arm

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -316,6 +316,13 @@ config ARM_TEGRA186_CPUFREQ
316316
help
317317
This adds the CPUFreq driver support for Tegra186 SOCs.
318318

319+
config ARM_TEGRA194_CPUFREQ
320+
tristate "Tegra194 CPUFreq support"
321+
depends on ARCH_TEGRA_194_SOC && TEGRA_BPMP
322+
default y
323+
help
324+
This adds CPU frequency driver support for Tegra194 SOCs.
325+
319326
config ARM_TI_CPUFREQ
320327
bool "Texas Instruments CPUFreq support"
321328
depends on ARCH_OMAP2PLUS

drivers/cpufreq/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ obj-$(CONFIG_ARM_TANGO_CPUFREQ) += tango-cpufreq.o
8383
obj-$(CONFIG_ARM_TEGRA20_CPUFREQ) += tegra20-cpufreq.o
8484
obj-$(CONFIG_ARM_TEGRA124_CPUFREQ) += tegra124-cpufreq.o
8585
obj-$(CONFIG_ARM_TEGRA186_CPUFREQ) += tegra186-cpufreq.o
86+
obj-$(CONFIG_ARM_TEGRA194_CPUFREQ) += tegra194-cpufreq.o
8687
obj-$(CONFIG_ARM_TI_CPUFREQ) += ti-cpufreq.o
8788
obj-$(CONFIG_ARM_VEXPRESS_SPC_CPUFREQ) += vexpress-spc-cpufreq.o
8889

0 commit comments

Comments
 (0)