buses: add capability-driven I2C validation - #571
Draft
Srikanth Muppandam (smuppand) wants to merge 2 commits into
Draft
buses: add capability-driven I2C validation#571Srikanth Muppandam (smuppand) wants to merge 2 commits into
Srikanth Muppandam (smuppand) wants to merge 2 commits into
Conversation
Add shared runtime inventory and validation primitives for I2C, PCIe, USB, device-tree health, firmware discovery, and QRTR topology. Keep capability detection dynamic across platforms and expose bounded diagnostics for consumer suites. Signed-off-by: Srikanth Muppandam <smuppand@qti.qualcomm.com>
Srikanth Muppandam (smuppand)
requested review from
Bhargav-qcom (bhargav0610) and
vnarapar
September 4, 2026 17:33
Srikanth Muppandam (smuppand)
marked this pull request as draft
September 4, 2026 17:34
Correlate enabled I2C controllers, runtime adapters, DT clients, alias-resolved driver support, and actual bindings without board-specific mappings. Preserve the optional legacy path and print per-object diagnostics for malformed or unbound clients. Add distro-aware i2c-tools recovery for supported host distributions, read-only adapter capability checks, and explicitly requested address scan, register read, and transactional write-and-restore operations with bounded execution and validation. Signed-off-by: Srikanth Muppandam <smuppand@qti.qualcomm.com>
Srikanth Muppandam (smuppand)
force-pushed
the
feature/i2c-capability-validation
branch
from
September 6, 2026 05:48
fdb6267 to
5956956
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.
Summary
Enhance the Buses suite with capability-driven I2C validation across Qualcomm Linux platforms without relying on static board, SoC, adapter, or driver mappings.
Depends on the platform runtime foundation PR.
Changes
waiting_for_supplier, DT status, runtime resources, child nodes, and mux channels for unbound clients.i2cdetectandi2c-msm-testchecks with clean SKIP handling when unavailable.Result classification
SKIPPASSFAILSKIP