This repository has been archived on 2026-03-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
ubports_kernel_google_msm/drivers
Subhash Jadavani 996bb4c5dc mmc: msm_sdcc: set IO_PAD_PWR_SWITCH bit based on IO voltage level
SDCC4 controller has IO_PAD_PWR_SWITCH control bit in MCI_CLK register.
Driver should set this bit to 1 if the IO voltage level is within
low voltage range (1.7v - 1.9v) else clear it.

But driver sets this bit to 1 only if the MMC core layer initiates
the voltage switch sequence. So if voltage switch sequence is not
initiated (which is the case with non UHS-I cards) then even if
the IO voltage level is within low voltage range, IO_PAD_PWR_SWITCH
bit remains cleared.

This change checks the IO voltage level and based on that sets the
IO_PAD_PWR_SWITCH bit.

CRs-Fixed: 386445
Change-Id: Id0648b0f87ea9bcc942e855e30da810e0fe5ebf5
Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>
(cherry picked from commit 341b9e7dbaf0a3caf6e41d37486e3bccc9795feb)
2013-03-07 15:19:48 -08:00
..
2013-03-07 15:18:16 -08:00
2013-03-07 15:18:16 -08:00
2013-02-25 11:32:11 -08:00
2013-02-27 18:16:09 -08:00
2013-03-04 12:48:21 -08:00
2012-04-18 13:15:51 -07:00
2012-05-07 12:26:28 -04:00