Skip to content
Commit 0b854b57 authored by Peng Fan's avatar Peng Fan Committed by Zhantao Tang
Browse files

thermal/drivers/qoriq: Only enable supported sensors

commit bb01ca826b3632ba1546f1e2c38fd0e7ea7e5452 from
https://github.com/nxp-auto-linux/linux

There are MAX 16 sensors, but not all of them supported. Such as
i.MX8MQ, there are only 3 sensors. Enabling all 16 sensors will
touch reserved bits from i.MX8MQ reference mannual, and TMU will stuck,
temperature will not update anymore.

Issue: ALB-10433
Fixes: 45038e03

 ("thermal: qoriq: Enable all sensors before registering them")
Signed-off-by: default avatarPeng Fan <peng.fan@nxp.com>
Signed-off-by: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20230516083746.63436-3-peng.fan@oss.nxp.com
Signed-off-by: default avatarZhantao Tang <zhantao.tang@windriver.com>
parent db3c3d75
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment