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

[nrf fromlist] drivers: mspi: Add driver for Designware SSI based controllers #2136

Draft
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

anangl
Copy link
Contributor

@anangl anangl commented Oct 18, 2024

Add a generic driver for controllers based on the Designware SSI core.
With small vendor-specific adaptations covering integration details,
it should be possible to use it for many devices.

gmarull and others added 9 commits October 21, 2024 13:16
Some devices, e.g. SoC level devices like I2C peripheral, can never be
powerd off as they are always energized. Such devices can only go from an
active state or to a low power state (suspended). Allow them to simply
return -ENOTSUP when called with TURN_ON (or TURN_OFF).

Signed-off-by: Gerard Marull-Paretas <[email protected]>
(cherry picked from commit 740eba1)
The commit sets CONFIG_ZTEST_STACK_SIZE to 4096.

Fixes #79801

Signed-off-by: Dominik Ermel <[email protected]>
(cherry picked from commit 3e8ea52)
…trollers

Add a generic driver for controllers based on the Designware SSI core.
With small vendor-specific adaptations covering integration details,
it should be possible to use it for many devices.

Signed-off-by: Andrzej Głąbek <[email protected]>
(cherry picked from commit aea4e024685afd5a4a42252869d6e74d0b9fcecb)

Upstream PR: zephyrproject-rtos/zephyr#80042
…cally

By sorting the lines alphabetically, merge conflicts can be reduced.

Signed-off-by: Reto Schneider <[email protected]>
(cherry picked from commit 7fa5a22)
…devices

Add a flash driver with intent to handle variuos flash devices
connected over MSPI bus as long as they support JEDEC SFDP.

Signed-off-by: Andrzej Głąbek <[email protected]>
(cherry picked from commit 21c32872cf50da2811f783ef4d53ba8c776c053c)

Upstream PR: zephyrproject-rtos/zephyr#80042
This is a follow-up to commit 45d827a.

Although routing for those pins is configured via UICR, pinctrl still
needs to be involved so that it is possible to set desired drive mode
for them etc.
Add also the missing RWDS pin.

Signed-off-by: Andrzej Głąbek <[email protected]>
(cherry picked from commit 2e243281b6a7fb27e44f142ee702ab0ff76cc79f)

Upstream PR: zephyrproject-rtos/zephyr#80042
…ing"

This reverts commit 1a630d8.

Signed-off-by: Andrzej Głąbek <[email protected]>
This is a follow-up to commit cdf45cb234077522b5cef2da084869af43d42dc1.

Adjust the DTS node for the nRF EXMIF peripheral so that it is possible
to handle the peripheral with the generic MSPI driver for DW SSI based
controllers and use all its data lines in communication.
Also adjust the related board files accordingly.

Signed-off-by: Andrzej Głąbek <[email protected]>
(cherry picked from commit 7e089051bb197229f591f5fda539abc4ee5f0e68)

Upstream PR: zephyrproject-rtos/zephyr#80042
…mspi-nor" devices

Extend several flash samples and tests so that they can also be used
with "jedec,mspi-nor" devices.
Add configurations needed for the nrf54h20dk/nrf54h20/cpuapp target.

Signed-off-by: Andrzej Głąbek <[email protected]>
(cherry picked from commit 8d9b9a41109b52490ff3768b79e80a1ac517ac0d)

Upstream PR: zephyrproject-rtos/zephyr#80042
@anangl
Copy link
Contributor Author

anangl commented Oct 21, 2024

Rebased.

@nordic-piks nordic-piks requested a review from a team October 21, 2024 11:34
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.

4 participants