thermal: exynos: Add TMU features to check instead of using SOC type
authorAmit Daniel Kachhap <amit.daniel@samsung.com>
Mon, 24 Jun 2013 10:50:40 +0000 (16:20 +0530)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 02:45:15 +0000 (11:45 +0900)
commitc589f4983f1b50b0d01c29c5ac381bb72b8a70b2
treecf91ee7decc57d2498cfa44db3d771561b3c4254
parent60407ebc6b48c2e81e326d41ff7898f20c372d0f
thermal: exynos: Add TMU features to check instead of using SOC type

This patch adds several features supported by TMU as bitfields.
This features varies across different SOC type and comparing
the features present in the TMU is more logical than comparing
the soc itself.

Acked-by: Kukjin Kim <kgene.kim@samsung.com>
Acked-by: Jonghwa Lee <jonghwa3.lee@samsung.com>
Acked-by: Eduardo Valentin <eduardo.valentin@ti.com>
Signed-off-by: Amit Daniel Kachhap <amit.daniel@samsung.com>
Signed-off-by: Eduardo Valentin <eduardo.valentin@ti.com>
drivers/thermal/samsung/exynos_tmu.c
drivers/thermal/samsung/exynos_tmu.h
drivers/thermal/samsung/exynos_tmu_data.c