diff options
| author | Stephen Boyd <sboyd@kernel.org> | 2024-07-18 14:05:06 -0700 |
|---|---|---|
| committer | Stephen Boyd <sboyd@kernel.org> | 2024-07-29 15:33:13 -0700 |
| commit | 5776526beb9513a6593250f742cbc634b17711eb (patch) | |
| tree | 08017819de2ba2fb3b6dcfee5fe6011faa06b852 /drivers/clk/Kconfig | |
| parent | d690bd11e87adfc684265209a5aabd1f58fa367e (diff) | |
| download | linux-5776526beb9513a6593250f742cbc634b17711eb.tar.gz linux-5776526beb9513a6593250f742cbc634b17711eb.zip | |
clk: Add KUnit tests for clk fixed rate basic type
Test that the fixed rate basic type clk works as intended.
Cc: Brendan Higgins <brendan.higgins@linux.dev>
Cc: David Gow <davidgow@google.com>
Cc: Rae Moar <rmoar@google.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Link: https://lore.kernel.org/r/20240718210513.3801024-8-sboyd@kernel.org
Diffstat (limited to 'drivers/clk/Kconfig')
| -rw-r--r-- | drivers/clk/Kconfig | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/clk/Kconfig b/drivers/clk/Kconfig index 983ef4f36d8c..f1518e77ce50 100644 --- a/drivers/clk/Kconfig +++ b/drivers/clk/Kconfig @@ -512,6 +512,15 @@ config CLK_KUNIT_TEST help Kunit tests for the common clock framework. +config CLK_FIXED_RATE_KUNIT_TEST + tristate "Basic fixed rate clk type KUnit test" if !KUNIT_ALL_TESTS + depends on KUNIT + default KUNIT_ALL_TESTS + select OF_OVERLAY if OF + select DTC + help + KUnit tests for the basic fixed rate clk type. + config CLK_GATE_KUNIT_TEST tristate "Basic gate type Kunit test" if !KUNIT_ALL_TESTS depends on KUNIT |
