Skip to contentSkip to conversation

OMAP3: PM: Functions to get freq from opp and vice-versa

PATCH Superseded Sanjeev Premi 1 participant 1 message Oct 1, 2009

lore
Share & tools
lore
#0 lore raw

v2 cover OMAP3: PM: Functions to get freq from opp and vice-versa

This patch takes care of the comments from Kevin [1].

In addition, it fixes:

1) Simple typos
const struct omap_opp_table omap3_l3_opp_table = {
- VDD1_OPP1,
- VDD1_OPP3,
+ VDD2_OPP1,
+ VDD2_OPP3,
omap3_l3_rate_table

2) Lines overflowing 80 chars
-int opp_to_freq(unsigned long* freq, const struct omap_opp_table* table, u8 opp); -int freq_to_opp(u8* opp, const struct omap_opp_table* table, unsigned long freq); +int opp_to_freq(unsigned long* freq,
+ const struct omap_opp_table* table,
+ u8 opp);
+
+int freq_to_opp(u8* opp,
+ const struct omap_opp_table* table,
+ unsigned long freq);
+

[1] http://marc.info/?l=linux-omap&m=125433466225276&w=2

Sanjeev Premi (1):
OMAP3: PM: Functions to get freq from opp and vice-versa

 arch/arm/mach-omap2/omap3-opp.h           |   42 +++------------------
 arch/arm/mach-omap2/pm.c                  |   49 +++++++++++++++++++++++++
 arch/arm/mach-omap2/pm34xx.c              |   57 +++++++++++++++++++++++++++++
 arch/arm/plat-omap/include/mach/omap-pm.h |   22 +++++++++++
 4 files changed, 134 insertions(+), 36 deletions(-)