This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

How to enable UHS SDR104 support in SDHCI1

Part Number: AM62A7

Hi,

The UHS (SDR104) support want to enable in EVM SDHCI1 controller .

Thank you
Kalilullah

  • Hi Kalilullah,

    Are you using Linux on AM62A7? The Processor SDK Linux for AM62A7 already supports SDR104 mode. SDHCI1 would switch to SDR104 mode when the card supports it.

  • Hi Bin Liu,


    The "no-1-8-v" dts property is defined under SDHCI1 node by default in AM62A7 processor SDK Linux (ti-processor-sdk-linux-am62axx-evm-08.06.00.45).
     
    after removing this property below prints are observed with UHS card in debug console.

        root@am62axx-evm:/opt/edgeai-gst-apps# cat /sys/kernel/debug/mmc1/ios
        clock:          50000000 Hz
        actual clock:   50000000 Hz
        vdd:            21 (3.3 ~ 3.4 V)
        bus mode:       2 (push-pull)
        chip select:    0 (don't care)
        power mode:     2 (on)
        bus width:      2 (4 bits)
        timing spec:    2 (sd high-speed)
        signal voltage: 0 (3.30 V)
        driver type:    0 (driver type B)
        root@am62axx-evm:/opt/edgeai-gst-apps# dmesg | grep mmc1
        [    1.466835] mmc1: CQHCI version 5.10
        [    1.514597] mmc1: SDHCI controller on fa00000.mmc [fa00000.mmc] using ADMA 64-bit
        [    3.588654] mmc1: Skipping voltage switch
        [    3.766663] mmc1: new high speed SDHC card at address aaaa
        [    3.772649] mmcblk1: mmc1:aaaa SS08G 7.40 GiB

    Thank you,

  • Hi Kalilullah,

    Sorry I didn't realize "no-1-8-v" is still defined in the device tree. I am checking internally to understand why UHS-I mode is not enabled by default in the SDK, and will keep you posted.

  • Hi Kalilullah,

    The current SDK8.6 doesn't have the PMIC driver to switch the SD card IO voltage so UHS-I support is disabled. It will be enabled in SDK9.0 which will be released next month.

  • Hi Bin Liu,

    We want to validate our Hardware, which is having similar SD interface design like EVM.
    are you able to share this driver?
    I will integrate same in existing SDK and validate our hardware.


    Thank you

  • Hi Kalilullah,

    The Processor SDK v9.0 for AM62A7 will support UHS-I. This SDK will be released in the mid of next month.