reset: implement a reset test
authorStephen Warren <swarren@nvidia.com>
Fri, 17 Jun 2016 15:43:59 +0000 (09:43 -0600)
committerSimon Glass <sjg@chromium.org>
Sun, 19 Jun 2016 23:05:55 +0000 (17:05 -0600)
commit4581b717b1bf0fb04e7d9fcaf3d4c23d357154ac
treed59cea67293deab951e1322d4ab8add35ed555de
parent89c1e2da78f82a09685006291ce8bb44f635fa25
reset: implement a reset test

This adds a sandbox reset implementation (provider), a test client
device, instantiates them both from Sandbox's DT, and adds a DM test
that excercises everything.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Simon Glass <sjg@chromium.org>
arch/sandbox/dts/test.dts
arch/sandbox/include/asm/reset.h [new file with mode: 0644]
configs/sandbox_defconfig
drivers/reset/Kconfig
drivers/reset/Makefile
drivers/reset/sandbox-reset-test.c [new file with mode: 0644]
drivers/reset/sandbox-reset.c [new file with mode: 0644]
test/dm/Makefile
test/dm/reset.c [new file with mode: 0644]