]> git.dujemihanovic.xyz Git - u-boot.git/commit
cmd: bind: Use device sequence instead for driver bind/unbind
authorZixun LI <admin@hifiphile.com>
Fri, 2 Aug 2024 09:28:13 +0000 (11:28 +0200)
committerTom Rini <trini@konsulko.com>
Tue, 27 Aug 2024 20:30:14 +0000 (14:30 -0600)
commit56274888fc1c9aa31eb780507a625551f6ae5c9f
tree296d30e113c03b2238f4afea134cdf76a5a41504
parent2d76e724b412bbe8cfed2157f78a3fb2602c2d6d
cmd: bind: Use device sequence instead for driver bind/unbind

Currently uclass index is used for bind/unbind which ignores alias
sequence numbering. Use device sequence number instead as it's
the number explicitly set in the DT.

Also update documentation to use sequence number.

Signed-off-by: Zixun LI <admin@hifiphile.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
cmd/bind.c
doc/usage/cmd/bind.rst
doc/usage/cmd/unbind.rst