mirror of
https://github.com/torvalds/linux.git
synced 2026-03-14 02:06:15 +01:00
Add kunit test suites clk_hw_get_dev() and clk_hw_get_of_node() for clocks registered with clk_hw_register() and of_clk_hw_register() Signed-off-by: Jerome Brunet <jbrunet@baylibre.com> Link: https://lore.kernel.org/r/20250417-clk-hw-get-helpers-v1-2-7743e509612a@baylibre.com Reviewed-by: Brian Masney <bmasney@redhat.com> [sboyd@kernel.org: Drop genparams, rename tests, drop inits, combine suites, add test for non-DT platform device] Signed-off-by: Stephen Boyd <sboyd@kernel.org>
10 lines
165 B
Text
10 lines
165 B
Text
// SPDX-License-Identifier: GPL-2.0
|
|
/dts-v1/;
|
|
/plugin/;
|
|
|
|
&{/} {
|
|
kunit-clock-controller {
|
|
compatible = "test,clk-hw-get-dev-of-node";
|
|
#clock-cells = <0>;
|
|
};
|
|
};
|