Skip to content

Conversation

anangl
Copy link
Contributor

@anangl anangl commented Oct 15, 2025

Add a property with which MSPI controllers can indicate their limits on the maximum amount of data they can transfer in one packet. Use the property for the SSI controller, for which the clock stretching feature requires the use of the NDF field of the CTRLR1 register, which is 16-bit wide, hence the data length limit is 64 kB.

Take the new property into account in the mspi_flash_nor driver and split requested transfers if necessary

…" property

Add a property with which MSPI controllers can indicate their limits
on the maximum amount of data they can transfer in one packet.
Use the property for the SSI controller, for which the clock stretching
feature requires the use of the NDF field of the CTRLR1 register, which
is 16-bit wide, hence the data length limit is 64 kB.

Signed-off-by: Andrzej Głąbek <[email protected]>
(cherry picked from commit b42a33d49f3a009f1bd2f8797b6f107276f01b34)
…ller packet limit

Use information provided in the dts node for the MSPI controller
regarding maximum amount of data that can be transferred in one
packet and split the requested transfers if necessary.

Signed-off-by: Andrzej Głąbek <[email protected]>
(cherry picked from commit c3469a6)
@anangl anangl force-pushed the mspi_dw_packet_data_limit_ncs branch from c0baa11 to 987692c Compare October 16, 2025 08:12
@anangl
Copy link
Contributor Author

anangl commented Oct 16, 2025

Rebased.

@anangl anangl requested a review from rlubos October 17, 2025 10:47
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.

2 participants