TX2 NX -SD Card not support hot plugging

My TX2-NX using SD Card works fine but not support hot-plug function. I’m using a custom board.
Device Tree :
sdhci@3440000 {
status = “okay”;
mmc-ocr-mask = <3>;
sd-uhs-sdr104;
sd-uhs-sdr50;
sd-uhs-sdr25;
sd-uhs-sdr12;
cd-gpios = <&tegra_main_gpio TEGRA_MAIN_GPIO(C, 2) 0>;
vmmc-supply = <&p3668_vdd_sdmmc3_sw>;
nvidia,vmmc-always-on;
};
Is there anything else you need to change?

Do you have “cd-inverted;” in your DT?

My DT is not “CD-inverted;”,But there is “non - removable;”, “the force - non - removable - rescan;” property, * When I remove these two properties, I can implement hot plug.tegra186-p3636-0001-p3509-0000-a01.dts (239.0 KB)

1 Like