]> 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)
commit58a13286419b5be7274db2a3b5dfebf6e8987759
treef478e5378f259bb75158d5cb08cc459c93f30905
parent7bd58f28df3e4de02ad0f7c3f7a6d0412954ac14
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