drivers/clk/kunit_clk_parent_data_test.dtso

Source file repositories/reference/linux-study-clean/drivers/clk/kunit_clk_parent_data_test.dtso

File Facts

System
Linux kernel
Corpus path
drivers/clk/kunit_clk_parent_data_test.dtso
Extension
.dtso
Size
643 bytes
Lines
29
Domain
Driver Families
Bucket
drivers/clk
Inferred role
Driver Families: drivers/clk
Status
atlas-only

Why This File Exists

Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.

Dependency Surface

Detected Declarations

Annotated Snippet

// 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>;
	};
};

Annotation

Implementation Notes