On Thu, Feb 01, 2018 at 07:31:23PM +0100, Lucas Stach wrote: > Add basic Kconfig symbols to make the MXC architecture available > in the ARM64 world. > > Signed-off-by: Lucas Stach <l.stach@xxxxxxxxxxxxxx> > Reviewed-by: Fabio Estevam <fabio.estevam@xxxxxxx> > --- > v2: fix "enabled" typo. > --- > arch/arm64/Kconfig.platforms | 6 ++++++ > drivers/soc/imx/Kconfig | 12 ++++++++++++ > 2 files changed, 18 insertions(+) > > diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms > index 2401373565ff..ae3be0d2cdb5 100644 > --- a/arch/arm64/Kconfig.platforms > +++ b/arch/arm64/Kconfig.platforms > @@ -131,6 +131,12 @@ config ARCH_MVEBU > - Armada 7K SoC Family > - Armada 8K SoC Family > > +config ARCH_MXC > + bool "ARMv8 based NXP i.MX SoC family" > + help > + This enables support for the ARMv8 based SoCs in the > + NXP i.MX family. > + > config ARCH_QCOM > bool "Qualcomm Platforms" > select GPIOLIB > diff --git a/drivers/soc/imx/Kconfig b/drivers/soc/imx/Kconfig > index a5b86a28f343..8c9f04440896 100644 > --- a/drivers/soc/imx/Kconfig > +++ b/drivers/soc/imx/Kconfig > @@ -8,3 +8,15 @@ config IMX7_PM_DOMAINS > default y if SOC_IMX7D > > endmenu > + > +if ARCH_MXC > + > +if ARM64 > + > +config SOC_IMX8MQ > + bool "i.MX8MQ support" > + help > + This enables support for the i.MX8MQ SoC. > +endif > + > +endif I do not feel it's so idiomatic to select a platform SoC in drivers/soc folder. The options in this folder are used to select SoC level drivers not the SoC itself. Can we just use ARCH_MXC for all IMX ARMv8 SoCs? Or if we really want individual SoC option, can we do something similar to Renesas platform, having sub-select under "ARMv8 based NXP i.MX SoC family"? Shawn -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html