5776526beb
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
20 lines
370 B
Plaintext
20 lines
370 B
Plaintext
// SPDX-License-Identifier: GPL-2.0
|
|
/dts-v1/;
|
|
/plugin/;
|
|
|
|
#include "clk-fixed-rate_test.h"
|
|
|
|
&{/} {
|
|
fixed_50MHz: kunit-clock {
|
|
compatible = "fixed-clock";
|
|
#clock-cells = <0>;
|
|
clock-frequency = <TEST_FIXED_FREQUENCY>;
|
|
clock-accuracy = <TEST_FIXED_ACCURACY>;
|
|
};
|
|
|
|
kunit-clock-consumer {
|
|
compatible = "test,single-clk-consumer";
|
|
clocks = <&fixed_50MHz>;
|
|
};
|
|
};
|