thermal: samsung: Add TMU support for Exynos5420 SoCs
authorNaveen Krishna Chatradhi <ch.naveen@samsung.com>
Thu, 19 Dec 2013 06:06:31 +0000 (11:36 +0530)
committerEduardo Valentin <edubezval@gmail.com>
Tue, 6 May 2014 18:51:32 +0000 (14:51 -0400)
commit14a11dc7e0dbf4acdd9c7b703ebd088f14def739
tree92b6362dab322f7c2807f2a2f131a1123ad624a0
parent9025d563cd9bd141a7b7f2095b6a760cd9d83a4e
thermal: samsung: Add TMU support for Exynos5420 SoCs

Exynos5420 has 5 TMU channels, the TRIMINFO register is
misplaced for TMU channels 2, 3 and 4
TRIMINFO at 0x1006c000 contains data for TMU channel 3
TRIMINFO at 0x100a0000 contains data for TMU channel 4
TRIMINFO at 0x10068000 contains data for TMU channel 2

This patch
1 Adds the neccessary register changes and arch information
   to support Exynos5420 SoCs.
2. Handles the gate clock for misplaced TRIMINFO register
3. Updates the Documentation at
   Documentation/devicetree/bindings/thermal/exynos-thermal.txt

Signed-off-by: Naveen Krishna Chatradhi <ch.naveen@samsung.com>
Signed-off-by: Andrew Bresticker <abrestic@chromium.org>
Acked-by: Amit Daniel Kachhap <amit.daniel@samsung.com>
Reviewed-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Reviewed-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
Documentation/devicetree/bindings/thermal/exynos-thermal.txt
drivers/thermal/samsung/exynos_tmu.c
drivers/thermal/samsung/exynos_tmu.h
drivers/thermal/samsung/exynos_tmu_data.c
drivers/thermal/samsung/exynos_tmu_data.h