u-boot/include/dm
Simon Glass 3cf0fba4ff dm: core: Allow iterating devices without uclass_get()
At present we have uclass_foreach_dev() which requires that uclass_get()
be called beforehand to find the uclass. This is good if we suspect that
that function might fail, but often we know that the uclass is available.

Add a new helper which does this uclass_get() automatically, so that only
the uclass ID is needed.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
2020-02-07 22:41:24 +08:00
..
platform_data serial: stm32: remove unused include 2019-08-27 11:19:23 +02:00
device-internal.h dm: core: Export a new function to read platdata 2020-01-07 16:02:38 -07:00
device.h dm: devres: Create a new devres header file 2020-01-07 16:02:38 -07:00
devres.h dm: devres: Add tests 2020-01-07 16:02:39 -07:00
fdtaddr.h dm: pci: Add a function to read a PCI BAR 2019-10-08 13:57:43 +08: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 of_alias_get_highest_id() 2019-02-08 06:24:57 +01: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: Fix offset_to_ofnode() with invalid offset 2019-12-15 08:52:29 +08: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 SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
read.h dm: pci: Add a function to read a PCI BAR 2019-10-08 13:57:43 +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 test: dm: core: Add test case for uclass driver's child_post_probe() 2018-11-14 09:16:27 -08:00
uclass-id.h dm: Increased separation of ofdata_to_platdata() and probe methods 2020-01-09 08:52:21 -05: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: Allow iterating devices without uclass_get() 2020-02-07 22:41:24 +08:00
util.h dm: doc: add documentation for pre-reloc properties in SPL and TPL 2019-07-10 16:52:58 -06:00