Commit 1ab20c0e authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Daniel Lezcano

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: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Acked-by: default avatarArnd Bergmann <arnd@arndb.de>
Acked-by: default avatarLi Yang <leoyang.li@nxp.com>
Signed-off-by: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20200507112955.23520-5-geert+renesas@glider.be
parent a7ff8297
...@@ -295,8 +295,8 @@ config MAX77620_THERMAL ...@@ -295,8 +295,8 @@ config MAX77620_THERMAL
config QORIQ_THERMAL config QORIQ_THERMAL
tristate "QorIQ Thermal Monitoring Unit" tristate "QorIQ Thermal Monitoring Unit"
depends on THERMAL_OF depends on THERMAL_OF && HAS_IOMEM
depends on HAS_IOMEM depends on PPC_E500MC || SOC_LS1021A || ARCH_LAYERSCAPE || (ARCH_MXC && ARM64) || COMPILE_TEST
select REGMAP_MMIO select REGMAP_MMIO
help help
Support for Thermal Monitoring Unit (TMU) found on QorIQ platforms. Support for Thermal Monitoring Unit (TMU) found on QorIQ platforms.
......
Markdown is supported
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