Thread (43 messages) 43 messages, 4 authors, 2016-09-19

[PATCH v4 01/22] of: device: Support loading a module with OF based modalias

From: robh+dt@kernel.org (Rob Herring)
Date: 2016-09-08 00:58:47
Also in: linux-arm-msm, linux-devicetree, lkml

On Wed, Sep 7, 2016 at 4:34 PM, Stephen Boyd [off-list ref] wrote:
In the case of ULPI devices, we want to be able to load the
driver before registering the device so that we don't get stuck
in a loop waiting for the phy module to appear and failing usb
controller probe. Currently we request the ulpi module via the
ulpi ids, but in the DT case we might need to request it with the
OF based modalias instead. Add a common function that allows
anyone to request a module with the OF based modalias.

Cc: Rob Herring <robh+dt@kernel.org>
Cc: <redacted>
Signed-off-by: Stephen Boyd <redacted>
---
 drivers/of/device.c       | 23 +++++++++++++++++++++++
 include/linux/of_device.h |  6 ++++++
 2 files changed, 29 insertions(+)
Acked-by: Rob Herring <robh@kernel.org>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help