lkml.org 
[lkml]   [2012]   [Dec]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/8] Thermal Framework Enhancements
Date
This patch is a v1 based on the RFC submitted here:
https://patchwork.kernel.org/patch/1758921/

This patch set is based on Rui's -thermal tree, and is
tested on a Core-i5 and an Atom netbook.

This series contains 8 patches:
Patch 1/8: Creates new sensor level APIs
Patch 2/8: Creates new zone level APIs. The existing tzd structure is
kept as such for clarity and compatibility purposes.
Patch 3/8: Creates functions to add/remove a cdev to/from a zone. The
existing tcd structure need not be modified.
Patch 4/8: Adds a thermal_trip sysfs node, which exposes various trip
points for all sensors present in a zone.
Patch 5/8: Adds a thermal_map sysfs node. It is a compact representation
of the binding relationship between a sensor and a cdev,
within a zone.
Patch 6/8: Creates Documentation for the new APIs. A new file is
created for clarity. Final goal is to merge with the existing
file or refactor the files, as whatever seems appropriate.
Patch 7/8: Make PER ZONE values configurable through Kconfig
Patch 8/8: A dummy driver that can be used for testing. This is not for merge.

Thanks to Rui Zhang, Honghbo Zhang, Wei Ni for their feedback on the
RFC version.

Durgadoss R (8):
Thermal: Create sensor level APIs
Thermal: Create zone level APIs
Thermal: Add APIs to bind cdev to new zone structure
Thermal: Add Thermal_trip sysfs node
Thermal: Add 'thermal_map' sysfs node
Thermal: Add Documentation to new APIs
Thermal: Make PER_ZONE values configurable
Thermal: Dummy driver used for testing

Documentation/thermal/sysfs-api2.txt | 248 +++++++++
drivers/thermal/Kconfig | 19 +
drivers/thermal/Makefile | 3 +
drivers/thermal/thermal_sys.c | 932 ++++++++++++++++++++++++++++++++++
drivers/thermal/thermal_test.c | 315 ++++++++++++
include/linux/thermal.h | 124 +++++
6 files changed, 1641 insertions(+)
create mode 100644 Documentation/thermal/sysfs-api2.txt
create mode 100644 drivers/thermal/thermal_test.c
--
1.7.9.5



\
 
 \ /
  Last update: 2012-12-18 11:22    [from the cache]
©2003-2011 Jasper Spaans