Re: [PATCH v3 3/3] reset: imx7: Add support for i.MX8MQ IP block variant

From: Andrey Smirnov
Date: Mon Dec 17 2018 - 12:10:01 EST


On Sun, Dec 16, 2018 at 8:30 PM Aisheng Dong <aisheng.dong@xxxxxxx> wrote:
>
> > -----Original Message-----
> > From: Andrey Smirnov [mailto:andrew.smirnov@xxxxxxxxx]
> > Sent: Monday, December 17, 2018 10:38 AM
> > To: linux-kernel@xxxxxxxxxxxxxxx
> > Cc: Andrey Smirnov <andrew.smirnov@xxxxxxxxx>; p.zabel@xxxxxxxxxxxxxx;
> > Fabio Estevam <fabio.estevam@xxxxxxx>; cphealy@xxxxxxxxx;
> > l.stach@xxxxxxxxxxxxxx; Leonard Crestez <leonard.crestez@xxxxxxx>; Aisheng
> > Dong <aisheng.dong@xxxxxxx>; Richard Zhu <hongxing.zhu@xxxxxxx>; Rob
> > Herring <robh@xxxxxxxxxx>; devicetree@xxxxxxxxxxxxxxx; dl-linux-imx
> > <linux-imx@xxxxxxx>; linux-arm-kernel@xxxxxxxxxxxxxxxxxxx
> > Subject: [PATCH v3 3/3] reset: imx7: Add support for i.MX8MQ IP block variant
> >
> > Add bits and pieces needed to support IP block variant found on i.MX8MQ
> > SoCs.
> >
> > Cc: p.zabel@xxxxxxxxxxxxxx
> > Cc: Fabio Estevam <fabio.estevam@xxxxxxx>
> > Cc: cphealy@xxxxxxxxx
> > Cc: l.stach@xxxxxxxxxxxxxx
> > Cc: Leonard Crestez <leonard.crestez@xxxxxxx>
> > Cc: "A.s. Dong" <aisheng.dong@xxxxxxx>
> > Cc: Richard Zhu <hongxing.zhu@xxxxxxx>
> > Cc: Rob Herring <robh@xxxxxxxxxx>
> > Cc: devicetree@xxxxxxxxxxxxxxx
> > Cc: linux-imx@xxxxxxx
> > Cc: linux-arm-kernel@xxxxxxxxxxxxxxxxxxx
> > Cc: linux-kernel@xxxxxxxxxxxxxxx
> > Signed-off-by: Andrey Smirnov <andrew.smirnov@xxxxxxxxx>
> > ---
> > drivers/reset/Kconfig | 2 +-
> > drivers/reset/reset-imx7.c | 106
> > +++++++++++++++++++++++++++++++++++++
> > 2 files changed, 107 insertions(+), 1 deletion(-)
> >
> > diff --git a/drivers/reset/Kconfig b/drivers/reset/Kconfig index
> > c21da9fe51ec..4909aab7401b 100644
> > --- a/drivers/reset/Kconfig
> > +++ b/drivers/reset/Kconfig
> > @@ -50,7 +50,7 @@ config RESET_HSDK
> > config RESET_IMX7
> > bool "i.MX7 Reset Driver" if COMPILE_TEST
> > depends on HAS_IOMEM
> > - default SOC_IMX7D
> > + default SOC_IMX7D || SOC_IMX8MQ
>
> SOC_IMX8MQ has been removed in Shawn's tree.
> I'd suggest simply using ARCH_MXC.
>

Oh, that's right, will replace with (ARM64 && ARCH_MXC) in v4.

Thanks,
Andrey Smirnov