Hi @igorpadykov / NXP Team,
We are using eMMC, interfaced to i.MX6 Solo, as boot device in our product. We are trying to configure the eMMC to operate at HS200 with below DT settings. I have pasted the dmeg logs obtained with the patch attached below.
dmesg logs:
mmc0: SDHCI controller on 2190000.usdhc [2190000.usdhc] using ADMA
mmc0: MAN_BKOPS_EN bit is not set
mmc0: Got data interrupt 0x00000002 even though no data operation was in progress.
mmc0: new HS200 MMC card at address 0001
mmcblk0: mmc0:0001 008GB0 7.28 GiB
mmcblk0boot0: mmc0:0001 008GB0 partition 1 4.00 MiB
mmcblk0boot1: mmc0:0001 008GB0 partition 2 4.00 MiB
mmcblk0rpmb: mmc0:0001 008GB0 partition 3 4.00 MiB
The execution flow succeeds MMC_SIGNAL_VOLTAGE_180 switch case in __mmc_set_signal_voltage.
I wanted to make I am using the right settings to operate the eMMC at HS200. Please let me know if these settings are fine or should there be any other changes as well (ex. changes to pad control settings, enabling any other relevant DT property, etc..,)
Thanks,
Yeshwanth Kumar
Hello @yeshwanth_vn
I hope you are doing well.
Changes for HS200 mode look to be fine.
For pad control settings, one can look at pinctrl property in usdhc nodes at imx6sl-evk.dts
One can also add the below options in the u-boot configuration.
CONFIG_SPL_MMC_HS200_SUPPORT=y
CONFIG_SPL_MMC_IO_VOLTAGE=y
Thanks & Regards,
Sanket Parekh