[PATCH 1/3] mmc: dw_mmc: use mmc_regulator_get_supply to handle regulators
Doug Anderson
dianders at chromium.org
Fri Jun 27 15:47:22 PDT 2014
Yuvaraj,
On Fri, Jun 27, 2014 at 3:59 AM, Yuvaraj Kumar <yuvaraj.cd at gmail.com> wrote:
>>> mmc_regulator_set_ocr() is failing as its a fixed-regulator.
>>
>> Can you explain more about what's failing? It sure looks like mmc
>> core is supposed to handle this given comments below
>>
>> /*
>> * If we're using a fixed/static regulator, don't call
>> * regulator_set_voltage; it would fail.
>> */
> tps65090 driver does not register through fixed regulator framework.It
> uses normal regulator framework and supports only
> enable/disable/is_enabled callbacks.Also it lacks certain callbacks
> for list_voltage, get_voltage ,set_voltage etc.
> [ 2.306476] dwmmc_exynos 12220000.mmc: Failed getting OCR mask: -22
> [ 2.393403] dwmmc_exynos 12220000.mmc: could not set regulator OCR (-22)
> For the above reason,regulator framework treats fet4 as unused
> regulator and disables the vmmc regulator.
Ah. Perhaps tps65090 needs to be fixed then... I'm not sure any
other drivers cared before so maybe that's why it was never caught?
-Doug
More information about the linux-arm-kernel
mailing list