2 * Copyright (c) 2012 Samsung Electronics Co., Ltd.
3 * http://www.samsung.com
4 * Akshay Saraswat <akshay.s@samsung.com>
6 * Thermal Management Unit
8 * See file CREDITS for list of people who contributed to this
11 * This program is free software; you can redistribute it and/or modify
12 * it under the terms of the GNU General Public License version 2 as
13 * published by the Free Software Foundation.
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write to the Free Software
16 * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
25 TMU_STATUS_NORMAL = 0,
31 * Monitors status of the TMU device and exynos temperature
33 * @param temp pointer to the current temperature value
34 * @return enum tmu_status_t value, code indicating event to execute
37 enum tmu_status_t tmu_monitor(int *temp);
40 * Initialize TMU device
42 * @param blob FDT blob
43 * @return int value, 0 for success
45 int tmu_init(const void *blob);
46 #endif /* _THERMAL_H_ */