Skip to content

Conversation

@danieldegrasse
Copy link
Contributor

The imx USDHC driver previously queried the peripheral's internal card
detect signal to check card presence if no card detect method was
configured. However, some boards do not route the card detect signal and
do not work correctly with the DAT3 detection method supported by this
peripheral. As a fallback, assume the card is present in the slot but
log a warning to the user.

Fixes #42227

The imx USDHC driver previously queried the peripheral's internal card
detect signal to check card presence if no card detect method was
configured. However, some boards do not route the card detect signal and
do not work correctly with the DAT3 detection method supported by this
peripheral. As a fallback, assume the card is present in the slot but
log a warning to the user.

Fixes zephyrproject-rtos#42227

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
NXP IMX USDHC fallback card detection method changed from querying the
peripheral to simply assuming the card was present. Add a note to the
migration guide highlighting this and explaining how to restore the
previous behavior for anyone using this detection method.

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
@dleach02 dleach02 added the backport v3.7-branch Request backport to the v3.7-branch label Aug 22, 2024
@nashif nashif merged commit e6a6deb into zephyrproject-rtos:main Aug 22, 2024
@danieldegrasse danieldegrasse deleted the fix/usdhc-card-detect branch August 26, 2024 19:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: Disk Access backport v3.7-branch Request backport to the v3.7-branch platform: NXP Drivers NXP Semiconductors, drivers Release Notes To be mentioned in the release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Teensy41 support SDHC - Storage init Error

5 participants