omap3: pm: Delink OPP layer from cpufreq
cover omap3: pm: Delink OPP layer from cpufreq
The OPP layer is currently contained in CONFIG_CPU_FREQ. When the ARM frequency is set via bootarg 'mpurate' the OPP layer is required to:
- verify that specified mpurate is valid and available in the OPP table.
- get voltage corresponding to specified frequency.
This is initial attempt to make OPP layer available without cpufreq. Since, this is initial version, i am making changes in board-omap3evm.c only. same change will be required in other board files as well. Will do so in next version of the patch.
I have also updated the OPP tables for OMAP3430 to include support for 720MHz. It will be a separate patch when I submit it next.
[1] http://marc.info/?l=linux-omap&m=127495955603835&w=2
Sanjeev Premi (1):
omap3: pm: Delink opp layer and cpufreq
arch/arm/mach-omap2/Makefile | 6 +- arch/arm/mach-omap2/board-omap3evm.c | 2 +- arch/arm/mach-omap2/cpufreq34xx.c | 164 -------------------------------- arch/arm/mach-omap2/omap3-opp.h | 20 ---- arch/arm/mach-omap2/opp34xx_data.c | 166 +++++++++++++++++++++++++++++++++ arch/arm/mach-omap2/pm34xx.c | 1 - arch/arm/plat-omap/Makefile | 7 +- arch/arm/plat-omap/cpu-omap.c | 47 +++++++++ arch/arm/plat-omap/include/plat/opp.h | 82 +--------------- arch/arm/plat-omap/opp.c | 46 --------- 10 files changed, 225 insertions(+), 316 deletions(-) delete mode 100644 arch/arm/mach-omap2/cpufreq34xx.c delete mode 100644 arch/arm/mach-omap2/omap3-opp.h create mode 100644 arch/arm/mach-omap2/opp34xx_data.c