mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-11-10 19:39:54 +01:00
ST's SPEAr13xx machines are based on CortexA9 ARM processors. These machines contain a thermal sensor for junction temperature monitoring. This patch adds support for this thermal sensor in existing thermal framework. [[email protected]: little code cleanup] [[email protected]: print the pointer correctly] [[email protected]: thermal/spear_thermal: add compilation dependency on PLAT_SPEAR] Signed-off-by: Vincenzo Frascino <[email protected]> Signed-off-by: Viresh Kumar <[email protected]> Signed-off-by: Viresh Kumar <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Len Brown <[email protected]>
27 lines
837 B
C
27 lines
837 B
C
/*
|
|
* SPEAr thermal driver platform data.
|
|
*
|
|
* Copyright (C) 2011-2012 ST Microelectronics
|
|
* Author: Vincenzo Frascino <[email protected]>
|
|
*
|
|
* This software is licensed under the terms of the GNU General Public
|
|
* License version 2, as published by the Free Software Foundation, and
|
|
* may be copied, distributed, and modified under those terms.
|
|
*
|
|
* 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 SPEAR_THERMAL_H
|
|
#define SPEAR_THERMAL_H
|
|
|
|
/* SPEAr Thermal Sensor Platform Data */
|
|
struct spear_thermal_pdata {
|
|
/* flags used to enable thermal sensor */
|
|
unsigned int thermal_flags;
|
|
};
|
|
|
|
#endif /* SPEAR_THERMAL_H */
|