Hi igorpadykov
Regarding the voltage-ranges of the device tree shown below, could you tell us a description example on the SABRE board ?
As far as the i.MX Linux® Reference Manual is concerned, there is no description about voltage-ranges and there is no device tree example.
When we add voltage-ranges parameter, we got following comment.
It seems that we need to set "vmmc-supply", "vqmmc-supply2.
[ 1.677079] sdhci-esdhc-imx 2198000.usdhc: No vmmc regulator found
[ 1.683276] sdhci-esdhc-imx 2198000.usdhc: No vqmmc regulator found
As we set these items, our original boards are no longer working.
Here is a dtsi sample.
<SABRE:imx6qdl-sabresd.dtsi>
&usdhc4 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_usdhc4>;
bus-width = <8>;
non-removable;
no-1-8-v;
keep-power-in-suspend;
status = "okay";
};
The background of the question
A phenomenon that eMMC can not be accessed normally is occurring in the i.MX6DL device, and I am investigating with the eMMC manufacturer.
It is a phenomenon which has not occurred in other iMX 6 devices,
The feature of the device of i.MX6DL's equipment is that vccq of eMMC is 3.3 v. (1.8 v for the others, 3.3 v for the sabre board)
I am inquiring as soon as I close the product release by investigating whether the setting of the device tree I am inquiring about this phenomenon is related to the above phenomenon.
If you look at the movement of the kernel, it seems that you are choosing the voltage setting from the information (EXT_CSD) on the eMMC side without setting this device tree.http://git.freescale.com/git/cgit.cgi/imx/linux-imx.git/tree/drivers/mmc/core/mmc.c?h=imx_4.1.15_2.0...
static int mmc_select_hs_ddr(struct mmc_card *card)
・・・
err = -EINVAL;
if (card->mmc_avail_type & EXT_CSD_CARD_TYPE_DDR_1_2V)
err = __mmc_set_signal_voltage(host, MMC_SIGNAL_VOLTAGE_120);
if (err && (card->mmc_avail_type & EXT_CSD_CARD_TYPE_DDR_1_8V))
err = __mmc_set_signal_voltage(host, MMC_SIGNAL_VOLTAGE_180);
/* make sure vccq is 3.3v after switching disaster */
if (err)
err = __mmc_set_signal_voltage(host, MMC_SIGNAL_VOLTAGE_330);
Ko-hey