clk: gate: Add some kunit test suites
authorStephen Boyd <sboyd@kernel.org>
Thu, 20 Jan 2022 17:59:02 +0000 (09:59 -0800)
committerStephen Boyd <sboyd@kernel.org>
Tue, 25 Jan 2022 01:22:53 +0000 (17:22 -0800)
commita992acbb219a74fb025f8c2d65760fe05e775c7b
tree4da43550540edc393ac6eb8418aa21ab2158f51d
parente783362eb54cd99b2cac8b3a9aeac942e6f6ac07
clk: gate: Add some kunit test suites

Test various parts of the clk gate implementation with the kunit testing
framework.

Reviewed-by: Brendan Higgins <brendanhiggins@google.com>
Acked-by: Daniel Latypov <dlatypov@google.com>
Cc: <kunit-dev@googlegroups.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Link: https://lore.kernel.org/r/20220120175902.2165958-1-sboyd@kernel.org
drivers/clk/.kunitconfig [new file with mode: 0644]
drivers/clk/Kconfig
drivers/clk/Makefile
drivers/clk/clk-gate_test.c [new file with mode: 0644]