[PATCH v2 07/16] usb: hub: Power on connected M.2 E-key connectors

Andy Shevchenko andriy.shevchenko at linux.intel.com
Mon Jun 29 04:14:10 PDT 2026


On Mon, Jun 29, 2026 at 02:46:42PM +0800, Chen-Yu Tsai wrote:
> On Fri, Jun 12, 2026 at 4:55 PM Chen-Yu Tsai <wenst at chromium.org> wrote:
> > On Thu, Jun 11, 2026 at 6:11 PM Bartosz Golaszewski <brgl at kernel.org> wrote:
> > > On Wed, 10 Jun 2026 10:40:41 +0200, Chen-Yu Tsai <wenst at chromium.org> said:

...

> > Yeah, instead we need
> >
> >     config USB
> >         depends on POWER_SEQUENCING && !POWER_SEQUENCING
> 
> FTR:
> 
> Somehow I remembered this incorrectly. It should be the following instead:
> 
>     depends on POWER_SEQUENCING || !POWER_SEQUENCING

We have depends on ... if ... expression nowadays for that kind of case.

> and the dependency issue mentioned below then goes away.
> 
> > But I ran into a dozen or so drivers that have "select USB", mostly
> > input devices:
> >
> >     config TOUCHSCREEN_USB_COMPOSITE
> >         tristate "USB Touchscreen Driver"
> >         depends on USB_ARCH_HAS_HCD
> >         select USB
> >
> > Kconfig complains about unmet dependencies.
> >
> > > I see Andy has some suggestions but in general I like this approach much better
> > > than adding the pwrseq_get_index() function. Thanks!

-- 
With Best Regards,
Andy Shevchenko





More information about the linux-arm-kernel mailing list