Skip to content

add SDHC support on imx93 #524

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

JiafeiPan
Copy link
Contributor

  1. drivers: usdhc: change the driver to be aarch64 compatible
  2. devices: MIMX9352: fsl_clock: Add missing definitions for USDHC

@mmahadevan108
Copy link
Collaborator

@JiafeiPan , have these changes been submitted to the SDK team?

@JiafeiPan JiafeiPan force-pushed the develop/imx93-sdhc-3 branch from 7e2b20c to 0c9aae3 Compare March 25, 2025 03:21
@JiafeiPan
Copy link
Contributor Author

@JiafeiPan , have these changes been submitted to the SDK team?

Hi, @mmahadevan108 , I have created PR target form internal mcux-sdk-github repo.

@@ -1222,11 +1222,11 @@ status_t USDHC_SetADMA1Descriptor(

uint32_t miniEntries, startEntries = 0UL,
maxEntries = (admaTableWords * sizeof(uint32_t)) / sizeof(usdhc_adma1_descriptor_t);
usdhc_adma1_descriptor_t *adma1EntryAddress = (usdhc_adma1_descriptor_t *)(uint32_t)(admaTable);
usdhc_adma1_descriptor_t *adma1EntryAddress = (usdhc_adma1_descriptor_t *)(uintptr_t)(admaTable);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does this change need to be directed now to mcux-sdk-ng folder?

@ZhaoxiangJin,

@dleach02
Copy link
Member

@JiafeiPan does this need to be realigned with the SDK-NG update?

@JiafeiPan JiafeiPan force-pushed the develop/imx93-sdhc-3 branch from 0c9aae3 to fbdebdf Compare April 25, 2025 07:17
@JiafeiPan
Copy link
Contributor Author

@JiafeiPan does this need to be realigned with the SDK-NG update?

Hi, @dleach02, this patch has been pushed to SDK-NG and currently has been merged, and I updated this PR with latest merged patches.

nxp-xl and others added 2 commits April 25, 2025 15:23
Add clock array for USDHC.

Signed-off-by: Lei Xu <[email protected]>
Signed-off-by: Jiafei Pan <[email protected]>
Make the driver to work on Cortex-A Core.

Signed-off-by: Jiafei Pan <[email protected]>
@JiafeiPan JiafeiPan force-pushed the develop/imx93-sdhc-3 branch from fbdebdf to 588bf4f Compare April 25, 2025 07:24
@JiafeiPan
Copy link
Contributor Author

Rebased.

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.

5 participants