On Mon, 22 Apr 2024 16:23:57 -0700, Stephen Boyd wrote: > Test the KUnit test managed overlay APIs. Confirm that platform devices > are created and destroyed properly. This provides us confidence that the > test managed APIs work correctly and can be relied upon to provide tests > with fake platform devices and device nodes via overlays compiled into > the kernel image. > > Cc: Rob Herring <[email protected]> > Cc: Saravana Kannan <[email protected]> > Cc: Daniel Latypov <[email protected]> > Cc: Brendan Higgins <[email protected]> > Cc: David Gow <[email protected]> > Cc: Rae Moar <[email protected]> > Signed-off-by: Stephen Boyd <[email protected]> > --- > drivers/of/.kunitconfig | 1 + > drivers/of/Kconfig | 10 +++ > drivers/of/Makefile | 1 + > drivers/of/kunit_overlay_test.dtso | 9 +++ > drivers/of/overlay_test.c | 115 +++++++++++++++++++++++++++++ > 5 files changed, 136 insertions(+) > create mode 100644 drivers/of/kunit_overlay_test.dtso > create mode 100644 drivers/of/overlay_test.c >
Reviewed-by: Rob Herring (Arm) <[email protected]>
