]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: core: eMMC 4.5 Power Class Selection Feature
authorGirish K S <girish.shivananjappa@linaro.org>
Fri, 23 Sep 2011 15:11:47 +0000 (20:41 +0530)
committerChris Ball <cjb@laptop.org>
Wed, 26 Oct 2011 20:32:13 +0000 (16:32 -0400)
commitcb3473e0cb3403063a27428bf14479ef17169339
treef478e5378f259bb75158d5cb08cc459c93f30905
parentedb7422b72e935d339feb4e19e56c232cd5a24ae
mmc: core: eMMC 4.5 Power Class Selection Feature

This patch adds the power class selection feature available for mmc
versions 4.0 and above.  During the enumeration stage before switching
to the lower data bus, check if the power class is supported for the
current bus width. If the power class is available then switch to the
power class and use the higher data bus. If power class is not supported
then switch to the lower data bus in a worst case.

Signed-off-by: Girish K S <girish.shivananjappa@linaro.org>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/core/mmc.c
include/linux/mmc/mmc.h