[PATCH 0/3] Convert i.MX6Q cpufreq to use nvmem API

From: peng . fan
Date: Mon Mar 02 2020 - 21:21:13 EST


From: Peng Fan <peng.fan@xxxxxxx>

Use nvmem API is better compared with direclty accessing OCOTP registers.
nvmem could handle OCOTP clk, defer probe.

Patch 1/3 is dts changes to add nvmem related properties
Patch 2/3 is a bug fix
Patch 3/3 is convert to nvmem API

Peng Fan (3):
ARM: dts: imx: add nvmem property for cpu0
cpufreq: imx6q: fix error handling
cpufreq: imx6q: read OCOTP through nvmem for imx6q

arch/arm/boot/dts/imx6dl.dtsi | 2 ++
arch/arm/boot/dts/imx6q.dtsi | 2 ++
arch/arm/boot/dts/imx6qdl.dtsi | 7 ++++
arch/arm/boot/dts/imx6sl.dtsi | 9 ++++++
arch/arm/boot/dts/imx6sll.dtsi | 6 ++++
arch/arm/boot/dts/imx6sx.dtsi | 6 ++++
drivers/cpufreq/imx6q-cpufreq.c | 72 +++++++++++++++++++++++------------------
7 files changed, 73 insertions(+), 31 deletions(-)

--
2.16.4