clk: add sandbox test for bulk API
authorNeil Armstrong <narmstrong@baylibre.com>
Tue, 3 Apr 2018 09:44:19 +0000 (11:44 +0200)
committerTom Rini <trini@konsulko.com>
Tue, 10 Apr 2018 19:18:56 +0000 (15:18 -0400)
commit65388d0dc5a36fc86718ffcdf08ac5671ae27b5d
tree750fd5330e3e2b18b9b21054953de28053130da8
parenta855be87da49ba750e83ecc526235fe33099f76e
clk: add sandbox test for bulk API

This patch adds the bulk clock API tests for the sandbox test suite.

It's very similar to the main test but only uses the _bulk() API and
checks if the clocks are correctly enabled/disabled.

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/sandbox/include/asm/clk.h
drivers/clk/clk_sandbox_test.c
test/dm/clk.c