linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH 0/3] thermal: exynos: Add kernel thermal support for exynos platform
@ 2011-12-21 11:59 Amit Daniel Kachhap
  2011-12-21 11:59 ` [RFC PATCH 1/3] thermal: exynos: Add thermal interface support for linux thermal layer Amit Daniel Kachhap
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Amit Daniel Kachhap @ 2011-12-21 11:59 UTC (permalink / raw)
  To: linux-pm, linux-samsung-soc
  Cc: linux-kernel, mjg59, linux-acpi, lenb, linaro-dev, lm-sensors,
	amit.kachhap, patches

All the patchset based on Kernel version 3.2-rc6 and uses the cpufreq
cooling registration api's implemented in earlier patchset 
http://www.spinics.net/lists/linux-pm/msg26500.html

The code added in this patchset adds a thermal interface layer for samsung
exynos platforms. This layer is registered from the hwmon based temperature
sensor and recieves/monitor the temperature from the sensor and informs the
generic thermal layer to take the necessary cooling action. Currently this
layer can be used to create only one thermal zone and hence only one
temperature sensor can register.

Some modifications are done in the temperature sensor driver to export the
information needed for the thermal interface to register with the core linux
thermal framework and with the cpu frequency based cooling devices.

A simple data/control flow diagrams to illustrate this,

Core Linux thermal <------->  Exynos thermal  <-------- Temperature Sensor
	  |                             |
	 \|/                            |
  Cpufreq cooling device <-----

Amit Daniel Kachhap (3):
  thermal: exynos: Add thermal interface support for linux thermal
    layer
  thermal: exynos4: Register the tmu sensor with the thermal interface
    layer
  ARM: exynos4: Add thermal sensor driver platform device support

 arch/arm/mach-exynos/Kconfig              |   12 ++
 arch/arm/mach-exynos/Makefile             |    1 +
 arch/arm/mach-exynos/clock.c              |    4 +
 arch/arm/mach-exynos/dev-tmu.c            |   64 +++++++
 arch/arm/mach-exynos/include/mach/irqs.h  |    2 +
 arch/arm/mach-exynos/include/mach/map.h   |    1 +
 arch/arm/mach-exynos/mach-origen.c        |    1 +
 arch/arm/plat-samsung/include/plat/devs.h |    1 +
 drivers/hwmon/exynos4_tmu.c               |   34 ++++-
 drivers/thermal/Kconfig                   |    8 +
 drivers/thermal/Makefile                  |    1 +
 drivers/thermal/exynos_thermal.c          |  255 +++++++++++++++++++++++++++++
 include/linux/exynos_thermal.h            |   59 +++++++
 include/linux/platform_data/exynos4_tmu.h |    7 +
 14 files changed, 447 insertions(+), 3 deletions(-)
 create mode 100644 arch/arm/mach-exynos/dev-tmu.c
 create mode 100644 drivers/thermal/exynos_thermal.c
 create mode 100644 include/linux/exynos_thermal.h


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

end of thread, other threads:[~2012-01-05  5:57 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-12-21 11:59 [RFC PATCH 0/3] thermal: exynos: Add kernel thermal support for exynos platform Amit Daniel Kachhap
2011-12-21 11:59 ` [RFC PATCH 1/3] thermal: exynos: Add thermal interface support for linux thermal layer Amit Daniel Kachhap
2011-12-21 11:59 ` [RFC PATCH 2/3] thermal: exynos4: Register the tmu sensor with the thermal interface layer Amit Daniel Kachhap
2012-01-03 22:25   ` [lm-sensors] " Guenter Roeck
2012-01-04 10:14     ` Amit Kachhap
2012-01-04 10:23       ` [linux-pm] " R, Durgadoss
2012-01-04 16:20         ` Guenter Roeck
2012-01-05  5:57       ` Donggeun Kim
2011-12-21 11:59 ` [RFC PATCH 3/3] ARM: exynos4: Add thermal sensor driver platform device support Amit Daniel Kachhap

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).