phy: freescale: i.MX8 PHYs should depend on ARCH_MXC && ARM64
authorGeert Uytterhoeven <geert+renesas@glider.be>
Wed, 12 Jan 2022 11:40:38 +0000 (12:40 +0100)
committerVinod Koul <vkoul@kernel.org>
Thu, 27 Jan 2022 05:35:18 +0000 (11:05 +0530)
commit3d565bd6fbbbea89ec07e25b49c8820ea140577e
tree9a17b766f12ffc9716654e80e01e7da4dab808e5
parent8456caa61c112ad8fdfcc1052f3d2881349ce9ea
phy: freescale: i.MX8 PHYs should depend on ARCH_MXC && ARM64

The Freescale/NXP i.MX8 USB3, MIPI DSI, and PCIE PHYs are only present
on the NXP i.MX8 family of SoCs.  Hence wrap the config symbols for
these PHYs inside a check for ARCH_MXC && ARM64, to prevent asking the
user about these drivers when configuring a kernel without NXP i.MX SoC
family support.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Guido Günther <agx@sigxcpu.org>
Link: https://lore.kernel.org/r/393868affd830016d35f0d9aba32ccd7098c8073.1641987369.git.geert+renesas@glider.be
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/freescale/Kconfig