how to debug sdio on mmc1 interface

Hi all,
Do you know how to debug the sdmmc1 sdio interface from linux command line? I would like to send the ‘cmd52’ message and see the sdio response from it.

Thanks and best regards

hello rtakaki,

you should follow the initial sequence to enable the controller.
you may also access Tegra X2 (Parker Series SoC) Technical Reference Manual from download center.
please refer to [Chapter-36: SD/MMC Controller] for details.

you may also access L4T sources, you may also check SDHCI drivers as below for reference.
for example,
$l4t-r32.2/public_sources/kernel_src/kernel/kernel-4.9/drivers/mmc/host/sdhci.c