[PATCH v2 19/33] dtoc: Read aliases for uclasses

Simon Glass sjg at chromium.org
Sun Feb 7 01:17:08 CET 2021


Scan the aliases in the device tree to establish the number of devices
within each uclass, and the sequence number of each.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

(no changes since v1)

 tools/dtoc/dtb_platdata.py                   | 28 ++++++++++
 tools/dtoc/src_scan.py                       | 32 ++++++++++-
 tools/dtoc/test/dtoc_test_alias_bad.dts      | 58 ++++++++++++++++++++
 tools/dtoc/test/dtoc_test_alias_bad_path.dts | 58 ++++++++++++++++++++
 tools/dtoc/test/dtoc_test_alias_bad_uc.dts   | 58 ++++++++++++++++++++
 tools/dtoc/test/dtoc_test_inst.dts           | 58 ++++++++++++++++++++
 tools/dtoc/test_dtoc.py                      | 56 ++++++++++++++++++-
 7 files changed, 345 insertions(+), 3 deletions(-)
 create mode 100644 tools/dtoc/test/dtoc_test_alias_bad.dts
 create mode 100644 tools/dtoc/test/dtoc_test_alias_bad_path.dts
 create mode 100644 tools/dtoc/test/dtoc_test_alias_bad_uc.dts
 create mode 100644 tools/dtoc/test/dtoc_test_inst.dts

Applied to u-boot-dm, thanks!


More information about the U-Boot mailing list