Enable HS200/HS400 mode of eMMC in STM32MP157F-eval board
Hi STM-Team,
We are trying to enable/configure HS200/HS400 mode in eMMC on STM32MP157F-EV1 evaluation board.
We are using the stm32mp157f-ev1.dts device tree and we have configured the eMMC node as shown in below screenshot.
As per the documentation, we came to know that to select HS200/HS200/HS400, VCCQ has to be set to 1.8 V or 1.2 V.
So, we have set "vqmmc-supply" property in device tree to 1.8 range regulator i.e. "v1v8" as shown below.
------------------------------------------------------------------------
v1v8: ldo6 {
regulator-name = "v1v8";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
interrupts = <IT_CURLIM_LDO6 0>;
};
------------------------------------------------------------------------
For the above changes, we are facing the below errors.
------------------------------------------------------------------------
root@stm32mp1:~# dmesg | grep -i mmc
[ 3.601403] mmci-pl18x 58005000.sdmmc: mmc0: PL180 manf 53 rev2 at 0x58005000 irq 50,0 (pio)
[ 3.638210] mmci-pl18x 58007000.sdmmc: mmc1: PL180 manf 53 rev2 at 0x58007000 irq 51,0 (pio)
[ 3.650613] mmci-pl18x 58007000.sdmmc: Voltage switch failed
[ 3.762958] mmc0: new ultra high speed SDR104 SDHC card at address aaaa
[ 3.778533] mmcblk0: mmc0:aaaa SD32G 29.7 GiB
[ 3.828382] mmcblk0: p1 p2 p3 p4 p5 p6 p7
[ 3.848015] mmci-pl18x 58007000.sdmmc: Voltage switch failed
[ 3.853624] mmc1: error -110 whilst initialising MMC card
[ 3.874264] mmci-pl18x 58007000.sdmmc: Voltage switch failed
[ 4.091082] mmc1: error -110 whilst initialising MMC card
[ 4.284590] mmci-pl18x 58007000.sdmmc: Voltage switch failed
[ 4.518407] mmc1: error -110 whilst initialising MMC card
-----------------------------------------------------------------------------------------------------
Is there anything we are missing out to configure the HS200/HS400 mode for eMMC.
It would be great help to us for this issue.
Thanks,
Pratik Manvar
