Documentation/devicetree/bindings/unittest.txt
Source file repositories/reference/linux-study-clean/Documentation/devicetree/bindings/unittest.txt
File Facts
- System
- Linux kernel
- Corpus path
Documentation/devicetree/bindings/unittest.txt- Extension
.txt- Size
- 1099 bytes
- Lines
- 67
- Domain
- Support Tooling And Documentation
- Bucket
- Documentation
- Inferred role
- Support Tooling And Documentation: documentation
- Status
- atlas-only
Why This File Exists
Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.
- Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.
Dependency Surface
- No C-style include directives detected by the generator.
Detected Declarations
- No top-level syscall, struct, function, initcall, or export declaration detected by the generator.
Annotated Snippet
1) OF unittest platform device
** unittest
Required properties:
- compatible: must be "unittest"
All other properties are optional.
Example:
unittest {
compatible = "unittest";
};
2) OF unittest i2c adapter platform device
** platform device unittest adapter
Required properties:
- compatible: must be unittest-i2c-bus
Children nodes contain unittest i2c devices.
Example:
unittest-i2c-bus {
compatible = "unittest-i2c-bus";
};
3) OF unittest i2c device
** I2C unittest device
Required properties:
- compatible: must be unittest-i2c-dev
All other properties are optional
Example:
unittest-i2c-dev {
compatible = "unittest-i2c-dev";
};
4) OF unittest i2c mux device
** I2C unittest mux
Required properties:
- compatible: must be unittest-i2c-mux
Children nodes contain unittest i2c bus nodes per channel.
Example:
unittest-i2c-mux {
compatible = "unittest-i2c-mux";
#address-cells = <1>;
#size-cells = <0>;
channel-0 {
reg = <0>;
#address-cells = <1>;
#size-cells = <0>;
i2c-dev {
reg = <8>;
compatible = "unittest-i2c-dev";
};
};
};
Annotation
- Atlas domain: Support Tooling And Documentation / Documentation.
- Implementation status: atlas-only.
Implementation Notes
- This generated page is the file-by-file coverage layer; curated subsystem chapters should link here when they synthesize a multi-file control flow.
- Core OS pages should be promoted from atlas-only to deep-reviewed when they explain data structures, invariants, locking, lifecycle, and C implementation snippets.
- Driver-family pages are intentionally pattern-oriented unless they are part of the selected PCIe/NVMe representative device path.