u-boot/drivers/timer
Patrice Chotard 38f7d3b653 cmd: bind: Fix driver binding on a device
Fix a regression brings by commit 84f8e36f03 ("cmd: bind: allow to
bind driver with driver data")

As example, the following bind command doesn't work:

   bind /soc/usb-otg@49000000 usb_ether

As usb_ether driver has no compatible string, it can't be find by
lists_bind_fdt(). In bind_by_node_path(), which called lists_bind_fdt(),
the driver entry is known, pass it to lists_bind_fdt() to force the driver
entry selection.

For this, add a new parameter struct *driver to lists_bind_fdt().
Fix also all lists_bind_fdt() callers.

Fixes: 84f8e36f03 ("cmd: bind: allow to bind driver with driver data")
Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
Reported-by: Herbert Poetzl <herbert@13thfloor.at>
Cc: Marek Vasut <marex@denx.de>
Cc: Herbert Poetzl <herbert@13thfloor.at>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2021-10-12 14:19:52 +02:00
..
ag101p_timer.c dm: Use access methods for dev/uclass private data 2021-01-05 12:24:40 -07:00
altera_timer.c dm: Use access methods for dev/uclass private data 2021-01-05 12:24:40 -07:00
andes_plmt_timer.c riscv: timer: Add support for an early timer 2021-01-18 11:06:32 +08:00
arc_timer.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
ast_timer.c dm: treewide: Rename ofdata_to_platdata() to of_to_plat() 2020-12-13 16:51:09 -07:00
atcpit100_timer.c dm: treewide: Rename ..._platdata variables to just ..._plat 2020-12-13 16:51:09 -07:00
atmel_pit_timer.c dm: treewide: Rename ..._platdata variables to just ..._plat 2020-12-13 16:51:09 -07:00
cadence-ttc.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
dw-apb-timer.c dm: treewide: Rename ofdata_to_platdata() to of_to_plat() 2020-12-13 16:51:09 -07:00
imx-gpt-timer.c timer: imx-gpt: Add timer support for i.MX SoCs family 2021-06-09 13:01:33 +02:00
Kconfig x86: tsc: Rename X86_TSC_TIMER_EARLY_FREQ to X86_TSC_TIMER_FREQ 2021-08-02 15:11:40 +08:00
Makefile timer: imx-gpt: Add timer support for i.MX SoCs family 2021-06-09 13:01:33 +02:00
mchp-pit64b-timer.c dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
mpc83xx_timer.c allow opting out of WATCHDOG_RESET() from timer interrupt 2021-04-27 08:28:07 +02:00
mtk_timer.c timer: mtk_timer: initialize the timer before use 2021-01-18 15:23:06 -05:00
nomadik-mtu-timer.c timer: nomadik-mtu: Use dev_read_addr_ptr() 2021-07-14 16:47:57 -04:00
omap-timer.c omap: timer: fix the rate setting 2021-01-12 10:58:05 +05:30
ostm_timer.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
riscv_timer.c riscv: timer: Add support for an early timer 2021-01-18 11:06:32 +08:00
rockchip_timer.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
sandbox_timer.c sandbox: Only call timer_timebase_fallback() if present 2021-03-27 15:04:31 +13:00
sifive_clint_timer.c timer: sifive_clint: Support the official clint DT bindings 2021-04-08 15:37:29 +08:00
sti-timer.c Prepare v2021.01-rc5 2021-01-05 16:20:26 -05:00
stm32_timer.c timer: stm32: migrate trace to log macro 2021-01-13 09:52:58 +01:00
timer-uclass.c cmd: bind: Fix driver binding on a device 2021-10-12 14:19:52 +02:00
tsc_timer.c x86: tsc: Rename X86_TSC_TIMER_EARLY_FREQ to X86_TSC_TIMER_FREQ 2021-08-02 15:11:40 +08:00