]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
thermal: exynos: Add the support for Exynos5433 TMU
authorChanwoo Choi <cw00.choi@samsung.com>
Tue, 10 Mar 2015 02:23:44 +0000 (11:23 +0900)
committerEduardo Valentin <edubezval@gmail.com>
Tue, 5 May 2015 04:27:55 +0000 (21:27 -0700)
commit488c7455d74ce0c354ea833c7fbbb6ba0a2330e9
treea74b3451ad8a5cdf41c9bf1e54581ac77756d7db
parentdd658e02357ec879edd0c62ee1f3a19c92b0b027
thermal: exynos: Add the support for Exynos5433 TMU

This patch adds the support for Exynos5433's TMU (Thermal Management Unit).
Exynos5433 has a little different register bit fields as following description:
- Support the eight trip points for rising/falling interrupt by using two registers
- Read the calibration type (1-point or 2-point) and sensor id from TRIMINFO register
- Use a little different register address

Cc: Zhang Rui <rui.zhang@intel.com>
Cc: Eduardo Valentin <edubezval@gmail.com>
Cc: Lukasz Majewski <l.majewski@samsung.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
drivers/thermal/samsung/exynos_tmu.c
drivers/thermal/samsung/exynos_tmu.h