drivers/of/unittest-data/tests-match.dtsi

Source file repositories/reference/linux-study-clean/drivers/of/unittest-data/tests-match.dtsi

File Facts

System
Linux kernel
Corpus path
drivers/of/unittest-data/tests-match.dtsi
Extension
.dtsi
Size
601 bytes
Lines
21
Domain
Driver Families
Bucket
drivers/of
Inferred role
Driver Families: configuration, schema, or hardware description
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

/ {
	testcase-data {
		match-node {
			name0 { };
			name1 { device_type = "type1"; };
			a { name2 { device_type = "type1"; }; };
			b { name2 { }; };
			c { name2 { device_type = "type2"; }; };
			name3 { compatible = "compat3"; };
			name4 { compatible = "compat2", "compat3"; };
			name5 { compatible = "compat2", "compat3"; };
			name6 { compatible = "compat1", "compat2", "compat3"; };
			name7 { compatible = "compat2"; device_type = "type1"; };
			name8 { compatible = "compat2"; device_type = "type1"; };
			name9 { compatible = "compat2"; };
		};
	};
};

Annotation

Implementation Notes