[PATCH 1/3] mmc: dw_mmc: use mmc_regulator_get_supply to handle regulators
From: dianders@chromium.org (Doug Anderson)
Date: 2014-06-27 22:47:22
Also in:
linux-mmc, linux-samsung-soc
From: dianders@chromium.org (Doug Anderson)
Date: 2014-06-27 22:47:22
Also in:
linux-mmc, linux-samsung-soc
Yuvaraj, On Fri, Jun 27, 2014 at 3:59 AM, Yuvaraj Kumar [off-list ref] wrote:
quoted
quoted
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