Commit f4dde8aa authored by Stephen Boyd's avatar Stephen Boyd Committed by Amit Pundir
Browse files

UPSTREAM: of: device: Support loading a module with OF based modalias



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.

Acked-by: default avatarRob Herring <robh@kernel.org>
Cc: <devicetree@vger.kernel.org>
Signed-off-by: default avatarStephen Boyd <stephen.boyd@linaro.org>
Signed-off-by: default avatarPeter Chen <peter.chen@nxp.com>
(cherry picked from commit 9c829c09)
Signed-off-by: default avatarAmit Pundir <amit.pundir@linaro.org>
parent 0ed505aa
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment