u-boot-brain/drivers
Simon Glass 0566e2403d dm: usb: Allow USB drivers to be declared and auto-probed
USB devices in U-Boot are currently probed only after all devices have
been enumerated. Each type of device is probed by custom code, e.g.:

- USB storage
- Keyboard
- Ethernet

With driver model this approach doesn't work very well. We could build
a picture of the bus and then go back and add the devices later, but
this means that the data structures are incomplete for quite a while.
It also does not follow the model of being able to bind a device when we
discover it.

We would prefer to have devices automatically be bound as the device is
enumerated. This allows us to attach drivers to particular USB classes
or product/vendor IDs. This is the method used by Linux.

Add the required #defines from Linux, a way of declaring a USB driver and
the logic to locate the correct driver given the USB device's descriptors.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Marek Vasut <marex@denx.de>
2015-04-18 11:11:25 -06:00
..
bios_emulator bios_emulator: Add some VESA interface debugging 2015-01-23 17:24:16 -07:00
block ahci: Fix a wrong parameter pass 2015-04-07 08:41:10 -04:00
bootcount qe: move immap_qe.h from arch directory into common directory 2014-07-22 16:25:54 -07:00
core dm: core: Add device children and sibling functions 2015-04-18 11:11:19 -06:00
crypto Merge branch 'master' of git://git.denx.de/u-boot-mpc85xx 2015-03-05 20:50:30 -05:00
ddr driver/ddr/fsl: Add sync of refresh 2015-02-24 13:09:42 -08:00
demo common: Make sure arch-specific map_sysmem() is defined 2015-04-18 11:11:09 -06:00
dfu dfu: nand: Verify writes 2015-03-30 23:24:38 -05:00
dma dma: keystone_nav: remove spurious qm_cfg verification 2014-11-06 11:04:39 -05:00
fpga fpga: xilinx: Show fpga info if defined 2015-01-21 10:25:43 +01:00
gpio dm: gpio: Add an implementation for gpio_get_number() 2015-04-18 11:11:19 -06:00
hwmon dtt: add ds620 support 2015-04-10 14:23:23 +02:00
i2c dm: core: Rename driver data function to dev_get_driver_data() 2015-04-18 11:11:19 -06:00
input i8042: Add keyboard enable logic in kbd_reset() 2015-04-18 11:11:16 -06:00
memory ARM: keystone: aemif: move aemif driver to drivers/memory/ti-aemif.c 2014-06-19 17:53:58 -04:00
misc sandbox: cros_ec: Add Kconfig for sandbox EC config 2015-04-18 11:11:16 -06:00
mmc ARM: bcm283x: move SoC headers to mach-bcm283x/include/mach 2015-03-28 09:03:09 -04:00
mtd dm: sf: Add driver model read/write/erase methods 2015-04-18 11:11:14 -06:00
net sandbox: eth: Add support for using the 'lo' interface 2015-04-18 11:11:14 -06:00
pci dm: x86: pci: Add a PCI driver for driver model 2015-04-18 11:11:09 -06:00
pcmcia powerpc: mpc824x: remove MPC824X cpu support 2015-01-05 12:08:55 -05:00
power sunxi: axp221: Use vbus-available rather then vbus-usable for vbus-detect 2015-04-15 16:17:17 +02:00
pwm pwm, imx6: add support for pwm modul on imx6 2014-07-23 12:25:42 +02:00
qe qe/deep-sleep: modify qe deep-sleep for generic board 2014-12-15 09:16:49 -08:00
rtc remove unnecessary version.h includes 2015-03-24 10:50:50 -04:00
serial common: Make sure arch-specific map_sysmem() is defined 2015-04-18 11:11:09 -06:00
soc soc: keystone_serdes: generalize configuration mechanism 2014-10-23 11:27:28 -04:00
sound kconfig: add blank Kconfig files 2014-09-24 18:30:28 -04:00
spi dm: spi: Convert Freescale QSPI driver to driver model 2015-04-18 11:11:18 -06:00
thermal dm: Expand and complete Kconfig in drivers/ 2015-02-12 10:35:33 -07:00
tpm Replace <compiler.h> with <linux/compiler.h> 2014-12-08 09:35:46 -05:00
twserial drivers: convert makefiles to Kbuild style 2013-10-31 13:26:01 -04:00
usb dm: usb: Allow USB drivers to be declared and auto-probed 2015-04-18 11:11:25 -06:00
video x86: video: Allow keyboard presence to be controlled by device tree 2015-04-16 19:27:40 -06:00
watchdog watchdog/imx_watchdog: do not set WCR_WDW 2015-03-25 16:52:16 +01:00
Kconfig Create API to map between CPU physical and bus addresses 2015-04-14 05:47:59 +02:00
Makefile Merge branch 'master' of git://git.denx.de/u-boot-fsl-qoriq 2014-11-26 11:23:26 -05:00