thermal: qoriq: Add platform dependencies
authorGeert Uytterhoeven <geert+renesas@glider.be>
Thu, 7 May 2020 11:29:55 +0000 (13:29 +0200)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Fri, 22 May 2020 16:56:29 +0000 (18:56 +0200)
commit1ab20c0e53fa2167357bd90b7f7f7019cad9daaa
tree8652a5174ef1a5282fe1d442cac956a70c802c53
parenta7ff82976122eb6d1fd286dc34f09b6ecd756b60
thermal: qoriq: Add platform dependencies

The QorIQ Thermal Monitoring Unit is only present on Freescale E500MC
and Layerscape SoCs, and on NXP i.MX8 SoCs.  Add platform dependencies
to the QORIQ_THERMAL config symbol, to avoid asking the user about it
when configuring a kernel without support for any of the aforementioned
SoCs.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Li Yang <leoyang.li@nxp.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20200507112955.23520-5-geert+renesas@glider.be
drivers/thermal/Kconfig