linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v5 0/3] DEVFREQ, DVFS Framework for Non-CPU Devices.
@ 2011-08-08  9:03 MyungJoo Ham
  2011-08-08  9:03 ` [PATCH v5 1/3] PM: Introduce DEVFREQ: generic DVFS framework with device-specific OPPs MyungJoo Ham
                   ` (4 more replies)
  0 siblings, 5 replies; 13+ messages in thread
From: MyungJoo Ham @ 2011-08-08  9:03 UTC (permalink / raw)
  To: linux-pm; +Cc: Len Brown, Greg Kroah-Hartman, Kyungmin Park, Thomas Gleixner

For a usage example, please look at
http://git.infradead.org/users/kmpark/linux-2.6-samsung/shortlog/refs/heads/devfreq

In the above git tree, DVFS (dynamic voltage and frequency scaling) mechanism
is applied to the memory bus of Exynos4210 for Exynos4210-NURI boards.
In the example, the LPDDR2 DRAM frequency changes between 133, 266, and 400MHz
and other related clocks simply follow the determined DDR RAM clock.

The DEVFREQ driver for Exynos4210 memory bus is at
/arch/arm/mach-exynos4/devfreq_bus.c in the git tree.

In the dd (writing and reading 360MiB) test with NURI board, the memory
throughput was not changed (the performance is not deteriorated) while
the SoC power consumption has been reduced by 1%. When the memory access
is not that intense while the CPU is heavily used, the SoC power consumption
has been reduced by 6%. The power consumption has been compared with the
case using the conventional Exynos4210 CPUFREQ driver, which sets memory
bus frequency according to the CPU core frequency. Besides, when the CPU core
running slow and the memory access is intense, the performance (memory
throughput) has been increased by 11% (with higher SoC power consumption of
5%). The tested governor is "simple-ondemand".

MyungJoo Ham (3):
  PM: Introduce DEVFREQ: generic DVFS framework with device-specific
    OPPs
  PM / DEVFREQ: add basic governors
  PM / DEVFREQ: add sysfs interface

 Documentation/ABI/testing/sysfs-devices-power |   45 ++
 drivers/base/power/Makefile                   |    1 +
 drivers/base/power/devfreq.c                  |  555 +++++++++++++++++++++++++
 drivers/base/power/opp.c                      |    9 +
 include/linux/devfreq.h                       |  111 +++++
 kernel/power/Kconfig                          |   34 ++
 6 files changed, 755 insertions(+), 0 deletions(-)
 create mode 100644 drivers/base/power/devfreq.c
 create mode 100644 include/linux/devfreq.h

-- 
1.7.4.1

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

end of thread, other threads:[~2011-08-17  9:40 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-08  9:03 [PATCH v5 0/3] DEVFREQ, DVFS Framework for Non-CPU Devices MyungJoo Ham
2011-08-08  9:03 ` [PATCH v5 1/3] PM: Introduce DEVFREQ: generic DVFS framework with device-specific OPPs MyungJoo Ham
2011-08-11  1:00   ` Turquette, Mike
2011-08-17  9:40     ` MyungJoo Ham
2011-08-08  9:03 ` [PATCH v5 2/3] PM / DEVFREQ: add basic governors MyungJoo Ham
2011-08-11  1:35   ` Turquette, Mike
2011-08-16  8:52     ` MyungJoo Ham
2011-08-16 18:11       ` Turquette, Mike
2011-08-17  7:32         ` MyungJoo Ham
2011-08-08  9:03 ` [PATCH v5 3/3] PM / DEVFREQ: add sysfs interface MyungJoo Ham
2011-08-08  9:53 ` [PATCH v5 0/3] DEVFREQ, DVFS Framework for Non-CPU Devices MyungJoo Ham
2011-08-08 21:35   ` Greg KH
2011-08-10 21:09 ` Rafael J. Wysocki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).