Files
erofs-linux/drivers/clk/kunit_clk_hw_get_dev_of_node.dtso
Jerome Brunet ac32d031f5 clk: tests: add clk_hw_get_dev() and clk_hw_get_of_node() tests
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Brian Masney <[email protected]>
[[email protected]: Drop genparams, rename tests, drop inits,
combine suites, add test for non-DT platform device]
Signed-off-by: Stephen Boyd <[email protected]>
2025-06-20 00:15:39 -07:00

11 lines
165 B
Plaintext

// SPDX-License-Identifier: GPL-2.0
/dts-v1/;
/plugin/;
&{/} {
kunit-clock-controller {
compatible = "test,clk-hw-get-dev-of-node";
#clock-cells = <0>;
};
};