commit | 4bd8459b6c3f59eaa93d5e942b58346f1b8c98da | [log] [tgz] |
---|---|---|
author | Peng Fan <peng.fan@nxp.com> | Tue Mar 03 10:14:50 2020 +0800 |
committer | Viresh Kumar <viresh.kumar@linaro.org> | Tue Mar 03 16:46:36 2020 +0530 |
tree | 166ff30e196224f75efdb60397e0bc018256a9e8 | |
parent | 3646f50a3838c5949a89ecbdb868497cdc05b8fd [diff] |
cpufreq: imx6q: read OCOTP through nvmem for imx6q Directly accessing OCOTP registers should be avoided, because it could not handle OCOTP clks and could not handle defer proper. With nvmem API, it is safe to access OCOTP registers. To make sure old dtb could work, the original code still kept. Signed-off-by: Peng Fan <peng.fan@nxp.com> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>