[PATCH 3/3] imx: power-domain: Get rid of SMCCC dependency

Adam Ford aford173 at gmail.com
Mon Apr 18 00:02:13 CEST 2022


On Tue, Apr 5, 2022 at 3:14 PM Tim Harvey <tharvey at gateworks.com> wrote:
>
> On Mon, Apr 4, 2022 at 7:25 AM Marek Vasut <marex at denx.de> wrote:
> >
> > On 4/4/22 16:15, Adam Ford wrote:
> > > On Mon, Apr 4, 2022 at 8:01 AM Marek Vasut <marex at denx.de> wrote:
> > >>
> > >> On 4/4/22 14:51, Adam Ford wrote:
> > >>> On Wed, Mar 30, 2022 at 10:04 PM Marek Vasut <marex at denx.de> wrote:
> > >>>>
> > >>>> This driver is the only SMCCC dependency in iMX8M U-Boot port. Rework
> > >>>> the driver based on Linux GPCv2 driver to directly control the GPCv2
> > >>>> block instead of using SMCCC calls. This way, U-Boot can operate the
> > >>>> i.MX8M power domains without depending on anything else.
> > >>>>
> > >>>> This is losely based on Linux GPCv2 driver. The GPU, VPU, MIPI power
> > >>>> domains are not supported to save space, since they are not useful in
> > >>>> the bootloader. The only domains kept are ones for HSIO, PCIe, USB.
> > >>>
> > >>> I thought there were people who were using video in U-Boot, but maybe
> > >>> I am wrong.
> > >>
> > >> There are no video drivers for MX8M in U-Boot, it's all USB and maybe
> > >> sometimes in the future PCIe.
> > >
> > > Oh good.
> > >
> > > I'll try to test it on an imx8mq when I get some time.
> >
> > The entire stack of patches is at:
> >
> > https://source.denx.de/u-boot/custodians/u-boot-usb/-/commits/imx-8mp
>
> For the series:
>
> Tested-By: Tim Harvey <tharvey at gateworks.com> #imx8mp-venice-defconfig
>
> This was tested on an IMX8MP board that I'm bringing up
> (imx8mp-venice-defconfig) but have not yet submitted.
>

There needs to be a subsequent patch because the 8MQ clocks and CCF
stuff don't appear to be enabled by default, but Kconfig looks like it
should.
Once I have figured it out, I'll send a subsequent patch to address that.

For the series:

Tested-by: Adam Ford <aford173 at gmail.com> #imx8mq-evk

adam

> Best Regards,
>
> Tim


More information about the U-Boot mailing list