dtoc: Generate device instances
authorSimon Glass <sjg@chromium.org>
Wed, 3 Feb 2021 13:01:21 +0000 (06:01 -0700)
committerSimon Glass <sjg@chromium.org>
Mon, 22 Mar 2021 06:23:27 +0000 (19:23 +1300)
commitd392d32fd8d5fb28cd5c5888cd303e57a507dda9
treecbca087cf4fd1c48d0f12b4a8ae524556bcff1d9
parentea74c95103c66282b8c43e7893bdcd533cab220f
dtoc: Generate device instances

Add support for generating a file containing udevice instances. This
avoids the need to create these at run time.

Update a test uclass to include a 'per_device_plat_auto' member, to
increase test coverage.

Add another tab to the driver_info output so it lines up nicely like the
device-instance output.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/misc/test_drv.c
tools/dtoc/dtb_platdata.py
tools/dtoc/test_dtoc.py