dm: test: clk: add the test for the ccf gated clock
authorDario Binacchi <dariobin@libero.it>
Mon, 13 Apr 2020 12:36:26 +0000 (14:36 +0200)
committerLukasz Majewski <lukma@denx.de>
Mon, 24 Aug 2020 09:03:26 +0000 (11:03 +0200)
commitcd16c57bd0d6c498d5c180d70c6f0f690e9c32de
tree447c890d5b4bd56f1e7e08d42f92bc40a8060816
parent32f462ba3bf0c8794653e6ff92ca5cbec9856c54
dm: test: clk: add the test for the ccf gated clock

Unlike the other clock types, in the case of the gated clock, a new
driver has been developed which does not use the registering routine
provided by the common clock framework.
The addition of the ecspi0 clock to sandbox therefore allows testing
the ccf gate clock.

Signed-off-by: Dario Binacchi <dariobin@libero.it>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/clk/clk_sandbox_ccf.c
include/sandbox-clk.h
test/dm/clk_ccf.c