Re: [PATCH v8 0/6] Support running driver's probe for a device powered off

2020-09-28 Thread Sakari Ailus
Hi Tomasz, On Mon, Sep 28, 2020 at 06:49:22PM +0200, Tomasz Figa wrote: > On Mon, Sep 28, 2020 at 4:18 PM Rafael J. Wysocki wrote: > > > > On Sun, Sep 27, 2020 at 9:44 PM Tomasz Figa wrote: > > > > > > On Sun, Sep 27, 2020 at 9:39 PM Wolfram Sang wrote: > > > > > > > > > > > > > I think we

Re: [PATCH v8 0/6] Support running driver's probe for a device powered off

2020-09-28 Thread Tomasz Figa
On Mon, Sep 28, 2020 at 4:18 PM Rafael J. Wysocki wrote: > > On Sun, Sep 27, 2020 at 9:44 PM Tomasz Figa wrote: > > > > On Sun, Sep 27, 2020 at 9:39 PM Wolfram Sang wrote: > > > > > > > > > > I think we might be overly complicating things. IMHO the series as is > > > > with the "i2c_" prefix

Re: [PATCH v8 0/6] Support running driver's probe for a device powered off

2020-09-28 Thread Rafael J. Wysocki
On Sun, Sep 27, 2020 at 9:44 PM Tomasz Figa wrote: > > On Sun, Sep 27, 2020 at 9:39 PM Wolfram Sang wrote: > > > > > > > I think we might be overly complicating things. IMHO the series as is > > > with the "i2c_" prefix removed from the flags introduced would be > > > reusable as is for any

Re: [PATCH v8 0/6] Support running driver's probe for a device powered off

2020-09-27 Thread Tomasz Figa
On Sun, Sep 27, 2020 at 9:39 PM Wolfram Sang wrote: > > > > I think we might be overly complicating things. IMHO the series as is > > with the "i2c_" prefix removed from the flags introduced would be > > reusable as is for any other subsystem that needs it. Of course, for > > now, the handling of

Re: [PATCH v8 0/6] Support running driver's probe for a device powered off

2020-09-27 Thread Wolfram Sang
> I think we might be overly complicating things. IMHO the series as is > with the "i2c_" prefix removed from the flags introduced would be > reusable as is for any other subsystem that needs it. Of course, for > now, the handling of the flag would remain implemented only in the I2C > subsystem.

Re: [PATCH v8 0/6] Support running driver's probe for a device powered off

2020-09-26 Thread Tomasz Figa
Hi Sakari, On Thu, Sep 03, 2020 at 11:15:44AM +0300, Sakari Ailus wrote: > > Hi all, > > These patches enable calling (and finishing) a driver's probe function > without powering on the respective device on busses where the practice is > to power on the device for probe. While it generally is a

Re: [PATCH v8 0/6] Support running driver's probe for a device powered off

2020-09-26 Thread Tomasz Figa
On Mon, Sep 14, 2020 at 12:47:27PM +0300, Sakari Ailus wrote: > Hi Luca, > > On Mon, Sep 14, 2020 at 09:58:24AM +0200, Luca Ceresoli wrote: > > Hi Sakari, > > > > On 11/09/20 15:01, Sakari Ailus wrote: > > > Hi Luca, > > > > > > On Fri, Sep 11, 2020 at 02:49:26PM +0200, Luca Ceresoli wrote: > >

Re: [PATCH v8 0/6] Support running driver's probe for a device powered off

2020-09-23 Thread Luca Ceresoli
Hi Sakari, On 23/09/20 13:08, Sakari Ailus wrote: > Hi Luca, > > On Mon, Sep 14, 2020 at 06:49:29PM +0200, Luca Ceresoli wrote: >> Hi Sakari, >> >> On 14/09/20 11:47, Sakari Ailus wrote: >>> Hi Luca, >>> >>> On Mon, Sep 14, 2020 at 09:58:24AM +0200, Luca Ceresoli wrote: Hi Sakari,

Re: [PATCH v8 0/6] Support running driver's probe for a device powered off

2020-09-23 Thread Sakari Ailus
Hi Luca, On Mon, Sep 14, 2020 at 06:49:29PM +0200, Luca Ceresoli wrote: > Hi Sakari, > > On 14/09/20 11:47, Sakari Ailus wrote: > > Hi Luca, > > > > On Mon, Sep 14, 2020 at 09:58:24AM +0200, Luca Ceresoli wrote: > >> Hi Sakari, > >> > >> On 11/09/20 15:01, Sakari Ailus wrote: > >>> Hi Luca, >

Re: [PATCH v8 0/6] Support running driver's probe for a device powered off

2020-09-14 Thread Luca Ceresoli
Hi Sakari, On 14/09/20 11:47, Sakari Ailus wrote: > Hi Luca, > > On Mon, Sep 14, 2020 at 09:58:24AM +0200, Luca Ceresoli wrote: >> Hi Sakari, >> >> On 11/09/20 15:01, Sakari Ailus wrote: >>> Hi Luca, >>> >>> On Fri, Sep 11, 2020 at 02:49:26PM +0200, Luca Ceresoli wrote: Hi Sakari,

Re: [PATCH v8 0/6] Support running driver's probe for a device powered off

2020-09-14 Thread Luca Ceresoli
Hi Sakari, On 11/09/20 15:01, Sakari Ailus wrote: > Hi Luca, > > On Fri, Sep 11, 2020 at 02:49:26PM +0200, Luca Ceresoli wrote: >> Hi Sakari, >> >> On 03/09/20 10:15, Sakari Ailus wrote: >>> >>> Hi all, >>> >>> These patches enable calling (and finishing) a driver's probe function >>> without

Re: [PATCH v8 0/6] Support running driver's probe for a device powered off

2020-09-11 Thread Luca Ceresoli
Hi Sakari, On 03/09/20 10:15, Sakari Ailus wrote: > > Hi all, > > These patches enable calling (and finishing) a driver's probe function > without powering on the respective device on busses where the practice is > to power on the device for probe. While it generally is a driver's job to >

Re: [PATCH v8 0/6] Support running driver's probe for a device powered off

2020-09-11 Thread Sakari Ailus
Hi Luca, On Fri, Sep 11, 2020 at 02:49:26PM +0200, Luca Ceresoli wrote: > Hi Sakari, > > On 03/09/20 10:15, Sakari Ailus wrote: > > > > Hi all, > > > > These patches enable calling (and finishing) a driver's probe function > > without powering on the respective device on busses where the

[PATCH v8 0/6] Support running driver's probe for a device powered off

2020-09-03 Thread Sakari Ailus
Hi all, These patches enable calling (and finishing) a driver's probe function without powering on the respective device on busses where the practice is to power on the device for probe. While it generally is a driver's job to check the that the device is there, there are cases where it might