Repository navigation
Propose dmsai dmdrvi device interface and port stubs - #3
Merged
Merged
Conversation
JohnAmadis
self-requested a review
October 8, 2026 09:18
JohnAmadis
requested changes
Oct 8, 2026
JohnAmadis
left a comment
Contributor
There was a problem hiding this comment.
dodaj jeszcze pliki konfiguracyjne ini dla boardow i mcu
| @@ -1,98 +1,116 @@ | |||
| # dmsai | |||
|
|
|||
| [](LICENSE) | |||
Contributor
There was a problem hiding this comment.
czemu usunales te plakietki z ci i licencja?
| dmfc=./${module}.dmfc => ${destination}/${module}.dmfc [origin=${build_dir}/dmfc/${module}.dmfc] | ||
| dmd=./${module}.dmd => ${destination}/${module}.dmd [origin=${dmf_dir}/${module}.dmd] | ||
| version=./${module}_version.txt => ${destination}/${module}_version.txt [origin=${dmf_dir}/${module}_version.txt] | ||
| inc=./include => ${destination}/${module}/include [origin=${repo_dir}/include] [origin=${build_dir}/src/port/${module}_defs.h] |
Contributor
There was a problem hiding this comment.
pliki dmr musza wskazywac rowniez na siebie same
JohnAmadis
approved these changes
Oct 8, 2026
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
dmsaias admdrvi2.0 DIF, discovered bydmdevfsfromdriver_name=dmsai, followingdmeth's device model.ioctlcommands; applications use/dev/dmsaiNwith ordinary read/write.-ENOSYScore/port stubs. The corecreatestub returnsNULL, so no device node or audio functionality is claimed yet.stm32_commonand keep the STM32F7 file for family lifecycle and future IRQ glue.dmsai_port.dmrfile in its own package, as required by the DMOD resource format.Research basis
dmdevfsresolvesdmdrvi_createfrom the driver's DIF and exposes the returned device context as a node.dmethuses that path and reserves private controls fromDMDRVI_IOCTL_CUSTOM_BASE;dmdrvihas no generic audio command set today. This proposal follows those local contracts.Verification
stm32f7.dmsai,dmsai_port, and the existingtest_dmsaitarget; packages generated successfully.git diff --checkpassed. Final PR diff does not includeMakefileortests/changes.The Cortex-M7 test module cannot execute through the Raspberry Pi AArch64 loader, so the test is compiled but not run on this host.