Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ambiq cache update #87252

Merged
merged 2 commits into from
Mar 20, 2025
Merged

Conversation

AlessandroLuo
Copy link
Contributor

Add cache support for ambiq drivers

This commit adds cache support for ambiq spic driver

Signed-off-by: Hao Luo <hluo@ambiq.com>
This commit adds cache support for ambiq i2c driver

Signed-off-by: Hao Luo <hluo@ambiq.com>
Copy link
Collaborator

@swift-tk swift-tk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would suggest that we would provide a kconfig option to enable and disable cache handling in the driver if user would like to handle it up top.
We should also force the cmdq buffer alignment and put it in noncacheable region to leave it out of cache handling. The .nocache does not guarantee alignment nor location.

@kartben kartben merged commit 3b0d11d into zephyrproject-rtos:main Mar 20, 2025
27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants