dtoc: Generate uclass devices
authorSimon Glass <sjg@chromium.org>
Wed, 3 Feb 2021 13:01:20 +0000 (06:01 -0700)
committerSimon Glass <sjg@chromium.org>
Mon, 22 Mar 2021 06:23:27 +0000 (19:23 +1300)
commitea74c95103c66282b8c43e7893bdcd533cab220f
tree9abea76c49022e6409902b6fbf9bacea4ac83606
parent9763e4eb93bfcb5cc50edf13b152c231b218591f
dtoc: Generate uclass devices

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

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

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