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

boards: nxp: frdm_mcxn947: enable USDHC0 #72601

Merged
merged 5 commits into from
May 15, 2024

Commits on May 10, 2024

  1. drivers: sdhc: imx_usdhc: move voltage selection to separate function

    Some USDHC IP instances do not have the voltage control bit present, as
    they can only operate at 3.3V. Move code to select 1.8V mode into a
    separate helper, and guard the call to UDSHC_SelectVoltage() behind a
    feature macro from MCUX SDK.
    
    Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
    danieldegrasse committed May 10, 2024
    Configuration menu
    Copy the full SHA
    b6b79b0 View commit details
    Browse the repository at this point in the history
  2. drivers: sdhc: imx_usdhc: remove dead code for waiting for clock gate

    Remove function for waiting for clock gate, as this is not used anywhere
    within the USDHC driver.
    
    Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
    danieldegrasse committed May 10, 2024
    Configuration menu
    Copy the full SHA
    6ea3b91 View commit details
    Browse the repository at this point in the history
  3. drivers: sdhc: imx_usdhc: extend reset timeout duration

    Some instances of the USDHC peripheral take longer to reset, and will
    timeout with the previous delay of 100 cycles. Extend this delay to 1000
    cycles to resolve this.
    
    Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
    danieldegrasse committed May 10, 2024
    Configuration menu
    Copy the full SHA
    e123313 View commit details
    Browse the repository at this point in the history
  4. dts: arm: nxp: mcxn94x: add USDHC0 node

    Add USDHC0 node to the mcxn94x devicetree. This node describes the one
    instance of the Ultra Secured Digital Host Controller IP present on the
    MCXN94x series SOCs.
    
    Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
    danieldegrasse committed May 10, 2024
    Configuration menu
    Copy the full SHA
    c079ba5 View commit details
    Browse the repository at this point in the history
  5. boards: nxp: frdm_mcxn947: add support for USDHC0

    Add support for USDHC0 controller on FRDM_MCXN947 board. This support
    was verified using the `tests/subsys/sd/sdmmc` and
    `tests/subsys/sd/sdio` testcases. Note that this board does not ship
    with the SD header (J12) populated by default, so the user must populate
    one.
    
    Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
    danieldegrasse committed May 10, 2024
    Configuration menu
    Copy the full SHA
    37f3e83 View commit details
    Browse the repository at this point in the history