Skip to content

Conversation

@arthur-mmlw
Copy link
Contributor

@arthur-mmlw arthur-mmlw commented Sep 25, 2025

Limit a transaction to a boundary of aligned addresses. Each PSRAM may specify different configuration.

Reference: https://www.st.com/resource/en/reference_manual/rm0477-stm32h7rx7sx-armbased-32bit-mcus-stmicroelectronics.pdf#page=1016

@arthur-mmlw arthur-mmlw force-pushed the memc-stm32-xspi-psram-csbound branch from ec16e8b to 3cf6fa0 Compare September 25, 2025 09:15
Copy link
Member

@erwango erwango left a comment

Choose a reason for hiding this comment

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

Thanks!

For consistency, this should probably be also added to recently merged st,stm32-ospi-psram as well which was merged earlier today.
This also raises the question of factorizing part of the binding, but of the scope of this PR.

@arthur-mmlw arthur-mmlw force-pushed the memc-stm32-xspi-psram-csbound branch from 3cf6fa0 to b671ec9 Compare September 25, 2025 12:39
@arthur-mmlw
Copy link
Contributor Author

Thanks!

For consistency, this should probably be also added to recently merged st,stm32-ospi-psram as well which was merged earlier today. This also raises the question of factorizing part of the binding, but of the scope of this PR.

Ok, I've added it in another commit. Would you prefer I open another PR?

@arthur-mmlw arthur-mmlw changed the title drivers: memc: stm32_xspi_psram: make NCS boundary configurable in dt drivers: memc: {stm32_xspi_psram,stm32_ospi_psram}: make NCS boundary configurable in dt Sep 25, 2025
Limit a transaction to a boundary of aligned addresses. Each PSRAM may
specify different configuration.

Signed-off-by: Arthur Gay <arthur.gay@marshmallow.kids>
Limit a transaction to a boundary of aligned addresses. Each PSRAM may
specify different configuration.

Signed-off-by: Arthur Gay <arthur.gay@marshmallow.kids>
The default value has changed in previous commits, so set it explicitly
in the devicetree with the new st,csbound property.

Signed-off-by: Arthur Gay <arthur.gay@marshmallow.kids>
@arthur-mmlw arthur-mmlw force-pushed the memc-stm32-xspi-psram-csbound branch from b671ec9 to 88c2fcf Compare September 26, 2025 12:11
@sonarqubecloud
Copy link

Copy link
Contributor

@etienne-lms etienne-lms left a comment

Choose a reason for hiding this comment

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

CI build test failure is unrelated, see #96635.

@kartben kartben merged commit c457eba into zephyrproject-rtos:main Oct 2, 2025
38 of 40 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants