
When I was reviewing I2C DM series, I found it difficult to track what is going on. "When is this node is bound/probe?" etc.
I think this tool is helpful to know which device is bound/probe.
Devices are listed like "tree" command does.
Masahiro Yamada (3): lib: string: move strlcpy() to a common place dm: add a command to list devices in a tree-like format sandbox: enable showdev command
common/Makefile | 1 + common/cmd_showdev.c | 72 ++++++++++++++++++++++++++++++++++++++++++++++ drivers/usb/gadget/ether.c | 24 ---------------- include/configs/sandbox.h | 1 + include/linux/string.h | 3 ++ lib/string.c | 25 ++++++++++++++++ 6 files changed, 102 insertions(+), 24 deletions(-) create mode 100644 common/cmd_showdev.c