test: reset: Add tests for the managed API
authorJean-Jacques Hiblot <jjhiblot@ti.com>
Wed, 9 Sep 2020 10:07:04 +0000 (15:37 +0530)
committerTom Rini <trini@konsulko.com>
Wed, 30 Sep 2020 15:55:22 +0000 (11:55 -0400)
commitbad2433151021315e04bcbb72c6c5bd2b938656b
tree25fc8a95b0446f808c9869997c60ad7ebe60bc69
parent139e4a1cbe60de96d4febbc6db5882929801ca46
test: reset: Add tests for the managed API

The tests are basically the same as for the regular API. Except that
the reset are initialized using the managed API, and no freed manually.

Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Pratyush Yadav <p.yadav@ti.com>
arch/sandbox/include/asm/reset.h
drivers/reset/sandbox-reset-test.c
drivers/reset/sandbox-reset.c
test/dm/reset.c