Skip to content

RFC Internal voltage control for platform drivers

Vijay Viswanath linux-arm-msm linux-devicetree linux-mmc lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2mmc: sdhci: Allow platform controlled voltage switchingdrivers/mmc/host/sdhci.c drivers/mmc/host/sdhci.h+17 -58 replies
2/2mmc: sdhci-msm: Use internal voltage controldrivers/mmc/host/sdhci-msm.c+87 -121 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH RFC 0/2] Internal voltage control for platform drivers

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(-)
Signature · 2 lines
 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.