Hi chipexpert,
Thanks again for your help.
It took some time and effort, but now I have a setup with uSDHC3.
Sadly, I still have this error: could not get ultra high speed state, work on normal mode.
(SD seems to work, but not in Ultra high speed).
I have this in my dts files:
&iomuxc {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_hog_1>;
imx6q-ooo {
pinctrl_hog_1: hoggrp-1 {
fsl,pins = <
MX6QDL_PAD_GPIO_18__SD3_VSELECT 0x17059
>;
};
};
};
&usdhc3 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_usdhc3_1>;
pinctrl-1 = <&pinctrl_usdhc3_1_100mhz>;
pinctrl-2 = <&pinctrl_usdhc3_1_200mhz>;
vqmmc-1-8-v = <1>;
bus-width = <4>;
status = "okay";
};
I monitored the vselect signal, and noticed that the vselect is in logical zero, until the kernel raises it into a logical "1".
When I monitored the data/cmd/clk signals, the voltage levels where at ~3v while I expected them to be 1.8v (while vselect is set).
I wonder if VSELECT PAD is configured correctly.
I'm attaching some HW info related to the VSELECT.
Also, shouldn't the VSELECT PAD be configured in imx6qdl.dtsi together with the rest of the uSDHC pads?
dmesg:
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
sdhci-pltfm: SDHCI platform and OF driver helper
sdhci-esdhc-imx 2198000.usdhc: could not get ultra high speed state, work on normal mode
mmc0: no vqmmc regulator found
mmc0: no vmmc regulator found
mmc0: SDHCI controller on 2198000.usdhc [2198000.usdhc] using ADMA
mmc0: host does not support reading read-only switch. assuming write-enable.
mmc0: new high speed SDHC card at address aaaa
mmcblk0: mmc0:aaaa SU08G 7.40 GiB
mmcblk0: p1 p2
EXT4-fs (mmcblk0p1): warning: mounting unchecked fs, running e2fsck is recommended
EXT4-fs (mmcblk0p1): mounted filesystem without journal. Opts: (null)
EXT4-fs (mmcblk0p1): re-mounted. Opts: stripe=1024
You help is much appreciated! Thanks!
Ofer