mmc: sunxi: Support vqmmc regulator
authorChen-Yu Tsai <wens@csie.org>
Thu, 21 Jan 2016 05:26:31 +0000 (13:26 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 29 Feb 2016 10:02:51 +0000 (11:02 +0100)
commitf771f6e832ce0b5e0d8b30b33c3f1d62f92655de
treec41789128402b52ce02155905e767bb0d684eacc
parent4159215ac9aa020c0815141f1916b33dc226fb42
mmc: sunxi: Support vqmmc regulator

eMMC chips require 2 power supplies, vmmc for internal logic, and vqmmc
for driving output buffers. vqmmc also controls signaling voltage. Most
boards we've seen use the same regulator for both, nevertheless the 2
have different usages, and should be set separately.

This patch adds support for vqmmc regulator supply, including voltage
switching. The MMC core can use this to try different signaling voltages
for eMMC.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Acked-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sunxi-mmc.c
This page took 0.025257 seconds and 5 git commands to generate.