thermal/drivers/imx_sc_thermal: Add iMX8QM sensors
authorViorel Suman <viorel.suman@nxp.com>
Tue, 17 Jan 2023 09:19:56 +0000 (11:19 +0200)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Tue, 17 Jan 2023 09:28:13 +0000 (10:28 +0100)
commit1cea99593c9e6991766765b8825e62da37da9ec2
tree1580f9fe4714cc1c930e82b236e1b0c4457b703e
parent4b26b7c9cdefdcb478047c30901d2379ef9e50fc
thermal/drivers/imx_sc_thermal: Add iMX8QM sensors

Add iMX8QM sensors. As stated in 31fd4b9db13b ("thermal/drivers/imx_sc:
Rely on the platform data to get the resource id"):

    The thermal OF code returns -ENODEV if the thermal zone registration
    with a specific id fails because the description is not available in
    the DT for such a sensor id. In this case we continue with the other
    ids without bailing out with an error.

Signed-off-by: Viorel Suman <viorel.suman@nxp.com>
Reviewed-by: Dong Aisheng <aisheng.dong@nxp.com>
Link: https://lore.kernel.org/r/20230117091956.61729-2-viorel.suman@oss.nxp.com
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
drivers/thermal/imx_sc_thermal.c