Re: [RFC PATCH] USB: misc: Add usb_hub_pwr driver

2020-09-14 Thread Matthias Kaehlcke
Hi Peter, sorry for the delayed reply, I got distracted by other things and ran into issues with my mail setup. On Thu, Sep 03, 2020 at 01:46:18AM +, Peter Chen wrote: > On 20-09-02 10:45:36, Matthias Kaehlcke wrote: > > > > > > Hi Matthias, > > > > > > I did similar several years ago [1],

Re: [RFC PATCH] USB: misc: Add usb_hub_pwr driver

2020-09-02 Thread Peter Chen
On 20-09-02 10:45:36, Matthias Kaehlcke wrote: > > > > Hi Matthias, > > > > I did similar several years ago [1], but the concept (power sequence) > > doesn't be accepted by power maintainer. > > Yeah, I saw that, I think I even reviewed or tested some early version > of it :) > > > Your patch

Re: [RFC PATCH] USB: misc: Add usb_hub_pwr driver

2020-09-02 Thread Matthias Kaehlcke
Hi Greg, On Wed, Sep 02, 2020 at 08:07:44AM +0200, Greg Kroah-Hartman wrote: > On Tue, Sep 01, 2020 at 01:21:43PM -0700, Matthias Kaehlcke wrote: > > diff --git a/drivers/usb/misc/Makefile b/drivers/usb/misc/Makefile > > index da39bddb0604..2bd02388ca62 100644 > > --- a/drivers/usb/misc/Makefile

Re: [RFC PATCH] USB: misc: Add usb_hub_pwr driver

2020-09-02 Thread Matthias Kaehlcke
Hi Peter, On Wed, Sep 02, 2020 at 05:31:06AM +, Peter Chen wrote: > On 20-09-01 13:21:43, Matthias Kaehlcke wrote: > > The driver combo usb_hub_pwr/usb_hub_psupply allows to control > > the power supply of an onboard USB hub. > > > > The drivers address two issues: > > - a USB hub needs to

Re: [RFC PATCH] USB: misc: Add usb_hub_pwr driver

2020-09-02 Thread Greg Kroah-Hartman
On Tue, Sep 01, 2020 at 01:21:43PM -0700, Matthias Kaehlcke wrote: > diff --git a/drivers/usb/misc/Makefile b/drivers/usb/misc/Makefile > index da39bddb0604..2bd02388ca62 100644 > --- a/drivers/usb/misc/Makefile > +++ b/drivers/usb/misc/Makefile > @@ -31,3 +31,4 @@ obj-$(CONFIG_USB_CHAOSKEY)

Re: [RFC PATCH] USB: misc: Add usb_hub_pwr driver

2020-09-01 Thread Peter Chen
On 20-09-01 13:21:43, Matthias Kaehlcke wrote: > The driver combo usb_hub_pwr/usb_hub_psupply allows to control > the power supply of an onboard USB hub. > > The drivers address two issues: > - a USB hub needs to be powered before it can be discovered > - battery powered devices may want to

Re: [RFC PATCH] USB: misc: Add usb_hub_pwr driver

2020-09-01 Thread Matthias Kaehlcke
Hi Doug, On Tue, Sep 01, 2020 at 02:21:49PM -0700, Doug Anderson wrote: > Hi, > > On Tue, Sep 1, 2020 at 1:21 PM Matthias Kaehlcke wrote: > > > > The driver combo usb_hub_pwr/usb_hub_psupply allows to control > > the power supply of an onboard USB hub. > > > > The drivers address two issues: >

Re: [RFC PATCH] USB: misc: Add usb_hub_pwr driver

2020-09-01 Thread Doug Anderson
Hi, On Tue, Sep 1, 2020 at 1:21 PM Matthias Kaehlcke wrote: > > The driver combo usb_hub_pwr/usb_hub_psupply allows to control > the power supply of an onboard USB hub. > > The drivers address two issues: > - a USB hub needs to be powered before it can be discovered > - battery powered devices

[RFC PATCH] USB: misc: Add usb_hub_pwr driver

2020-09-01 Thread Matthias Kaehlcke
The driver combo usb_hub_pwr/usb_hub_psupply allows to control the power supply of an onboard USB hub. The drivers address two issues: - a USB hub needs to be powered before it can be discovered - battery powered devices may want to switch the USB hub off during suspend to extend battery