Thread (12 messages) 12 messages, 5 authors, 2018-07-07

Re: [PATCH v3 3/6] pinctrl: Support stopping deferred probe after initcalls

From: Linus Walleij <hidden>
Date: 2018-07-02 13:23:26
Also in: linux-arm-kernel, lkml

On Thu, Jun 28, 2018 at 10:43 PM Rob Herring [off-list ref] wrote:
Pinctrl drivers are a common dependency which can prevent a system
booting even if the default or bootloader configured settings can work.
If a pinctrl node in DT indicates that the default pin setup can be used
with the 'pinctrl-use-default' property, then only defer probe until
initcalls are done. If the deferred probe timeout is enabled or loadable
modules are disabled, then we'll stop deferring probe regardless of the
DT property. This gives platforms the option to work without their
pinctrl driver being enabled.

Dropped the pinctrl specific deferring probe message as the driver core
can print deferred probe related messages if needed.

Signed-off-by: Rob Herring <robh@kernel.org>
---
v3:
- Drop pinctrl deferred probe msg in favor of driver core messages
- Move the handling of "pinctrl-use-default" option out of driver core
- Stop deferring probe if modules are not enabled.

Linus, I reworked this a bit, so didn't add your ack.
Looks even better now:
Reviewed-by: Linus Walleij <redacted>

Yours,
Linus Walleij
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help