lkml.org 
[lkml]   [2015]   [Nov]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v2 0/3] Hierarchical thermal zones
Date
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



\
 
 \ /
  Last update: 2015-11-04 19:01    [W:0.078 / U:0.196 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site