All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v5 0/2] dm: core: drivers: add function uclass_probe_all()
@ 2020-12-09  5:12 Vabhav Sharma
  2020-12-09  5:12 ` [PATCH v5 1/2] dm: core: add function uclass_probe_all() to probe all devices Vabhav Sharma
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Vabhav Sharma @ 2020-12-09  5:12 UTC (permalink / raw)
  To: u-boot

From: Vabhav Sharma <vabhav.sharma@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 v5:
Incorporated review comments from Sean Anderson
  - Added error check
  - Replaced for() loop with while() loop 
  - Updated macro description
  - Modified function description
  
Changes for v4:
Incorporated review comments from Simon  
  - Removed if (dev)..  conditional check in function uclass_probe_all()

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          | 19 +++++++++++++++++++
 drivers/serial/Kconfig         | 16 ++++++++++++++++
 drivers/serial/serial-uclass.c |  9 +++++++++
 include/dm/uclass.h            | 11 +++++++++++
 4 files changed, 55 insertions(+)

-- 
2.7.4

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2021-01-18 13:01 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-12-09  5:12 [PATCH v5 0/2] dm: core: drivers: add function uclass_probe_all() Vabhav Sharma
2020-12-09  5:12 ` [PATCH v5 1/2] dm: core: add function uclass_probe_all() to probe all devices Vabhav Sharma
2020-12-16 15:19   ` Sean Anderson
2021-01-18 13:01   ` Tom Rini
2020-12-09  5:12 ` [PATCH v5 2/2] drivers: serial: probe all uart devices Vabhav Sharma
2020-12-16 15:22   ` Sean Anderson
2021-01-18 13:01   ` Tom Rini
2020-12-16 10:31 ` [PATCH v5 0/2] dm: core: drivers: add function uclass_probe_all() Vabhav Sharma

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.