Patrice Chotard 38f7d3b653 cmd: bind: Fix driver binding on a device
Fix a regression brings by commit 84f8e36f03fa ("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: 84f8e36f03fa ("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
..
2021-06-17 09:40:57 +08:00
2019-12-06 16:44:20 -05:00
2021-07-23 13:36:20 -04:00
2021-09-13 18:23:13 -04:00
2020-05-11 10:16:49 +05:30
2021-01-15 14:36:12 -05:00
2021-01-25 21:52:00 +00:00
2021-01-25 21:52:00 +00:00
2021-07-21 10:27:35 -06:00
2020-05-18 17:33:33 -04:00
2021-01-12 10:58:04 +05:30
2020-12-26 12:37:28 +01:00
2021-07-23 13:36:20 -04:00
2021-01-30 14:25:42 -07:00
2021-06-18 10:09:41 +02:00
2019-04-23 20:26:43 -06:00
2020-02-05 19:33:46 -07:00
2019-10-13 23:34:43 +02:00
2020-05-07 09:01:42 -04:00
2020-08-03 22:19:54 -04:00
2020-05-18 21:19:23 -04:00
2021-04-16 17:32:34 -04:00
2021-07-07 19:52:22 -04:00
2021-04-10 08:04:42 -04:00
2021-02-10 10:00:51 +01:00
2020-10-30 10:56:11 -04:00
2020-05-18 17:33:33 -04:00
2020-06-12 13:14:07 -04:00
2019-02-20 15:27:09 +08:00
2021-08-22 10:52:53 +02:00
2019-02-09 12:50:22 -07:00
2019-10-14 09:31:41 +02:00
2020-01-20 15:38:16 +01:00
2021-08-06 08:26:48 -04:00
2019-11-07 18:39:16 -05:00
2020-05-18 18:36:55 -04:00
2019-08-11 16:43:41 -04:00
2020-04-17 12:32:36 -04:00
2021-06-07 10:48:40 -04:00
2019-12-02 18:23:11 -05:00
2021-06-23 08:45:03 -04:00
2021-07-07 19:52:24 -04:00
2021-09-28 12:03:20 -04:00
2020-07-17 10:47:19 -04:00
2021-09-13 18:23:13 -04:00
2021-07-06 05:22:41 +03:00
2021-07-07 19:52:24 -04:00
2021-04-12 17:44:55 -04:00
2020-06-14 21:07:20 +02:00
2020-02-05 19:33:46 -07:00
2020-06-14 21:07:20 +02:00
2020-07-09 06:02:44 +02:00
2020-09-30 11:55:23 -04:00
2020-02-05 19:33:46 -07:00
2021-03-27 15:04:31 +13:00
2021-01-05 16:20:26 -05:00
2019-02-01 16:59:12 +01:00
2019-05-21 17:33:23 -06:00
2020-10-22 09:54:53 -04:00
2020-08-03 22:19:54 -04:00
2021-01-27 17:03:16 -05:00
2020-08-03 22:19:54 -04:00
2021-01-15 14:36:12 -05:00