[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID:
<ME0P300MB055370E97AB98D221B2E0782A60A2@ME0P300MB0553.AUSP300.PROD.OUTLOOK.COM>
Date: Tue, 31 Dec 2024 17:34:02 +0800
From: Junzhong Pan <panjunzhong@...look.com>
To: m.felsch@...gutronix.de
Cc: broonie@...nel.org, conor+dt@...nel.org, devicetree@...r.kernel.org,
festevam@...il.com, gregkh@...uxfoundation.org, kernel@...gutronix.de,
krzk@...nel.org, lgirdwood@...il.com, linux-kernel@...r.kernel.org,
linux-usb@...r.kernel.org, lkp@...el.com, matthias@...hlcke.net,
mka@...omium.org, oe-kbuild-all@...ts.linux.dev, robh@...nel.org
Subject: Re: [PATCH 1/3] usb: hub: add infrastructure to pass onboard_dev port
features
Hi Marco,
On Mon, 28 Oct 2024 22:49:56 +0100 Marco Felsch wrote:
> I found two mistakes I made in my v1. I would send a v2 if this series
> is interesting for upstream. The remaining open question is how the
> driver dependencies should be handled (see idea-1,2,3).
How's everything going? I wish you all good!
It's a very useful series for various hubs, gentle ping on it.
On Mon, 28 Oct 2024 22:49:56 +0100 Marco Felsch wrote:
> > > Idea-3:
> > > -------
> > >
> > > Adding a function to the hub.c usbcore which can be used by the
> > > usb-onboard-dev driver to register this function as hook. This removes> > > the dependency from the core and the usb-onboard-dev module is only
> > > pulled if really required. Of course this require that the hub.c usbcore> > > driver allows custom hooks.
> >
> > This seems like the best approach IMO, if USB maintainers are onboard with> > it.
Use the existing onboard_hub.h header to do the hooks looks fine.
I recently encountered some kind of platforms using an existing onboard
hub yet their HW don't utilize the USBPE port power control feature
while the hub support it.
Instead, we have another GPIO for controlling the vbus of those ports
to cut the cost.
Wonder any idea could use this driver considering the limitation of
the usb compatible set the properties of onboard_dev_pdata hard coded?
Best Regards,
Pan
Powered by blists - more mailing lists