quoted hunk ↗ jump to hunk
Add initial support for dynamic frequency switching on pieces of the imx
interconnect fabric.
All this driver actually does is set a clk rate based on an opp table.
No attempt is made to map registers or anything clever.
Signed-off-by: Leonard Crestez <redacted>
---
drivers/devfreq/Kconfig | 12 +++
drivers/devfreq/Makefile | 1 +
drivers/devfreq/imx-devfreq.c | 148 ++++++++++++++++++++++++++++++++++
3 files changed, 161 insertions(+)
create mode 100644 drivers/devfreq/imx-devfreq.c
diff --git a/drivers/devfreq/Kconfig b/drivers/devfreq/Kconfig
index defe1d438710..9088a151bafe 100644
--- a/drivers/devfreq/Kconfig
+++ b/drivers/devfreq/Kconfig
@@ -90,10 +90,22 @@ config ARM_EXYNOS_BUS_DEVFREQ
Each memory bus group could contain many memoby bus block. It reads
PPMU counters of memory controllers by using DEVFREQ-event device
and adjusts the operating frequencies and voltages with OPP support.
This does not yet operate with optimal voltages.
+config ARM_IMX_DEVFREQ
+ tristate "i.MX DEVFREQ Driver"
+ depends on ARCH_MXC || COMPILE_TEST
+ select DEVFREQ_GOV_PASSIVE
+ select DEVFREQ_GOV_SIMPLE_ONDEMAND
+ select DEVFREQ_GOV_USERSPACE
+ select PM_OPP
Hello,
I have a simple question:
Does it support ALL ARCH_MXC SoCs?
Cheers,
MyungJoo