Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/rzhang/linux
Pull thermal management update from Zhang Rui: "Highlights: - Introduction of thermal policy support, together with three new thermal governors, including step_wise, user_space, fire_share. - Introduction of ST-Ericsson db8500_thermal driver and ST-Ericsson db8500_cpufreq_cooling driver. - Thermal Kconfig file and Makefile refactor. - Fixes for generic thermal layer, generic cpucooling, rcar thermal driver and Exynos thermal driver." * 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/rzhang/linux: (36 commits) Thermal: Fix DEFAULT_THERMAL_GOVERNOR Thermal: fix a NULL pointer dereference when generic thermal layer is built as a module thermal: rcar: add rcar_zone_to_priv() macro thermal: rcar: fixup the unit of temperature thermal: cpu cooling: allow module builds thermal: cpu cooling: use const parameter while registering Thermal: Add ST-Ericsson DB8500 thermal properties and platform data. Thermal: Add ST-Ericsson DB8500 thermal driver. drivers/thermal/Makefile refactor Exynos: Add missing dependency Refactor drivers/thermal/Kconfig thermal: cpu_cooling: Make 'notify_device' static Thermal: Remove the cooling_cpufreq_list. Thermal: fix bug of counting cpu frequencies. Thermal: add indent for code alignment. thermal: rcar_thermal: remove explicitly used devm_kfree/iounap() thermal: user_space: Add missing static storage class specifiers thermal: fair_share: Add missing static storage class specifiers thermal: step_wise: Add missing static storage class specifiers Thermal: Fix oops and unlocking in thermal_sys.c ...
This commit is contained in:
commit
50851c6248
27 changed files with 2039 additions and 399 deletions
38
include/linux/platform_data/db8500_thermal.h
Normal file
38
include/linux/platform_data/db8500_thermal.h
Normal file
|
@ -0,0 +1,38 @@
|
|||
/*
|
||||
* db8500_thermal.h - DB8500 Thermal Management Implementation
|
||||
*
|
||||
* Copyright (C) 2012 ST-Ericsson
|
||||
* Copyright (C) 2012 Linaro Ltd.
|
||||
*
|
||||
* Author: Hongbo Zhang <hongbo.zhang@linaro.com>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*/
|
||||
|
||||
#ifndef _DB8500_THERMAL_H_
|
||||
#define _DB8500_THERMAL_H_
|
||||
|
||||
#include <linux/thermal.h>
|
||||
|
||||
#define COOLING_DEV_MAX 8
|
||||
|
||||
struct db8500_trip_point {
|
||||
unsigned long temp;
|
||||
enum thermal_trip_type type;
|
||||
char cdev_name[COOLING_DEV_MAX][THERMAL_NAME_LENGTH];
|
||||
};
|
||||
|
||||
struct db8500_thsens_platform_data {
|
||||
struct db8500_trip_point trip_points[THERMAL_MAX_TRIPS];
|
||||
int num_trips;
|
||||
};
|
||||
|
||||
#endif /* _DB8500_THERMAL_H_ */
|
Loading…
Add table
Add a link
Reference in a new issue