From: Javi Merino <javi.merino@arm.com>
To: linux-pm@vger.kernel.org
Cc: linux-kernel@vger.kernel.org, rui.zang@intel.com,
edubezval@gmail.com, Javi Merino <javi.merino@arm.com>
Subject: [PATCH v2 0/3] Hierarchical thermal zones
Date: Wed, 4 Nov 2015 17:37:39 +0000 [thread overview]
Message-ID: <1446658662-19582-1-git-send-email-javi.merino@arm.com> (raw)
This series adds the ability to create a hierarchy of thermal zones.
Thermal zones created via platform code or device tree can be set up
to calculate their temperature as the maximum of all its underlying
thermal zones. This came up from discussions during LPC.
The first patch adds the basic support to thermal core. Patch 2 adds
device tree support and patch 3 exports the hierarchy to sysfs.
Changes since v1:
- Fix the prototype of thermal_zone_{add,del}_subtz() for
!CONFIG_THERMAL as reported by the kbuild test robot
Javi Merino (3):
thermal: Add support for hierarchical thermal zones
thermal: of: parse stacked thermal zones from device tree
thermal: show the sub thermal zones in sysfs
.../devicetree/bindings/thermal/thermal.txt | 154 +++++++++++++++++-
Documentation/thermal/sysfs-api.txt | 40 +++++
drivers/thermal/of-thermal.c | 99 ++++++++++++
drivers/thermal/thermal_core.c | 173 ++++++++++++++++++++-
include/linux/thermal.h | 17 ++
5 files changed, 475 insertions(+), 8 deletions(-)
--
1.9.1
next reply other threads:[~2015-11-04 17:37 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-04 17:37 Javi Merino [this message]
2015-11-04 17:37 ` [PATCH v2 1/3] thermal: Add support for hierarchical thermal zones Javi Merino
2015-11-04 18:51 ` Eduardo Valentin
2015-11-09 15:20 ` Javi Merino
2015-11-04 17:37 ` [PATCH v2 2/3] thermal: of: parse stacked thermal zones from device tree Javi Merino
2015-11-04 18:56 ` Eduardo Valentin
2015-11-09 14:52 ` Javi Merino
2015-11-04 17:37 ` [PATCH v2 3/3] thermal: show the sub thermal zones in sysfs Javi Merino
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=1446658662-19582-1-git-send-email-javi.merino@arm.com \
--to=javi.merino@arm.com \
--cc=edubezval@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=rui.zang@intel.com \
/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).