commit | 2733fb0d0699246711cf622e0e2faf02a05b69dc | [log] [tgz] |
---|---|---|
author | Anson Huang <Anson.Huang@nxp.com> | Mon Oct 08 14:07:34 2018 +0800 |
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Mon Oct 08 08:58:39 2018 +0200 |
tree | e87fe79080112acd6f785a8b9b3f635f700f3465 | |
parent | 9d21d33cab2dd5aadd23ad51baf1dc49d544fcc0 [diff] |
cpufreq: imx6q: read OCOTP through nvmem for imx6ul/imx6ull On i.MX6UL/i.MX6ULL, accessing OCOTP directly is wrong because the ocotp clock needs to be enabled first. Add support for reading OCOTP through the nvmem API, and keep the old method there to support old dtb. Signed-off-by: Anson Huang <Anson.Huang@nxp.com> Acked-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>