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

Adam Ford aford173 at gmail.com
Wed Apr 6 14:22:25 CEST 2022


On Tue, Apr 5, 2022 at 6:00 PM Marek Vasut <marex at denx.de> wrote:
>
> On 4/5/22 22:14, Tim Harvey 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.
>
> Nice. If you want to add TB for any other patches you tested, that would
> be welcome. I think there are a few more involved.

I tried to build the imx8mq last night, but I ran into issues.  I
never built an imx8mq bootloader before, so I think I'm missing
something.  I'll try to get to it again this week.  Sorry for the
delays.

adam


More information about the U-Boot mailing list