diff options
author | Simon Glass <sjg@chromium.org> | 2023-01-17 10:47:12 -0700 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-01-23 18:11:39 -0500 |
commit | 3d01254140fc9e5e900d739cb97bd9fba6aa2b68 (patch) | |
tree | f0ab5ee057999c7b07d19beefd3761ddeb6696a8 /doc/usage/cmd | |
parent | c0f19fedaa742adbe0f4e29e9a956ea05fe22057 (diff) | |
download | u-boot-3d01254140fc9e5e900d739cb97bd9fba6aa2b68.tar.gz |
dm: core: Support sorting devices with dm tree
Add a -s flag to sort the top-level devices in order of uclass ID.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'doc/usage/cmd')
-rw-r--r-- | doc/usage/cmd/dm.rst | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/usage/cmd/dm.rst b/doc/usage/cmd/dm.rst index 7bc1962a75..236cd02bd6 100644 --- a/doc/usage/cmd/dm.rst +++ b/doc/usage/cmd/dm.rst @@ -12,7 +12,7 @@ Synopis dm devres dm drivers dm static - dm tree + dm tree [-s] dm uclass Description @@ -123,6 +123,9 @@ Name Shows the device name as well as the tree structure, since child devices are shown attached to their parent. +If -s is given, the top-level devices (those which are children of the root +device) are shown sorted in order of uclass ID, so it is easier to find a +particular device type. dm uclass ~~~~~~~~~ |