arm64: imx8mq: select PM support
authorLucas Stach <l.stach@pengutronix.de>
Fri, 25 Jan 2019 16:24:37 +0000 (17:24 +0100)
committerShawn Guo <shawnguo@kernel.org>
Fri, 1 Feb 2019 07:04:32 +0000 (15:04 +0800)
The ATF on the i.MX8MQ device disables all non-essential power
domains. For correct on-SoC peripheral operation we need both
the power domain driver and generic domains, so device driver
probe gets ordered behind the power domain controller driver.

Select those options, as those being absent can lead to very
hard to debug failures.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/Kconfig.platforms

index f4e45c52aea4fedcc471d2697feef9e9d2f7f5d2..8c2fc4bb20a5749a9157c482423ab34224edd861 100644 (file)
@@ -147,6 +147,9 @@ config ARCH_MXC
        select ARM64_ERRATUM_843419
        select ARM64_ERRATUM_845719
        select IMX_GPCV2
+       select IMX_GPCV2_PM_DOMAINS
+       select PM
+       select PM_GENERIC_DOMAINS
        help
          This enables support for the ARMv8 based SoCs in the
          NXP i.MX family.