]> git.baikalelectronics.ru Git - kernel.git/commit
thermal: samsung: change base_common to more meaningful base_second
authorNaveen Krishna Chatradhi <ch.naveen@samsung.com>
Thu, 19 Dec 2013 06:06:08 +0000 (11:36 +0530)
committerEduardo Valentin <edubezval@gmail.com>
Tue, 6 May 2014 18:51:32 +0000 (14:51 -0400)
commit85c147badfde980aaf0b06d3ce8181889164092f
tree412d7be9dc372c690da0ccd8497c00b5aeafdff2
parentceefd80a07be1ca6a476e0728897b19dfe86564a
thermal: samsung: change base_common to more meaningful base_second

On Exynos5440 and Exynos5420 there are registers common
across the TMU channels.

To support that, we introduced a ADDRESS_MULTIPLE flag in the
driver and the 2nd set of register base and size are provided
in the "reg" property of the node.

As per Amit's suggestion, this patch changes the base_common
to base_second and SHARED_MEMORY to ADDRESS_MULTIPLE.

Signed-off-by: Naveen Krishna Chatradhi <ch.naveen@samsung.com>
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