From: Amit Daniel Kachhap <amit.kachhap@linaro.org>
To: linux-pm@lists.linux-foundation.org, linux-samsung-soc@vger.kernel.org
Cc: linaro-dev@lists.linaro.org, patches@linaro.org,
linux-kernel@vger.kernel.org, lm-sensors@lm-sensors.org,
linux-acpi@vger.kernel.org
Subject: [PATCH 0/4] thermal: exynos: Add kernel thermal support for exynos platform
Date: Sat, 3 Mar 2012 16:36:03 +0530 [thread overview]
Message-ID: <1330772767-16120-1-git-send-email-amit.kachhap@linaro.org> (raw)
Changes since RFC:
*Moved the Temperature sensor driver from driver/hwmon/ to driver/mfd
as discussed with Guenter Roeck <guenter.roeck@ericsson.com> and
Donggeun Kim <dg77.kim@samsung.com> (https://lkml.org/lkml/2012/1/5/7)
*Some changes according to the changes in common cpu cooling APIs
All the patchset based on Kernel version 3.3-rc5 and uses the cpufreq
cooling registration APIs implemented in earlier patchset
https://lkml.org/lkml/2012/2/22/123
The code added in this patchset adds a thermal interface layer for samsung
exynos platforms. This layer is registered from the temperature sensor driver
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. The future goal is to make this handle
multiple thermal zones.
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 (4):
thermal: exynos: Add thermal interface support for linux thermal
layer
hwmon: exynos4: Move thermal sensor driver to driver/mfd directory
thermal: exynos4: Register the tmu sensor with the thermal interface
layer
ARM: exynos4: Add thermal sensor driver platform device support
Documentation/hwmon/exynos4_tmu | 81 -----
Documentation/mfd/exynos4_tmu | 52 +++
arch/arm/mach-exynos/Kconfig | 11 +
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/Kconfig | 10 -
drivers/hwmon/Makefile | 1 -
drivers/hwmon/exynos4_tmu.c | 514 -----------------------------
drivers/mfd/Kconfig | 10 +
drivers/mfd/Makefile | 1 +
drivers/mfd/exynos4_tmu.c | 443 +++++++++++++++++++++++++
drivers/thermal/Kconfig | 8 +
drivers/thermal/Makefile | 1 +
drivers/thermal/exynos_thermal.c | 272 +++++++++++++++
include/linux/exynos_thermal.h | 72 ++++
include/linux/platform_data/exynos4_tmu.h | 7 +
21 files changed, 951 insertions(+), 606 deletions(-)
delete mode 100644 Documentation/hwmon/exynos4_tmu
create mode 100644 Documentation/mfd/exynos4_tmu
create mode 100644 arch/arm/mach-exynos/dev-tmu.c
delete mode 100644 drivers/hwmon/exynos4_tmu.c
create mode 100644 drivers/mfd/exynos4_tmu.c
create mode 100644 drivers/thermal/exynos_thermal.c
create mode 100644 include/linux/exynos_thermal.h
next reply other threads:[~2012-03-03 11:06 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-03 11:06 Amit Daniel Kachhap [this message]
2012-03-03 11:06 ` [PATCH 1/4] thermal: exynos: Add thermal interface support for linux thermal layer Amit Daniel Kachhap
2012-03-12 10:51 ` R, Durgadoss
2012-03-13 4:22 ` Amit Kachhap
2012-03-13 4:48 ` R, Durgadoss
2012-03-03 11:06 ` [PATCH 2/4] hwmon: exynos4: Move thermal sensor driver to driver/mfd directory Amit Daniel Kachhap
2012-03-03 12:21 ` Sylwester Nawrocki
2012-03-05 8:44 ` Amit Kachhap
2012-03-03 14:52 ` [lm-sensors] " Guenter Roeck
2012-03-03 16:44 ` Mark Brown
2012-03-03 18:04 ` [lm-sensors] [linux-pm] " Guenter Roeck
2012-03-05 9:11 ` [lm-sensors] " Amit Kachhap
2012-03-03 11:06 ` [PATCH 3/4] thermal: exynos4: Register the tmu sensor with the thermal interface layer Amit Daniel Kachhap
2012-03-03 14:55 ` [lm-sensors] " Guenter Roeck
2012-03-03 11:06 ` [PATCH 4/4] ARM: exynos4: Add thermal sensor driver platform device support Amit Daniel Kachhap
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1330772767-16120-1-git-send-email-amit.kachhap@linaro.org \
--to=amit.kachhap@linaro.org \
--cc=linaro-dev@lists.linaro.org \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@lists.linux-foundation.org \
--cc=linux-samsung-soc@vger.kernel.org \
--cc=lm-sensors@lm-sensors.org \
--cc=patches@linaro.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).