diff options
author | Bartlomiej Zolnierkiewicz <[email protected]> | 2014-11-13 16:01:13 +0100 |
---|---|---|
committer | Eduardo Valentin <[email protected]> | 2014-11-20 10:53:46 -0400 |
commit | 72d1100b736d2ff597c5aa73bbef12050c686ee4 (patch) | |
tree | b2f832412cd8d20eb03eb833c9c557b379ccbbea /tools/perf/util/scripting-engines/trace-event-perl.c | |
parent | fe87789cd437378e7cf72c43b753703b2a835fc3 (diff) |
thermal: exynos: add ->tmu_initialize method
Add ->tmu_initialize method to struct exynos_tmu_data and
use it in exynos_tmu_initialize(). Then add ->tmu_initialize
implementations for Exynos4210, Exynos4412+ and Exynos5440.
Finally remove no longer needed reg->threshold_th[0,1],
reg->intclr_[fall,rise]_shift and reg->intclr_[rise,fall]_mask
abstractions.
There are more improvements available in the future on top
of this patch like merging HW_TRIP level setting with setting
of other levels for Exynos4412+ or adding separate method
for clearing IRQs using INTCLEAR register (for Exynos5420,
Exynos5260 and Exynos4412+).
There should be no functional changes caused by this patch.
Cc: Amit Daniel Kachhap <[email protected]>
Cc: Lukasz Majewski <[email protected]>
Cc: Eduardo Valentin <[email protected]>
Cc: Zhang Rui <[email protected]>
Signed-off-by: Bartlomiej Zolnierkiewicz <[email protected]>
Acked-by: Kyungmin Park <[email protected]>
Tested-by: Lukasz Majewski <[email protected]>
Signed-off-by: Eduardo Valentin <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions