forked from torvalds/linux
Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
mmc: cavium: Fix voltage reg. switching for card slots
Following commit enables usage of vqmmc and vmmc regulators for devices with multiple voltages. The MMC block is capable to control up to three devices at the same time. However, only vmmc regulator has been used in the code. The change is necessary to support SD and MMC devices in single system. SD cards uses usually 3.3V regulators, while faster MMC devices uses lower volatges (1.8V or 1.2V). The switch operation logic remains unchanged. The sequence has been rewritten to separate logic, register accesses and voltage reguators manipulation. Signed-off-by: Wojciech Bartczak <wbartczak@marvell.com>
- Loading branch information
1 parent
5ebea82
commit 1a0194dde9d7f7c97c8257103835b04cbaf50f3b
Showing
2 changed files
with
157 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters