Files
ack-tegra/drivers/clk/kunit_clk_parent_data_test.dtso
Greg Kroah-Hartman 001bf77e28 Reapply "clk: Add KUnit tests for clks registered with struct clk_parent_data"
This reverts commit 81061efb13.

It needs to come back, otherwise 6.12-rc4 breaks the build without this
present.

Bug: 370679843
Cc: André Draszik <draszik@google.com>
Change-Id: Iaafbe4f4f6d72c31ddede5384ea4d619df098342
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2024-10-31 15:51:26 +00:00

29 lines
643 B
Plaintext

// SPDX-License-Identifier: GPL-2.0
/dts-v1/;
/plugin/;
#include "clk_parent_data_test.h"
&{/} {
fixed_50: kunit-clock-50MHz {
compatible = "fixed-clock";
#clock-cells = <0>;
clock-frequency = <50000000>;
clock-output-names = CLK_PARENT_DATA_50MHZ_NAME;
};
fixed_parent: kunit-clock-1MHz {
compatible = "fixed-clock";
#clock-cells = <0>;
clock-frequency = <1000000>;
clock-output-names = CLK_PARENT_DATA_1MHZ_NAME;
};
kunit-clock-controller {
compatible = "test,clk-parent-data";
clocks = <&fixed_parent>, <&fixed_50>;
clock-names = CLK_PARENT_DATA_PARENT1, CLK_PARENT_DATA_PARENT2;
#clock-cells = <1>;
};
};