[PATCH v3 0/2] dm: core: drivers: add function uclass_probe_all()
Vabhav Sharma
vabhav.sharma at oss.nxp.com
Mon Oct 19 20:03:06 CEST 2020
From: Vabhav Sharma <vabhav.sharma at nxp.com>
- Add common method to probe devices belonging to same uclass
- Add config in serial uclass to support optional inclusion of uclass_probe_all
- Enable support for available serial devices probe
Changes for v3:
Incorporated Simon and Stephan review comment
- Define generic function uclass_probe_all(enum uclass_id)
in drivers/core/uclass.c
- Added the function in caller of serial_find_console_or_panic()
- Removed repeated sequence with generic function call uclass_probe_all()
Changes for v2:
Incorporated Stefan review comment,Update #ifdef with macro if (IS_ENABLED).
Vabhav Sharma (2):
dm: core: add function uclass_probe_all() to probe all devices
drivers: serial: probe all uart devices
drivers/core/uclass.c | 17 +++++++++++++++++
drivers/serial/Kconfig | 17 +++++++++++++++++
drivers/serial/serial-uclass.c | 4 ++++
include/dm/uclass.h | 12 ++++++++++++
4 files changed, 50 insertions(+)
--
2.7.4
More information about the U-Boot
mailing list