OSDN Git Service

cpufreq: Add imx-cpufreq-dt driver
authorLeonard Crestez <leonard.crestez@nxp.com>
Mon, 13 May 2019 11:01:38 +0000 (11:01 +0000)
committerViresh Kumar <viresh.kumar@linaro.org>
Mon, 20 May 2019 07:17:48 +0000 (12:47 +0530)
commit4d28ba1d62c48d5242ca30fa0051ab3498bc5c5b
treeb351fa8d5a16a289818825ac963153f1f47b3396
parenta188339ca5a396acc588e5851ed7e19f66b0ebd9
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>
drivers/cpufreq/Kconfig.arm
drivers/cpufreq/Makefile
drivers/cpufreq/cpufreq-dt-platdev.c
drivers/cpufreq/imx-cpufreq-dt.c [new file with mode: 0644]
drivers/soc/imx/soc-imx8.c