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

drivers: mspi: Add driver for Designware SSI based controllers #80042

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

Conversation

anangl
Copy link
Member

@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.

anangl added a commit to anangl/sdk-zephyr that referenced this pull request Oct 18, 2024
…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
anangl added a commit to anangl/sdk-zephyr that referenced this pull request Oct 18, 2024
…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
anangl added a commit to anangl/sdk-zephyr that referenced this pull request Oct 18, 2024
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
anangl added a commit to anangl/sdk-zephyr that referenced this pull request Oct 18, 2024
…XMIF node

This is a follow-up to commit cdf45cb234077522b5cef2da084869af43d42dc1.

Adjust the DTS node for the 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 ad6bd27e4b1dddd5bdb045ae7204393a2e68d51c)

Upstream PR: zephyrproject-rtos/zephyr#80042
anangl added a commit to anangl/sdk-zephyr that referenced this pull request Oct 18, 2024
…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 280e331a584d80925711077fed8eefa09843e5bf)

Upstream PR: zephyrproject-rtos/zephyr#80042
anangl added a commit to anangl/sdk-zephyr that referenced this pull request Oct 18, 2024
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
anangl added a commit to anangl/sdk-zephyr that referenced this pull request Oct 18, 2024
…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 added a commit to anangl/sdk-zephyr that referenced this pull request Oct 21, 2024
…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
anangl added a commit to anangl/sdk-zephyr that referenced this pull request Oct 21, 2024
…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
anangl added a commit to anangl/sdk-zephyr that referenced this pull request Oct 21, 2024
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
anangl added a commit to anangl/sdk-zephyr that referenced this pull request Oct 21, 2024
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
anangl added a commit to anangl/sdk-zephyr that referenced this pull request Oct 21, 2024
…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 added a commit to anangl/sdk-zephyr that referenced this pull request Oct 25, 2024
Upstream PR: 'zephyrproject-rtos/zephyr#80042'

Signed-off-by: Andrzej Głąbek <[email protected]>
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]>
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]>
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]>
This is a follow-up to commit cdf45cb.

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]>
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]>
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.

1 participant