[PATCH v1 3/3] colibri-imx8x: configure usb hub to bypass mode

Francesco Dolcini francesco at dolcini.it
Wed Dec 20 12:44:56 CET 2023


On Wed, Dec 20, 2023 at 08:39:38AM -0300, Fabio Estevam wrote:
> Hi Francesco,
> 
> On Wed, Dec 20, 2023 at 8:30 AM Francesco Dolcini <francesco at dolcini.it> wrote:
> 
> > Valid point.
> >
> > In general re-using the DTS for the kernel would not work.
> >
> > The bypass and reset signals are part of the USB HUB node [1], and we
> > would need to add such a driver to U-Boot to be able to properly
> > implement it (despite the recent plans to make SPL a full blown
> > bootloader and U-Boot proper the operating system and kick out Linux I
> > would not go into that direction ;-)
> >
> > Given that I believe that overriding the Linux DTS to use these 2
> > signals are simple GPIO HOG for U-Boot is the correct approach.
> 
> Yes, this series can go as-is.
> 
> My main concern is why U-Boot still uses the NXP-based
> fsl-imx8qxp-mek.dts, fsl-imx8qxp-colibri.dts
> variant instead of the mainline versions.
> 
> The other i.MX SoCs in U-Boot are better synced with the Linux kernel DTs.
> 
> I don't have access to i.MX8QXP/i.MX8QM boards to help on this, but
> for better long-term support it would be nice if someone could sync
> the U-Boot i.MX8QXP/i.MX8QM DTs with Linux.

Understood. Yes, this is some real work that someone should take up.
Just doing the sync will likely break everything now.

At the moment the situation with i.MX8QXP/i.MX8QM is not as good as
i.MX8M* neither in U-Boot nor in Linux :-/

Francesco



More information about the U-Boot mailing list