Thanks for this forums, I had already make sd card working properly on my custom carrier board with Nano.
But when come to the tx2 nx, I don’t know how to write a regualtor, assign it to the vmmc-supply to replace spmic_sd3. This is totally beyond my knowledge.
So could you teach me which files to be modified and how ? Thanks!
SDCARD_VDD_EN is from GPIO05, which is gpio L,0 if it is correct.
cd gpio and other settings are ok, because I short VDD_3V3_SYS to sd vdd and make vmmc-supply to spmic_sd3, sd card can work properly.
Below is what I tried but not working:
add vmmc-supply = <&p3509_sdmmc_vdd>; in sdmmc3: sdhci@3440000 section.
add below in tegra186-p3509-0000-a00-fixed-regulator.dtsi:
Hi Jerry, thanks for the DG reference. And my board is doing exactly as the reference suggests, using gpio to enable sd card power supply. I just don’t know how to do the software side, specificly how to modify device tree file to let gpio as a regulator to enable power supply to sd.