u-boot/include/dm
Marek Vasut 9cc32bfa49 dm: core: Add DM_FLAG_PROBE_AFTER_BIND flag
Introduce DM_FLAG_PROBE_AFTER_BIND flag, which can be set by driver or
uclass in .bind(), to indicate such driver instance should be probe()d
once binding of all devices is complete.

This is useful in case the driver determines that hardware initialization
is mandatory on boot, and such initialization happens only in probe().
This also solves the inability to call device_probe() from .bind().

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Patrice Chotard <patrice.chotard@foss.st.com>
Cc: Patrick Delaunay <patrick.delaunay@foss.st.com>
Cc: Sean Anderson <seanga2@gmail.com>
Cc: Simon Glass <sjg@chromium.org>
Cc: Steven Lawrance <steven.lawrance@softathome.com>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
Tested-by: Patrice Chotard <patrice.chotard@foss.st.com>
2022-04-28 09:26:43 -04:00
..
platform_data WS cleanup: remove trailing empty lines 2021-09-30 08:08:56 -04:00
acpi.h acpi: Collect tables in the acpi_item list 2022-01-25 11:44:36 -07:00
device-internal.h dm: core: Allow devres to be disabled in SPL 2022-04-18 17:53:56 -04:00
device.h dm: core: Add DM_FLAG_PROBE_AFTER_BIND flag 2022-04-28 09:26:43 -04:00
device_compat.h dm: Don't undefine dev_xxx macros 2020-10-16 09:44:27 -04:00
devres.h dm: core: Allow devres to be disabled in SPL 2022-04-18 17:53:56 -04:00
fdtaddr.h doc: add include/dm/fdtaddr.h to the HTML documentation 2022-01-15 10:57:21 +01:00
lists.h doc: add include/dm/lists.h to the HTML documentation 2022-01-15 10:57:21 +01:00
of.h doc: add include/dm/of*.h to the HTML documentation 2022-01-15 10:57:21 +01:00
of_access.h doc: add include/dm/of*.h to the HTML documentation 2022-01-15 10:57:21 +01:00
of_addr.h doc: add include/dm/of*.h to the HTML documentation 2022-01-15 10:57:21 +01:00
of_extra.h doc: add include/dm/of*.h to the HTML documentation 2022-01-15 10:57:21 +01:00
ofnode.h Merge branch 'next' of https://source.denx.de/u-boot/custodians/u-boot-net 2022-04-15 08:10:32 -04:00
pci.h doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
pinctrl.h pinctrl: Increase length of pinmux status buffer 2022-03-14 15:23:26 +01:00
platdata.h doc: add include/dm/platdata.h to the HTML documentation 2022-01-15 10:57:21 +01:00
read.h treewide: Rename PHY_INTERFACE_MODE_NONE to PHY_INTERFACE_MODE_NA 2022-04-10 08:44:13 +03:00
root.h doc: add include/dm/root.h to the HTML documentation 2022-01-15 10:57:21 +01:00
simple_bus.h dm: core: Correctly read <ranges> of simple-bus 2021-04-15 14:22:17 +05:30
tag.h dm: add tag support 2022-04-09 21:06:31 +02:00
test.h doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
uclass-id.h Merge branch '2022-04-25-initial-implementation-of-stdboot' 2022-04-25 16:02:27 -04:00
uclass-internal.h dm: core: Allow finding a uclass device by partial name 2022-04-25 10:00:03 -04:00
uclass.h dm: core: Rename and fix uclass_get_by_name_len() 2022-04-25 10:00:03 -04:00
util.h doc: replace @return by Return: 2022-01-19 18:11:34 +01:00