diff options
Diffstat (limited to 'kernel/include/dt-bindings/thermal')
-rw-r--r-- | kernel/include/dt-bindings/thermal/tegra124-soctherm.h | 13 | ||||
-rw-r--r-- | kernel/include/dt-bindings/thermal/thermal.h | 17 | ||||
-rw-r--r-- | kernel/include/dt-bindings/thermal/thermal_exynos.h | 28 |
3 files changed, 58 insertions, 0 deletions
diff --git a/kernel/include/dt-bindings/thermal/tegra124-soctherm.h b/kernel/include/dt-bindings/thermal/tegra124-soctherm.h new file mode 100644 index 000000000..85aaf6669 --- /dev/null +++ b/kernel/include/dt-bindings/thermal/tegra124-soctherm.h @@ -0,0 +1,13 @@ +/* + * This header provides constants for binding nvidia,tegra124-soctherm. + */ + +#ifndef _DT_BINDINGS_THERMAL_TEGRA124_SOCTHERM_H +#define _DT_BINDINGS_THERMAL_TEGRA124_SOCTHERM_H + +#define TEGRA124_SOCTHERM_SENSOR_CPU 0 +#define TEGRA124_SOCTHERM_SENSOR_MEM 1 +#define TEGRA124_SOCTHERM_SENSOR_GPU 2 +#define TEGRA124_SOCTHERM_SENSOR_PLLX 3 + +#endif diff --git a/kernel/include/dt-bindings/thermal/thermal.h b/kernel/include/dt-bindings/thermal/thermal.h new file mode 100644 index 000000000..b5e6b0069 --- /dev/null +++ b/kernel/include/dt-bindings/thermal/thermal.h @@ -0,0 +1,17 @@ +/* + * This header provides constants for most thermal bindings. + * + * Copyright (C) 2013 Texas Instruments + * Eduardo Valentin <eduardo.valentin@ti.com> + * + * GPLv2 only + */ + +#ifndef _DT_BINDINGS_THERMAL_THERMAL_H +#define _DT_BINDINGS_THERMAL_THERMAL_H + +/* On cooling devices upper and lower limits */ +#define THERMAL_NO_LIMIT (~0) + +#endif + diff --git a/kernel/include/dt-bindings/thermal/thermal_exynos.h b/kernel/include/dt-bindings/thermal/thermal_exynos.h new file mode 100644 index 000000000..0646500bc --- /dev/null +++ b/kernel/include/dt-bindings/thermal/thermal_exynos.h @@ -0,0 +1,28 @@ +/* + * thermal_exynos.h - Samsung EXYNOS TMU device tree definitions + * + * Copyright (C) 2014 Samsung Electronics + * Lukasz Majewski <l.majewski@samsung.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 _EXYNOS_THERMAL_TMU_DT_H +#define _EXYNOS_THERMAL_TMU_DT_H + +#define TYPE_ONE_POINT_TRIMMING 0 +#define TYPE_ONE_POINT_TRIMMING_25 1 +#define TYPE_ONE_POINT_TRIMMING_85 2 +#define TYPE_TWO_POINT_TRIMMING 3 +#define TYPE_NONE 4 + +#endif /* _EXYNOS_THERMAL_TMU_DT_H */ |