devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH RFC 0/2] Internal voltage control for platform drivers
@ 2018-06-21 12:23 Vijay Viswanath
  2018-06-21 12:23 ` [PATCH RFC 1/2] mmc: sdhci: Allow platform controlled voltage switching Vijay Viswanath
  2018-06-21 12:23 ` [PATCH RFC 2/2] mmc: sdhci-msm: Use internal voltage control Vijay Viswanath
  0 siblings, 2 replies; 12+ messages in thread
From: Vijay Viswanath @ 2018-06-21 12:23 UTC (permalink / raw)
  To: adrian.hunter, ulf.hansson, robh+dt, mark.rutland
  Cc: linux-mmc, linux-kernel, shawn.lin, linux-arm-msm, georgi.djakov,
	devicetree, asutoshd, stummala, venkatg, jeremymc, vviswana,
	bjorn.andersson, riteshh, vbadigan, dianders, sayalil

Certain SDHC controllers may require that voltage switching happen after
sepcial conditions. Added a QUIRK for such controllers to use.

For SDHCI-MSM controllers, power irq is a signal from controller to SW
that it is ready for voltage switch. So added support to register
voltage regulators from the msm driver and use them.
Voltage switching from core layer is causing CRC/cmd timeout errors in
some chipsets.

Tested on: sdm845, db410c
Requies patch series:"[PATCH V3 0/4] Changes for SDCC5 version"

Vijay Viswanath (2):
  mmc: sdhci: Allow platform controlled voltage switching
  mmc: sdhci-msm: Use internal voltage control

 drivers/mmc/host/sdhci-msm.c | 99 ++++++++++++++++++++++++++++++++++++++------
 drivers/mmc/host/sdhci.c     | 20 ++++++---
 drivers/mmc/host/sdhci.h     |  2 +
 3 files changed, 104 insertions(+), 17 deletions(-)

-- 
 Qualcomm India Private Limited, on behalf of Qualcomm Innovation Center, Inc. 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project.

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

end of thread, other threads:[~2018-07-17 10:22 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-06-21 12:23 [PATCH RFC 0/2] Internal voltage control for platform drivers Vijay Viswanath
2018-06-21 12:23 ` [PATCH RFC 1/2] mmc: sdhci: Allow platform controlled voltage switching Vijay Viswanath
2018-07-10 11:07   ` Adrian Hunter
2018-07-17  5:14     ` Vijay Viswanath
2018-07-17  7:30       ` Adrian Hunter
2018-07-17  8:40         ` Vijay Viswanath
2018-07-17  8:42           ` Adrian Hunter
2018-07-17  9:45             ` Vijay Viswanath
2018-07-17  9:54               ` Adrian Hunter
2018-07-17 10:22                 ` Vijay Viswanath
2018-06-21 12:23 ` [PATCH RFC 2/2] mmc: sdhci-msm: Use internal voltage control Vijay Viswanath
2018-07-10 11:26   ` Adrian Hunter

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).