RE: [PATCH 6/7] ARM: imx: imx7ulp: support HSRUN mode

From: Peng Fan
Date: Tue Feb 04 2020 - 21:59:58 EST


> Subject: Re: [PATCH 6/7] ARM: imx: imx7ulp: support HSRUN mode
>
> Hi Peng,
>
> On Tue, Feb 4, 2020 at 10:41 AM <peng.fan@xxxxxxx> wrote:
> >
> > From: Peng Fan <peng.fan@xxxxxxx>
> >
> > Configure pmprot to let ARM core could run into HSRUN mode.
> >
> > Signed-off-by: Peng Fan <peng.fan@xxxxxxx>
> > ---
>
> > + writel_relaxed(BM_PMPROT_AHSRUN, smc1_base +
> SMC_PMPROT);
>
> HSRUN cannot be configured unconditionally because if i.MX7ULP runs with
> LDO-enabled it cannot run in HSRUN mode.

Thanks, I'll update to add a check LDO mode here.

Thanks,
Peng.