u-boot-brain/drivers/core
Vabhav Sharma a59153dfeb dm: core: add function uclass_probe_all() to probe all devices
Support a common method to probe all devices associated with uclass.

This includes data structures and code for finding the first device and
looping for remaining devices associated with uclasses (groups of devices
with the same purpose, e.g. all SERIAL ports will be in the same uclass).

An example is SBSA compliant PL011 UART IP, where firmware does the serial
port initialization and prepare uart device to let the kernel use it for
sending and reveiving the characters.SERIAL uclass will use this function
to initialize PL011 UART ports.

The feature is enabled with CONFIG_DM.

Signed-off-by: Vabhav Sharma <vabhav.sharma@nxp.com>
Reviewed-by: Stefan Roese <sr@denx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Sean Anderson <seanga2@gmail.com>
2021-01-16 14:49:09 -05:00
..
acpi.c dm: treewide: Rename ofdata_to_platdata() to of_to_plat() 2020-12-13 16:51:09 -07:00
device-remove.c Driver model: make some udevice fields private 2021-01-05 22:34:43 -05:00
device.c dm: core: Allow the uclass list to move 2021-01-05 12:24:41 -07:00
devres.c dm: core: Access device flags through functions 2021-01-05 12:24:41 -07:00
dump.c dm: core: Access device flags through functions 2021-01-05 12:24:41 -07:00
fdtaddr.c fdt: translate address if #size-cells = <0> 2021-01-12 10:58:05 +05:30
Kconfig fdt: translate address if #size-cells = <0> 2021-01-12 10:58:05 +05:30
lists.c dm: core: Add logging when lists_bind_fdt() fails 2021-01-05 12:24:41 -07:00
Makefile dm: Avoid using #ifdef for CONFIG_OF_LIVE 2020-10-29 14:42:17 -06:00
of_access.c dm: add cells_count parameter in *_count_phandle_with_args 2020-10-06 09:07:54 -06:00
of_addr.c fdt: translate address if #size-cells = <0> 2021-01-12 10:58:05 +05:30
of_extra.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
ofnode.c fdt: translate address if #size-cells = <0> 2021-01-12 10:58:05 +05:30
read_extra.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
read.c dm: core: add a function to decode display timings 2021-01-12 10:58:05 +05:30
regmap.c dm: treewide: Rename ..._platdata variables to just ..._plat 2020-12-13 16:51:09 -07:00
root.c fdt: translate address if #size-cells = <0> 2021-01-12 10:58:05 +05:30
simple-bus.c dm: core: Move priv/plat structs for simple_bus to headers 2021-01-05 12:24:41 -07:00
simple-pm-bus.c dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
syscon-uclass.c dm: treewide: Rename ..._platdata variables to just ..._plat 2020-12-13 16:51:09 -07:00
uclass.c dm: core: add function uclass_probe_all() to probe all devices 2021-01-16 14:49:09 -05:00
util.c dm: core: Allow dm_warn() to be used in SPL 2020-10-29 14:42:17 -06:00