[U-Boot] [PATCH v2 43/80] dm: usb: Bind generic USB devices when there is no driver

Simon Glass sjg at chromium.org
Tue Apr 7 20:45:14 CEST 2015


On 25 March 2015 at 12:22, Simon Glass <sjg at chromium.org> wrote:
> At present USB devices with no driver model driver cannot be seen in the
> device list, and we fail to set them up correctly. This means they cannot
> be used.
>
> While having real drivers that support driver model for all USB devices
> is the eventual goal, we are not there yet.
>
> As a stop-gap, add a generic USB driver which is bound when we do not have
> a real driver. This allows the device to be set up and shown on the bus.
> It also allows ad-hoc code (such as usb_ether) to find these devices and
> set them up.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
> Changes in v2: None
>
>  drivers/usb/host/usb-uclass.c | 18 +++++++++++++++++-
>  include/dm/uclass-id.h        |  1 +
>  2 files changed, 18 insertions(+), 1 deletion(-)

Applied to u-boot-dm/next.


More information about the U-Boot mailing list