linux-mmc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Initial signal voltage ?
@ 2015-08-10 16:50 Joakim Tjernlund
  2015-08-25 12:05 ` Ulf Hansson
  0 siblings, 1 reply; 8+ messages in thread
From: Joakim Tjernlund @ 2015-08-10 16:50 UTC (permalink / raw)
  To: linux-mmc@vger.kernel.org

in mmc_power_up() we have:
	/* Try to set signal voltage to 3.3V but fall back to 1.8v or 1.2v */
	if (__mmc_set_signal_voltage(host, MMC_SIGNAL_VOLTAGE_330) == 0)
		dev_err(mmc_dev(host), "Initial signal voltage of 3.3v\n");
	else if (__mmc_set_signal_voltage(host, MMC_SIGNAL_VOLTAGE_180) == 0)
		dev_err(mmc_dev(host), "Initial signal voltage of 1.8v\n");
	else if (__mmc_set_signal_voltage(host, MMC_SIGNAL_VOLTAGE_120) == 0)
		dev_err(mmc_dev(host), "Initial signal voltage of 1.2v\n");

Here one jut brutally tries to set the initial power to 3.3 but nowhere in
general code there is a check if the controller can handle this w.r.t
HOST CAPS.
Where should this check be performed, I am guessing either here or in sdhci?
This is all new to me so I am just throwing this out there

 Jocke

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2015-09-15 17:43 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-10 16:50 Initial signal voltage ? Joakim Tjernlund
2015-08-25 12:05 ` Ulf Hansson
2015-08-25 12:20   ` Joakim Tjernlund
2015-08-27 14:01     ` Ulf Hansson
2015-08-27 14:33       ` Joakim Tjernlund
2015-08-27 14:44         ` Ulf Hansson
2015-08-27 17:16           ` Joakim Tjernlund
2015-09-15 17:43             ` Fabio Estevam

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).