Hi Igor,
I have configuration as you described. There was hardware problem with
sd card that is fixed by hardware team, but I still can not get ultra
high speed.
I have following printout in dmesg:
sdhci_ultra_speed: 3300 mV
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
sdhci-pltfm: SDHCI platform and OF driver helper
mmc0: no vqmmc regulator found
mmc0: SDHCI controller on 219c000.usdhc
using ADMA
mmc0: error -110 whilst initialising SD card
sdhci_ultra_speed: disabling
I have configured dts file like sabre automotive sd card configuration:
reg_sd_3p3v: regulator@4 {
compatible = "regulator-fixed";
reg = <4>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_reg_sd_high>;
regulator-name = "sdhci_ultra_speed";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
gpio = GP_USDHC4_REG;
enable-active-high;
};
&usdhc4 {
pinctrl-names = "default", "state_100mhz", "state_200mhz";
pinctrl-0 = <&pinctrl_usdhc4_50mhz>;
pinctrl-1 = <&pinctrl_usdhc4_100mhz>;
pinctrl-2 = <&pinctrl_usdhc4_200mhz>;
cd-gpios = GP_USDHC4_CD;
vmmc-supply = <®_sd_3p3v>;
keep-power-in-suspend;
enable-sdio-wakeup;
status = "okay";
};
I still not sure what to do with code you have sent me in a link for
sabre al. To copy it to kernel-source directory, and compile bit bitbake
I have, or something else? I tried to copy mmc directory to my project
but I have errors compiling.
Thanks, regards, Ivan.