All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/16] cpufreq: create & use cpufreq_generic_get() routine
@ 2013-08-23 15:50 Viresh Kumar
  2013-08-23 15:50 ` [PATCH 01/16] cpufreq: create " Viresh Kumar
                   ` (16 more replies)
  0 siblings, 17 replies; 25+ messages in thread
From: Viresh Kumar @ 2013-08-23 15:50 UTC (permalink / raw)
  To: rjw; +Cc: linaro-kernel, patches, cpufreq, linux-pm, linux-kernel, Viresh Kumar

CPUFreq drivers that use clock frameworks interface,i.e. clk_get_rate(), to get
CPUs clk rate, has similar sort of code used for most of them.

This patchset adds a generic ->get() which will do the same thing for them. All
those drivers are required to now is to set .get to cpufreq_generic_get() and
set their clk pointer in policy->clk during ->init().

Later part of this patchset fixes 17 drivers with this change.

That's part 7 of my generic cleanups for CPUFreq core, first six are here:

1: cpufreq: Introduce cpufreq_table_validate_and_show()
https://lkml.org/lkml/2013/8/8/263

2: cpufreq: define generic routines for cpufreq drivers
https://lkml.org/lkml/2013/8/10/48

3. CPUFreq: Implement light weight ->target(): for 3.13
https://lkml.org/lkml/2013/8/13/349

4. CPUFreq: set policy->cur in cpufreq core instead of drivers
https://lkml.org/lkml/2013/8/14/288

5. CPUFreq: Move freq change notifications out of drivers
https://lkml.org/lkml/2013/8/15/506

6. cpufreq: create & use cpufreq_generic_init() routine
http://lkml.org/lkml/2013/8/21/352

All these are pushed here:
https://git.linaro.org/gitweb?p=people/vireshk/linux.git;a=shortlog;h=refs/heads/for-v3.13

Viresh Kumar (16):
  cpufreq: create cpufreq_generic_get() routine
  cpufreq: arm_big_little: use cpufreq_generic_get() routine
  cpufreq: at32ap: use cpufreq_generic_get() routine
  cpufreq: cpu0: use cpufreq_generic_get() routine
  cpufreq: davinci: use cpufreq_generic_get() routine
  cpufreq: dbx500: use cpufreq_generic_get() routine
  cpufreq: exynos: use cpufreq_generic_get() routine
  cpufreq: imx6q: use cpufreq_generic_get() routine
  cpufreq: loongson2: use cpufreq_generic_get() routine
  cpufreq: omap: use cpufreq_generic_get() routine
  cpufreq: ppc: use cpufreq_generic_get() routine
  cpufreq: s3c: use cpufreq_generic_get() routine
  cpufreq: s5pv210: use cpufreq_generic_get() routine
  cpufreq: spear: use cpufreq_generic_get() routine
  cpufreq: tegra: use cpufreq_generic_get() routine
  cpufreq: unicore2: use cpufreq_generic_get() routine

 drivers/cpufreq/arm_big_little.c      | 10 ++--------
 drivers/cpufreq/at32ap-cpufreq.c      | 17 +++++------------
 drivers/cpufreq/cpufreq-cpu0.c        |  8 ++------
 drivers/cpufreq/cpufreq.c             | 26 ++++++++++++++++++++------
 drivers/cpufreq/davinci-cpufreq.c     | 13 +++----------
 drivers/cpufreq/dbx500-cpufreq.c      | 19 ++-----------------
 drivers/cpufreq/exynos-cpufreq.c      | 10 +++-------
 drivers/cpufreq/exynos5440-cpufreq.c  | 33 ++++++++++++++-------------------
 drivers/cpufreq/imx6q-cpufreq.c       |  8 ++------
 drivers/cpufreq/loongson2_cpufreq.c   | 15 +++++----------
 drivers/cpufreq/omap-cpufreq.c        | 32 ++++++++++----------------------
 drivers/cpufreq/ppc-corenet-cpufreq.c | 17 ++++-------------
 drivers/cpufreq/s3c24xx-cpufreq.c     | 10 +++-------
 drivers/cpufreq/s3c64xx-cpufreq.c     | 33 ++++++++++++---------------------
 drivers/cpufreq/s5pv210-cpufreq.c     | 21 ++++++---------------
 drivers/cpufreq/spear-cpufreq.c       |  8 ++------
 drivers/cpufreq/tegra-cpufreq.c       | 16 +++-------------
 drivers/cpufreq/unicore2-cpufreq.c    | 21 ++++++++-------------
 include/linux/cpufreq.h               |  3 +++
 19 files changed, 109 insertions(+), 211 deletions(-)

-- 
1.7.12.rc2.18.g61b472e


^ permalink raw reply	[flat|nested] 25+ messages in thread

end of thread, other threads:[~2013-08-29 13:07 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-08-23 15:50 [PATCH 00/16] cpufreq: create & use cpufreq_generic_get() routine Viresh Kumar
2013-08-23 15:50 ` [PATCH 01/16] cpufreq: create " Viresh Kumar
2013-08-23 15:50 ` [PATCH 02/16] cpufreq: arm_big_little: use " Viresh Kumar
2013-08-23 15:50 ` [PATCH 03/16] cpufreq: at32ap: " Viresh Kumar
2013-08-26  7:12   ` Hans-Christian Egtvedt
2013-08-23 15:50 ` [PATCH 04/16] cpufreq: cpu0: " Viresh Kumar
2013-08-29 13:07   ` Shawn Guo
2013-08-29 13:07     ` Shawn Guo
2013-08-23 15:50 ` [PATCH 05/16] cpufreq: davinci: " Viresh Kumar
2013-08-23 15:50 ` [PATCH 06/16] cpufreq: dbx500: " Viresh Kumar
2013-08-28 12:14   ` Linus Walleij
2013-08-23 15:50 ` [PATCH 07/16] cpufreq: exynos: " Viresh Kumar
2013-08-23 15:50 ` [PATCH 08/16] cpufreq: imx6q: " Viresh Kumar
2013-08-23 15:50 ` [PATCH 09/16] cpufreq: loongson2: " Viresh Kumar
2013-08-23 15:50 ` [PATCH 10/16] cpufreq: omap: " Viresh Kumar
2013-08-23 15:50 ` [PATCH 11/16] cpufreq: ppc: " Viresh Kumar
2013-08-23 15:50 ` [PATCH 12/16] cpufreq: s3c: " Viresh Kumar
2013-08-23 15:50 ` [PATCH 13/16] cpufreq: s5pv210: " Viresh Kumar
2013-08-23 15:50 ` [PATCH 14/16] cpufreq: spear: " Viresh Kumar
2013-08-23 15:50 ` [PATCH 15/16] cpufreq: tegra: " Viresh Kumar
2013-08-23 15:50 ` [PATCH 16/16] cpufreq: unicore2: " Viresh Kumar
2013-08-23 19:40 ` [PATCH 00/16] cpufreq: create & " Rafael J. Wysocki
2013-08-24  4:20   ` Viresh Kumar
2013-08-24 14:50     ` Rafael J. Wysocki
2013-08-26  4:30       ` Viresh Kumar

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.