u-boot-2016/drivers
Przemyslaw Marczak b7af1a2da7 dm: core: uclass: add function: uclass_get_device_by_name()
This commit extends the driver model uclass's API by function:
- uclass_get_device_by_name()

And this function returns the device if:
- uclass with given ID, exists,
- device with exactly given name(dev->name), exists,
- device probe, doesn't return an error.

The returned device is activated and ready to use.

Note:
This function returns the first device, which name is equal
to the given one. This means, that using this function you must
assume, that the device name is unique in the given uclass's ID
device list.

Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com>
Cc: Simon Glass <sjg@chromium.org>
Acked-by: Simon Glass <sjg@chromium.org>
2015-04-22 11:03:15 -06:00
..
bios_emulator bios_emulator: Add some VESA interface debugging 2015-01-23 17:24:16 -07:00
block ahci: mmio_base is a virtual address 2015-04-18 16:54:29 -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: uclass: add function: uclass_get_device_by_name() 2015-04-22 11:03:15 -06:00
crypto Merge branch 'master' of git://git.denx.de/u-boot-mpc85xx 2015-03-05 20:50:30 -05:00
ddr MPC8541/MPC8555: Enable SS_EN in DDR_SDRAM_CLK_CNLT register 2015-04-20 10:15:28 -07: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 sandbox: Move GPIO CONFIGs to Kconfig 2015-04-18 11:11:37 -06:00
hwmon dtt: add ds620 support 2015-04-10 14:23:23 +02:00
i2c sandbox: Move CONFIG_SYS_I2C_SANDBOX to Kconfig 2015-04-18 11:11:38 -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 sandbox: Move CONFIG_SPI_FLASH_SANDBOX to Kconfig 2015-04-18 11:11:38 -06:00
net net: pch_gbe: Fix pch_gbe device name 2015-04-20 17:57:13 -05: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 net: cosmetic: Fix var naming net <-> eth drivers 2015-04-18 11:11:33 -06:00
rtc remove unnecessary version.h includes 2015-03-24 10:50:50 -04:00
serial serial: pl01x: fix PL010 regression 2015-04-21 10:05:42 -04:00
soc soc: keystone_serdes: generalize configuration mechanism 2014-10-23 11:27:28 -04:00
sound sandbox: exynos: Move CONFIG_SOUND_SANDBOX to Kconfig 2015-04-18 11:11:39 -06:00
spi sandbox: Move CONFIG_SANDBOX_SPI to Kconfig 2015-04-18 11:11:38 -06:00
thermal dm: Expand and complete Kconfig in drivers/ 2015-02-12 10:35:33 -07:00
tpm sandbox: Move CONFIG_TPM_TIS_SANDBOX to Kconfig 2015-04-18 11:11:38 -06:00
twserial drivers: convert makefiles to Kbuild style 2013-10-31 13:26:01 -04:00
usb net: cosmetic: Fix var naming net <-> eth drivers 2015-04-18 11:11:33 -06:00
video Merge branch 'master' of git://git.denx.de/u-boot-video 2015-04-20 09:13:52 -04: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