Hei hei, tried to address all the feedback I got from Simon, thanks for that.
Build tested on Debian GNU/Linux 11 (bullseye) on arch amd64, tried on i386 first, but got some nasty errors there (see IRC backlog). Tried in sandbox console, and everythings looks fine to me, as far as I can judge. `dm tree` and `dm uclass` and `dm drivers` list the right things, and `ut dm fpga` returns with success. I refused to add Simon's Reviewed-by, because I did some changes compared to RFC (see notes on patch). One technical question: should I add SANDBOX_FPGA to sandbox_defconfig? And Michal, is it okay to add you as maintainer for the unit test as I did in v2 of the patch now? Greets Alex Alexander Dahl (1): dm: fpga: Introduce new uclass MAINTAINERS | 1 + arch/sandbox/dts/test.dts | 4 ++++ drivers/fpga/Kconfig | 19 +++++++++++++++++++ drivers/fpga/Makefile | 3 +++ drivers/fpga/fpga-uclass.c | 11 +++++++++++ drivers/fpga/sandbox.c | 17 +++++++++++++++++ include/dm/uclass-id.h | 1 + test/dm/Makefile | 1 + test/dm/fpga.c | 20 ++++++++++++++++++++ 9 files changed, 77 insertions(+) create mode 100644 drivers/fpga/fpga-uclass.c create mode 100644 drivers/fpga/sandbox.c create mode 100644 test/dm/fpga.c base-commit: 97c0a9c5708dc60d82cad721a8b882f0ce37e83d -- 2.30.2