Hwreg join key#1529
Open
bhcopeland wants to merge 2 commits into
Open
Conversation
Builds on the hardware_registry namespace wrap. Validate cross-references against the union of all listed files rather than per file, so a vendor file may reference entities defined in another without duplicating them, and reject the same entity id defined in two files; split entity-id validation into its own function. Add an optional 'compatible' field (device tree strings, board-level first) to the platform schema as the join key for correlating registry entries with test results via KCIDB environment_compatible. The board-level (first) compatible must be unique across the registry. Schema becomes 1.1.0; files without the field stay valid. Run the checker unit tests in CI. Signed-off-by: Ben Copeland <ben.copeland@linaro.org>
Populate the new compatible field for the TI boards. Values for am57xx-beagle-x15, am335x-bone-black and j721e-sk match config/platforms.yaml; the rest are taken from the upstream kernel DTS files, board-level (most specific) compatible first. am57xx-evm and am654-idk are intentionally left without a compatible: the former has no distinct mainline DTS (it shares the BeagleBoard X15 device tree), and the latter's only DTS is k3-am654-base-board.dts (the EVM; the IDK is a device tree overlay). Signed-off-by: Ben Copeland <ben.copeland@linaro.org>
44f559a to
f128c9c
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.