drivers/clk/kunit_clk_fixed_rate_test.dtso

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

File Facts

System
Linux kernel
Corpus path
drivers/clk/kunit_clk_fixed_rate_test.dtso
Extension
.dtso
Size
370 bytes
Lines
20
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-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>;
	};
};

Annotation

Implementation Notes