cpufreq: Add imx-cpufreq-dt driver
Right now in upstream imx8m cpufreq support just lists a common subset of OPPs because the higher ones should only be attempted after checking speed grading in fuses. Add a small driver which checks speed grading from nvmem cells before registering cpufreq-dt. This driver allows unlocking all frequencies for imx8mm and imx8mq and could be applied to other chips like imx7d Signed-off-by:Leonard Crestez <leonard.crestez@nxp.com> Signed-off-by:
Viresh Kumar <viresh.kumar@linaro.org>
Showing
- drivers/cpufreq/Kconfig.arm 9 additions, 0 deletionsdrivers/cpufreq/Kconfig.arm
- drivers/cpufreq/Makefile 1 addition, 0 deletionsdrivers/cpufreq/Makefile
- drivers/cpufreq/cpufreq-dt-platdev.c 3 additions, 0 deletionsdrivers/cpufreq/cpufreq-dt-platdev.c
- drivers/cpufreq/imx-cpufreq-dt.c 96 additions, 0 deletionsdrivers/cpufreq/imx-cpufreq-dt.c
- drivers/soc/imx/soc-imx8.c 3 additions, 0 deletionsdrivers/soc/imx/soc-imx8.c
Loading
Please register or sign in to comment