test: clk: Update tests to also check the managed API
authorJean-Jacques Hiblot <jjhiblot@ti.com>
Tue, 22 Oct 2019 12:00:05 +0000 (14:00 +0200)
committerLukasz Majewski <lukma@denx.de>
Tue, 22 Oct 2019 14:14:05 +0000 (16:14 +0200)
commitdd2e0ce2a408c527b1146a9159b68565596cef56
treec7f64b2b791942206e4e2aa7d9afd4bb2a725c2b
parent52720c536ffdbe0e6aece79840e2791d87204cf7
test: clk: Update tests to also check the managed API

Add a few more clocks the clk_sandbox clock provider and get them using
the managed API.
Make sure they are released when the device is removed.

Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
arch/sandbox/dts/test.dts
arch/sandbox/include/asm/clk.h
drivers/clk/clk_sandbox.c
drivers/clk/clk_sandbox_test.c
test/dm/clk.c