thermal: qoriq: add thermal monitor unit version 2 support
authorYuantian Tang <andy.tang@nxp.com>
Fri, 11 Oct 2019 02:05:34 +0000 (10:05 +0800)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Thu, 7 Nov 2019 06:00:26 +0000 (07:00 +0100)
commit9809797b932e7d0485a37bd8a14bccb2c893b6c6
tree1c4bd34dcf9fdaba995b0e80a0a14603fb0ef657
parent86bd20a5a518c0690bfca2cc64bc28af0e46863e
thermal: qoriq: add thermal monitor unit version 2 support

Thermal Monitor Unit v2 is introduced on new Layscape SoC.
Compared to v1, TMUv2 has a little different register layout
and digital output is fairly linear.

Signed-off-by: Yuantian Tang <andy.tang@nxp.com>
Reviewed-by: Anson Huang <Anson.Huang@nxp.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20191011020534.334-1-andy.tang@nxp.com
drivers/thermal/qoriq_thermal.c