Re: [PATCH v2 1/8] driver core: make deferring probe after init optional

2018-05-28 Thread Frank Rowand
On 05/24/18 11:18, Mark Brown wrote: > On Thu, May 24, 2018 at 12:50:17PM -0500, Rob Herring wrote: > >> Subsystems or drivers may opt-in to this behavior by calling >> driver_deferred_probe_check_init_done() instead of just returning >> -EPROBE_DEFER. They may use additional information from DT o

Re: [PATCH v2 1/8] driver core: make deferring probe after init optional

2018-05-25 Thread Rob Herring
On Fri, May 25, 2018 at 7:20 AM, Robin Murphy wrote: > On 24/05/18 21:57, Rob Herring wrote: >> >> On Thu, May 24, 2018 at 2:00 PM, Greg Kroah-Hartman >> wrote: >>> >>> On Thu, May 24, 2018 at 12:50:17PM -0500, Rob Herring wrote: Deferred probe will currently wait forever on dependent d

Re: [PATCH v2 1/8] driver core: make deferring probe after init optional

2018-05-25 Thread Robin Murphy
On 24/05/18 21:57, Rob Herring wrote: On Thu, May 24, 2018 at 2:00 PM, Greg Kroah-Hartman wrote: On Thu, May 24, 2018 at 12:50:17PM -0500, Rob Herring wrote: Deferred probe will currently wait forever on dependent devices to probe, but sometimes a driver will never exist. It's also not always

Re: [PATCH v2 1/8] driver core: make deferring probe after init optional

2018-05-25 Thread Robin Murphy
On 24/05/18 19:18, Mark Brown wrote: On Thu, May 24, 2018 at 12:50:17PM -0500, Rob Herring wrote: Subsystems or drivers may opt-in to this behavior by calling driver_deferred_probe_check_init_done() instead of just returning -EPROBE_DEFER. They may use additional information from DT or kernel's

Re: [PATCH v2 1/8] driver core: make deferring probe after init optional

2018-05-24 Thread Rob Herring
On Thu, May 24, 2018 at 5:28 PM, Bjorn Andersson wrote: > On Thu 24 May 10:50 PDT 2018, Rob Herring wrote: > >> Deferred probe will currently wait forever on dependent devices to probe, >> but sometimes a driver will never exist. It's also not always critical for >> a driver to exist. Platforms ca

Re: [PATCH v2 1/8] driver core: make deferring probe after init optional

2018-05-24 Thread Bjorn Andersson
On Thu 24 May 10:50 PDT 2018, Rob Herring wrote: > Deferred probe will currently wait forever on dependent devices to probe, > but sometimes a driver will never exist. It's also not always critical for > a driver to exist. Platforms can rely on default configuration from the > bootloader or reset

Re: [PATCH v2 1/8] driver core: make deferring probe after init optional

2018-05-24 Thread Rob Herring
On Thu, May 24, 2018 at 2:00 PM, Greg Kroah-Hartman wrote: > On Thu, May 24, 2018 at 12:50:17PM -0500, Rob Herring wrote: >> Deferred probe will currently wait forever on dependent devices to probe, >> but sometimes a driver will never exist. It's also not always critical for >> a driver to exist.

Re: [PATCH v2 1/8] driver core: make deferring probe after init optional

2018-05-24 Thread Rob Herring
On Thu, May 24, 2018 at 1:18 PM, Mark Brown wrote: > On Thu, May 24, 2018 at 12:50:17PM -0500, Rob Herring wrote: > >> Subsystems or drivers may opt-in to this behavior by calling >> driver_deferred_probe_check_init_done() instead of just returning >> -EPROBE_DEFER. They may use additional informa

Re: [PATCH v2 1/8] driver core: make deferring probe after init optional

2018-05-24 Thread Rob Herring
On Thu, May 24, 2018 at 1:56 PM, Greg Kroah-Hartman wrote: > On Thu, May 24, 2018 at 12:50:17PM -0500, Rob Herring wrote: >> Deferred probe will currently wait forever on dependent devices to probe, >> but sometimes a driver will never exist. It's also not always critical for >> a driver to exist.

Re: [PATCH v2 1/8] driver core: make deferring probe after init optional

2018-05-24 Thread Greg Kroah-Hartman
On Thu, May 24, 2018 at 12:50:17PM -0500, Rob Herring wrote: > Deferred probe will currently wait forever on dependent devices to probe, > but sometimes a driver will never exist. It's also not always critical for > a driver to exist. Platforms can rely on default configuration from the > bootloade

Re: [PATCH v2 1/8] driver core: make deferring probe after init optional

2018-05-24 Thread Greg Kroah-Hartman
On Thu, May 24, 2018 at 12:50:17PM -0500, Rob Herring wrote: > Deferred probe will currently wait forever on dependent devices to probe, > but sometimes a driver will never exist. It's also not always critical for > a driver to exist. Platforms can rely on default configuration from the > bootloade

Re: [PATCH v2 1/8] driver core: make deferring probe after init optional

2018-05-24 Thread Mark Brown
On Thu, May 24, 2018 at 12:50:17PM -0500, Rob Herring wrote: > Subsystems or drivers may opt-in to this behavior by calling > driver_deferred_probe_check_init_done() instead of just returning > -EPROBE_DEFER. They may use additional information from DT or kernel's > config to decide whether to con

[PATCH v2 1/8] driver core: make deferring probe after init optional

2018-05-24 Thread Rob Herring
Deferred probe will currently wait forever on dependent devices to probe, but sometimes a driver will never exist. It's also not always critical for a driver to exist. Platforms can rely on default configuration from the bootloader or reset defaults for things such as pinctrl and power domains. Thi