Skip to content

qualcomm-cdi-generator: split CDI output into per-class JSON files#16

Open
koenkooi wants to merge 1 commit intomainfrom
koen/cdi-classes
Open

qualcomm-cdi-generator: split CDI output into per-class JSON files#16
koenkooi wants to merge 1 commit intomainfrom
koen/cdi-classes

Conversation

@koenkooi
Copy link
Copy Markdown
Collaborator

Instead of emitting a single qualcomm.json containing all device types, emit one CDI JSON file per device class (gpu, v4l2, dmaheap, fastrpc-cdsp, fastrpc-adsp). Each file carries a class-specific 'kind' field (e.g. qualcomm.com/gpu) and its own containerEdits. Sections with no discovered devices are skipped.

Instead of emitting a single qualcomm.json containing all device types,
emit one CDI JSON file per device class (gpu, v4l2, dmaheap, fastrpc-cdsp,
fastrpc-adsp). Each file carries a class-specific 'kind' field
(e.g. qualcomm.com/gpu) and its own containerEdits. Sections with no
discovered devices are skipped.

Signed-off-by: Koen Kooi <koen.kooi@oss.qualcomm.com>
@koenkooi koenkooi self-assigned this Apr 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant