u-boot/include/dm
Walter Lozano fed0f891c6 core: extend struct driver_info to point to device
Currently when creating an U_BOOT_DEVICE entry a struct driver_info
is declared, which contains the data needed to instantiate the device.
However, the actual device is created at runtime and there is no proper
way to get the device based on its struct driver_info.

This patch extends struct driver_info adding a pointer to udevice which
is populated during the bind process, allowing to generate a set of
functions to get the device based on its struct driver_info.

Signed-off-by: Walter Lozano <walter.lozano@collabora.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2020-07-09 22:00:29 -06:00
..
platform_data arm: pxa: mmc: add driver model support 2020-06-30 11:13:11 -04:00
acpi.h acpi: Move the xsdt pointer to acpi_ctx 2020-04-30 17:16:12 +08:00
device-internal.h core: drop const for struct driver_info 2020-07-09 22:00:29 -06:00
device.h core: extend struct driver_info to point to device 2020-07-09 22:00:29 -06:00
device_compat.h dm: core: Create a new header file for 'compat' features 2020-02-05 19:33:46 -07:00
devres.h dm: core: Require users of devres to include the header 2020-02-05 19:33:46 -07:00
fdtaddr.h dm: core: Use const device for the devfdt...() interface 2020-02-05 19:33:45 -07:00
lists.h dm: Correct pre_reloc_only parameter description in several APIs' comments 2018-11-14 09:16:27 -08:00
of.h dm: Fix default address cells return value 2019-10-15 08:40:02 -06:00
of_access.h dm: core: add ofnode and dev function to iterate on node property 2020-04-16 23:06:54 -04:00
of_addr.h dm: core: Introduce xxx_translate_dma_address() 2019-07-22 09:21:28 +02:00
of_extra.h dm: core: Update ofnode to read binman-style flash entry 2018-10-09 04:40:27 -06:00
ofnode.h dm: core: Add function to get child count of ofnode or device 2020-05-02 12:32:28 +02:00
pci.h dm: pci: Move pci_get_devfn() into a common file 2019-12-15 08:52:29 +08:00
pinctrl.h pinctrol: dm: remove the function pinctrl_decode_pin_config 2019-11-14 07:09:34 -06:00
platdata.h core: extend struct driver_info to point to device 2020-07-09 22:00:29 -06:00
read.h dm: Fix error handling for dev_read_addr_ptr 2020-07-01 15:01:21 +08:00
root.h dm: Correct pre_reloc_only parameter description in several APIs' comments 2018-11-14 09:16:27 -08:00
test.h video: Add comments to struct sandbox_sdl_plat 2020-07-09 12:33:24 +08:00
uclass-id.h net: Add eth phy generic driver for shared MDIO 2020-05-10 13:24:48 +02:00
uclass-internal.h dm: core: Correct the return value for uclass_find_first_device() 2019-10-08 13:57:38 +08:00
uclass.h dm: core: Correct comment on uclass_id_foreach_dev() 2020-07-09 18:57:22 -06:00
util.h cmd: dm: Fixed/Added DM driver listing subcommands 2020-07-07 15:37:13 -04:00