hc
2024-02-19 1c055e55a242a33e574e48be530e06770a210dcd
kernel/drivers/devfreq/Kconfig
....@@ -1,3 +1,4 @@
1
+# SPDX-License-Identifier: GPL-2.0-only
12 menuconfig PM_DEVFREQ
23 bool "Generic Dynamic Voltage and Frequency Scaling (DVFS) support"
34 select SRCU
....@@ -76,13 +77,12 @@
7677 comment "DEVFREQ Drivers"
7778
7879 config ARM_EXYNOS_BUS_DEVFREQ
79
- tristate "ARM EXYNOS Generic Memory Bus DEVFREQ Driver"
80
+ tristate "ARM Exynos Generic Memory Bus DEVFREQ Driver"
8081 depends on ARCH_EXYNOS || COMPILE_TEST
8182 select DEVFREQ_GOV_SIMPLE_ONDEMAND
8283 select DEVFREQ_GOV_PASSIVE
8384 select DEVFREQ_EVENT_EXYNOS_PPMU
8485 select PM_DEVFREQ_EVENT
85
- select PM_OPP
8686 help
8787 This adds the common DEVFREQ driver for Exynos Memory bus. Exynos
8888 Memory bus has one more group of memory bus (e.g, MIF and INT block).
....@@ -91,15 +91,45 @@
9191 and adjusts the operating frequencies and voltages with OPP support.
9292 This does not yet operate with optimal voltages.
9393
94
-config ARM_TEGRA_DEVFREQ
95
- tristate "Tegra DEVFREQ Driver"
96
- depends on ARCH_TEGRA_124_SOC
94
+config ARM_IMX_BUS_DEVFREQ
95
+ tristate "i.MX Generic Bus DEVFREQ Driver"
96
+ depends on ARCH_MXC || COMPILE_TEST
97
+ select DEVFREQ_GOV_USERSPACE
98
+ help
99
+ This adds the generic DEVFREQ driver for i.MX interconnects. It
100
+ allows adjusting NIC/NOC frequency.
101
+
102
+config ARM_IMX8M_DDRC_DEVFREQ
103
+ tristate "i.MX8M DDRC DEVFREQ Driver"
104
+ depends on (ARCH_MXC && HAVE_ARM_SMCCC) || \
105
+ (COMPILE_TEST && HAVE_ARM_SMCCC)
97106 select DEVFREQ_GOV_SIMPLE_ONDEMAND
98
- select PM_OPP
107
+ select DEVFREQ_GOV_USERSPACE
108
+ help
109
+ This adds the DEVFREQ driver for the i.MX8M DDR Controller. It allows
110
+ adjusting DRAM frequency.
111
+
112
+config ARM_TEGRA_DEVFREQ
113
+ tristate "NVIDIA Tegra30/114/124/210 DEVFREQ Driver"
114
+ depends on ARCH_TEGRA_3x_SOC || ARCH_TEGRA_114_SOC || \
115
+ ARCH_TEGRA_132_SOC || ARCH_TEGRA_124_SOC || \
116
+ ARCH_TEGRA_210_SOC || \
117
+ COMPILE_TEST
118
+ depends on COMMON_CLK
99119 help
100120 This adds the DEVFREQ driver for the Tegra family of SoCs.
101121 It reads ACTMON counters of memory controllers and adjusts the
102122 operating frequencies and voltages with OPP support.
123
+
124
+config ARM_TEGRA20_DEVFREQ
125
+ tristate "NVIDIA Tegra20 DEVFREQ Driver"
126
+ depends on (TEGRA_MC && TEGRA20_EMC) || COMPILE_TEST
127
+ depends on COMMON_CLK
128
+ select DEVFREQ_GOV_SIMPLE_ONDEMAND
129
+ help
130
+ This adds the DEVFREQ driver for the Tegra20 family of SoCs.
131
+ It reads Memory Controller counters and adjusts the operating
132
+ frequencies and voltages with OPP support.
103133
104134 config ARM_ROCKCHIP_BUS_DEVFREQ
105135 tristate "ARM ROCKCHIP BUS DEVFREQ Driver"
....@@ -109,24 +139,14 @@
109139
110140 config ARM_ROCKCHIP_DMC_DEVFREQ
111141 tristate "ARM ROCKCHIP DMC DEVFREQ Driver"
112
- depends on ARCH_ROCKCHIP
113142 depends on (ARCH_ROCKCHIP && HAVE_ARM_SMCCC) || \
114143 (COMPILE_TEST && HAVE_ARM_SMCCC)
115144 select DEVFREQ_EVENT_ROCKCHIP_DFI
116145 select PM_DEVFREQ_EVENT
117
- select PM_OPP
118146 help
119147 This adds the DEVFREQ driver for the ROCKCHIP DMC(Dynamic Memory Controller).
120148 It sets the frequency for the memory controller and reads the usage counts
121149 from hardware.
122
-
123
-config ARM_ROCKCHIP_DMC_DEBUG
124
- tristate "ARM ROCKCHIP DMC DEBUG Driver"
125
- depends on ARCH_ROCKCHIP
126
- depends on (ARCH_ROCKCHIP && HAVE_ARM_SMCCC) || \
127
- (COMPILE_TEST && HAVE_ARM_SMCCC)
128
- help
129
- This adds the dmc debug driver for the ROCKCHIP DMC.
130150
131151 source "drivers/devfreq/event/Kconfig"
132152