u-boot-brain/drivers
Paul Burton ce70172159 dm: core: Match compatible strings in order of priority
Device model drivers have previously been matched to FDT nodes by virtue
of being the first driver in the driver list to be compatible with the
node. This ignores the fact that compatible strings in the device tree
are listed in order of priority - that is, if we have a node with 2
compatible strings & a driver that matches each then we should always
probe the driver that matches the first compatible string.

Fix this by looping through the compatible strings for a node when
attempting to bind it in lists_bind_fdt and checking each driver for
a match of the first string, then each driver for a match of the second
string etc. Effectively this inverts the loops over compatible strings &
drivers.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
2016-09-21 15:04:32 +02:00
..
adc sandbox: add ADC driver 2015-11-02 10:38:00 +09:00
bios_emulator Various, unrelated tree-wide typo fixes. 2016-07-16 09:43:12 -04:00
block block: dwc_ahsata: support i.MX6DQPlus 2016-05-24 14:59:57 +02:00
bootcount bootcounter_ram: Flush dcache after data is written into SDRAM 2016-04-11 20:48:25 -04:00
clk Merge branch 'master' of git://git.denx.de/u-boot-atmel 2016-08-15 17:31:23 -04:00
core dm: core: Match compatible strings in order of priority 2016-09-21 15:04:32 +02:00
cpu x86: Move MP initialization codes into a common place 2015-07-14 18:03:16 -06:00
crypto crypto/fsl: Update blob cmd to accept 64bit addresses 2016-08-02 09:45:39 -07:00
ddr driver/ddr/fsl: Fix timing_cfg_2 2016-08-02 09:47:34 -07:00
demo drivers: hierarchize drivers Kconfig menu 2015-08-12 20:47:44 -04:00
dfu nand: Fix some more NULL name tests 2016-09-01 20:08:48 -05:00
dma drivers: dma: ti-edma3: convert driver to adopt driver model 2016-02-23 16:14:46 +05:30
fpga Various, unrelated tree-wide typo fixes. 2016-07-16 09:43:12 -04:00
gpio serial: bcm283x_mu: Detect disabled serial device 2016-09-06 13:18:19 -04:00
hwmon mailaddr: Update mail address 2016-01-27 15:32:05 +01:00
i2c i2c: at91_i2c: Fix the wrong include file 2016-09-13 06:58:54 +02:00
input input: i8042: Make sure the keyboard is enabled 2016-03-17 10:27:24 +08:00
led dm: led: Tidy up SPL options for the led and led-gpio 2015-09-02 21:28:22 -06:00
mailbox ARM: tegra: adapt to latest HSP DT binding 2016-08-04 13:36:58 -07:00
memory memory: Move TI_AEMIF config to KCONFIG 2016-04-18 17:11:43 -04:00
misc misc: Add simple driver for some Nuvoton NCT6102D devices 2016-08-16 11:44:09 +08:00
mmc mmc: uniphier-sd: migrate to CONFIG_BLK 2016-09-14 22:54:19 +09:00
mtd Merge branch 'master' of git://www.denx.de/git/u-boot-imx 2016-09-09 09:45:32 -04:00
net net: pch_gbe: Make 64 bit safe 2016-09-21 15:04:32 +02:00
pch dm: Use dm_scan_fdt_dev() directly where possible 2016-07-27 14:15:54 -06:00
pci pci: Flip condition for detecting non-PCI parent devices 2016-09-21 15:04:32 +02:00
pcmcia powerpc: mpc824x: remove MPC824X cpu support 2015-01-05 12:08:55 -05:00
pinctrl pinctrl: uniphier: add UniPhier sLD3 pinctrl driver 2016-09-18 23:10:17 +09:00
power sunxi: axp2xx: disable ldoio0/1 at boot 2016-09-17 14:37:39 +02:00
pwm exynos: pwm: Add a driver for the exynos5 PWM 2016-05-25 13:25:18 +09:00
qe net: mii: Fix changes made by spatch 2016-08-15 15:29:03 -05:00
ram ram: rename CONFIG_SPL_RAM_SUPPORT to CONFIG_SPL_RAM 2015-08-18 13:46:02 -04:00
remoteproc remoteproc: Add support for TI power processor 2016-03-14 19:18:37 -04:00
reset reset: add Tegra186 reset driver 2016-08-15 10:26:13 -07:00
rtc rtc: Tidy up the code style 2016-07-14 18:33:11 -04:00
serial serial: ns16550: Support clocks via phandle 2016-09-21 15:04:32 +02:00
soc Use correct spelling of "U-Boot" 2016-02-06 12:00:59 +01:00
sound of: clean up OF_CONTROL ifdef conditionals 2015-08-18 13:46:05 -04:00
spi spi: tegra: fix hang in set_mode() 2016-08-25 15:35:03 -07:00
spmi Merge git://git.denx.de/u-boot-dm 2016-08-12 16:00:50 -04:00
sysreset xtensa: add support for the 'xtfpga' evaluation board 2016-08-15 18:46:40 -04:00
thermal Fix various typos, scattered over the code. 2016-05-05 21:39:26 -04:00
timer Merge git://git.denx.de/u-boot-dm 2016-03-14 19:21:44 -04:00
tpm tpm: atmel_twi: Make compatible with DM I2C busses 2016-08-15 22:12:00 +02:00
twserial
usb Merge branch 'master' of git://git.denx.de/u-boot-uniphier 2016-09-18 14:05:30 -04:00
video sunxi: display: Use PWM to drive backlight where applicable 2016-08-26 16:58:37 +02:00
watchdog imx_watchdog: add weak attribute to reset_cpu function 2016-07-19 19:52:15 +02:00
Kconfig drivers/sysreset: group sysreset drivers 2016-08-12 09:22:17 -04:00
Makefile Use separate options for TPL support 2016-09-16 17:03:39 -04:00