Skip to content

STM32H7S78-DK: add support for XSPI PSRAM #89245

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

Merged
merged 3 commits into from
May 13, 2025

Conversation

titouanc
Copy link
Contributor

Add support for the PSRAM chip on board of the STM32H7S78-DK development kit.

Also include the 2 following needed changes:

  • Add XSPI bus definitions on the stm32h7rs
  • Fix STM32 XSPI PSRAM driver for SoCs where prefetch options are not available

gautierg-st
gautierg-st previously approved these changes Apr 30, 2025
FRASTM
FRASTM previously approved these changes Apr 30, 2025
@titouanc titouanc dismissed stale reviews from FRASTM and gautierg-st via 85fcdff May 5, 2025 19:10
@titouanc titouanc force-pushed the stm32h7s78-dk-psram branch from 5fbc3d9 to 85fcdff Compare May 5, 2025 19:10
@titouanc
Copy link
Contributor Author

titouanc commented May 5, 2025

I just rebased on top of main (including #88646); and adapted the device tree fragments accordingly

@titouanc titouanc requested a review from erwango May 5, 2025 19:20
erwango
erwango previously approved these changes May 6, 2025
@titouanc titouanc requested review from FRASTM and gautierg-st May 6, 2025 08:49
@erwango erwango requested a review from JarmouniA May 6, 2025 13:00
JarmouniA
JarmouniA previously approved these changes May 6, 2025
@titouanc titouanc force-pushed the stm32h7s78-dk-psram branch from 85fcdff to b78bc2a Compare May 7, 2025 14:15
@titouanc titouanc requested review from erwango and FRASTM May 7, 2025 14:18
@titouanc titouanc force-pushed the stm32h7s78-dk-psram branch from b78bc2a to 724afd2 Compare May 8, 2025 06:53
@titouanc titouanc force-pushed the stm32h7s78-dk-psram branch from 724afd2 to 60bcea8 Compare May 9, 2025 11:25
titouanc added 3 commits May 12, 2025 14:37
…ptions

On some STM32 lines, like the h7rs, there aren't XSPI prefetch options.
To support them in the PSRAM driver, conditionally exclude them from
compilation when the options are not available

Signed-off-by: Titouan Christophe <[email protected]>
Add devicetree nodes for the two xspi controllers on the stm32h7rs series

Signed-off-by: Titouan Christophe <[email protected]>
Configure pinctrl for the xspi1 bus, and add definition for the PSRAM chip
on the board.

Signed-off-by: Titouan Christophe <[email protected]>
@titouanc titouanc force-pushed the stm32h7s78-dk-psram branch from 60bcea8 to c274955 Compare May 12, 2025 12:38
@github-actions github-actions bot requested a review from etienne-lms May 12, 2025 12:38
Copy link

@fabiobaltieri fabiobaltieri merged commit 92a32a9 into zephyrproject-rtos:main May 13, 2025
27 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.

7 participants