u-boot/tools/dtoc
Walter Lozano 51f1263d89 dtoc: extend dtoc to use struct driver_info when linking nodes
In the current implementation, when dtoc parses a dtb to generate a struct
platdata it converts the information related to linked nodes as pointers
to struct platdata of destination nodes. By doing this, it makes
difficult to get pointer to udevices created based on these
information.

This patch extends dtoc to use struct driver_info when populating
information about linked nodes, which makes it easier to later get
the devices created. In this context, reimplement functions like
clk_get_by_index_platdata() which made use of the previous approach.

Signed-off-by: Walter Lozano <walter.lozano@collabora.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2020-07-09 22:00:29 -06:00
..
.gitignore dm: Add a library to provide simple device-tree access 2016-07-14 20:40:24 -06:00
dtb_platdata.py dtoc: extend dtoc to use struct driver_info when linking nodes 2020-07-09 22:00:29 -06:00
dtoc dtoc: Rename the main module 2020-04-26 14:25:21 -06:00
dtoc_test.dts SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
dtoc_test_add_prop.dts dtoc: Increase code coverage to 100% 2018-07-09 09:11:00 -06:00
dtoc_test_addr32.dts SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
dtoc_test_addr32_64.dts dtoc: Increase code coverage to 100% 2018-07-09 09:11:00 -06:00
dtoc_test_addr64.dts SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
dtoc_test_addr64_32.dts dtoc: Increase code coverage to 100% 2018-07-09 09:11:00 -06:00
dtoc_test_aliases.dts SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
dtoc_test_bad_reg.dts dtoc: Increase code coverage to 100% 2018-07-09 09:11:00 -06:00
dtoc_test_bad_reg2.dts dtoc: Increase code coverage to 100% 2018-07-09 09:11:00 -06:00
dtoc_test_driver_alias.dts dtoc: add support to scan drivers 2020-07-09 22:00:15 -06:00
dtoc_test_empty.dts SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
dtoc_test_invalid_driver.dts dtoc: add option to disable warnings 2020-07-09 22:00:29 -06:00
dtoc_test_phandle.dts dtoc: Fix properties with a single zero-arg phandle 2018-07-09 09:11:00 -06:00
dtoc_test_phandle_bad.dts dtoc: Increase code coverage to 100% 2018-07-09 09:11:00 -06:00
dtoc_test_phandle_bad2.dts dtoc: Increase code coverage to 100% 2018-07-09 09:11:00 -06:00
dtoc_test_phandle_reorder.dts dtoc: Increase code coverage to 100% 2018-07-09 09:11:00 -06:00
dtoc_test_phandle_single.dts dtoc: Increase code coverage to 100% 2018-07-09 09:11:00 -06:00
dtoc_test_simple.dts dtoc: Update fdt tests to increase code coverage 2018-07-09 09:11:00 -06:00
fdt.py patman: Move to absolute imports 2020-04-26 14:25:21 -06:00
fdt_util.py patman: Move to absolute imports 2020-04-26 14:25:21 -06:00
main.py patman: Tidy up sys.path changes 2020-04-26 14:25:21 -06:00
test_dtoc.py dtoc: extend dtoc to use struct driver_info when linking nodes 2020-07-09 22:00:29 -06:00
test_fdt dtoc: Add some tests for the fdt module 2018-07-09 09:11:00 -06:00
test_fdt.py patman: Tidy up sys.path changes 2020-04-26 14:25:21 -06:00