Skip to content

Conversation

natto1784
Copy link
Contributor

@natto1784 natto1784 commented Oct 8, 2025

This pull request does the following two things

  • Adds TI AM654 SDHC driver that supports both SD cards and eMMC
  • Adds SDHC nodes for AM243x EVM

Note that the PR will remain in draft stage until #91701 (comment) is merged. Once it is merged, will drop b37530d

Device Testing

The following devices were tested at various speed modes:

Device Type Max Speed Tested Notes
Samsung EVO Plus SD Card SDR104 (200 MHz) Full UHS-I support verified
SanDisk Ultra SD Card SDR50 (50 MHz) Stable operation at SDR50
Embedded eMMC eMMC HS200 (200 MHz) High-speed eMMC mode working

Test Configuration Matrix

The driver has been tested with different combinations of Auto-Stop and ADMA features using tests/drivers/disk/disk_access:

Auto-Stop ADMA Configuration Test Result
0 0 Both disabled Pass
0 1 ADMA only Pass
1 0 Auto-Stop only Pass
1 1 Both enabled Pass

Note that when building the test, only one of the sdhci nodes can be present, so the user must delete one node manually, this can be added in an overlay

Make sure the capability bitfields fit the standard SD Association
specification and move the extra capabilities to props.

Affected Drivers:
- ifx_cat1_sdio
- imx_usdhc
- intel_emmc_host
- rcar_mmc
- sdhc_ambiq
- sdhc_esp32
- sdhc_max32
- sdhc_renesas_ra
- sdhc_stm32
- xlnx_sdhc

Affected Subsys
- sd

Reference: 2.2.26, SD Specifications, Part A2, SD Host Controller
           Simplified Specification, Version 4.20
           URL: https://www.sdcard.org/downloads/pls/pdf/?p=PartA2_SD%20Host_Controller_Simplified_Specification_Ver4.20.jpg

Signed-off-by: Amneesh Singh <[email protected]>
@natto1784 natto1784 force-pushed the sdhc-wip branch 7 times, most recently from 44080e8 to 9509e11 Compare October 9, 2025 09:55
Add the driver for TI's interrupt based AM654 SD Host Controller that can
be used with both eMMC and SD cards.

Signed-off-by: Amneesh Singh <[email protected]>
Add SD host controller nodes and also assign them interrupts and power
domains. Additionally also setup eMMC and SD card as disks.

Signed-off-by: Amneesh Singh <[email protected]>
Copy link

sonarqubecloud bot commented Oct 9, 2025

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