I am trying to make an external sd card working on Jetson TX2 NX with custom carrier board.On hot plugging, it is throwing below error
mmc1: Disabling vmmc regulator
GPIO05 is used as sd card enable pin and GPIO08 is used as sd card detect pin .Following are the changes made in the lanai/kernel-dts/common/tegra186-p3636-0001-common.dtsi
status = “okay”;
cd-gpios = <&tegra_main_gpio TEGRA_MAIN_GPIO(X, 4) GPIO_ACTIVE_LOW>;
vmmc-supply = <&spmic_sd3>;
mmc-ocr-mask = <3>;
GPIO05 is enabled and GPIO08 is set as GPIO pin using pinmux table.
What would be the reason for the above error?
Please help me in resolving this issue
Thanks in advance.