]> bbs.cooldavid.org Git - net-next-2.6.git/commit - drivers/mmc/host/pxamci.c
[ARM] 4709/1: pxa: mmc: add 26MHz support for pxa3[0|1]0 mmc controller
authorBridge Wu <bridge.wu@marvell.com>
Thu, 13 Dec 2007 06:24:30 +0000 (07:24 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 26 Jan 2008 15:07:52 +0000 (15:07 +0000)
commit64eb036af42d3816364c4db49d93be3a4614389c
tree920a52c9b29aace4006d753fc8b1d43754bca0fc
parent9e2697ff371b4380dca108a66860868c19d8c4b6
[ARM] 4709/1: pxa: mmc: add 26MHz support for pxa3[0|1]0 mmc controller

pxa3[0|1]0 mmc controller can support 26MHz clock mode, they support
SD spec 1.1 and MMC spec 4.0 which specify high speed mode. So host
caps will include MMC_CAP_MMC_HIGHSPEED and MMC_CAP_SD_HIGHSPEED for
pxa3[0|1]0.

This patch is to add 26MHz support for them. pxa host clock will be
set to 26MHz mode when the card supported max clock rate is higher
than or equal to 26MHz.

Signed-off-by: Bridge Wu <bridge.wu@marvell.com>
Acked-by: Pierre Ossman <drzeus@drzeus.cx>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/mmc/host/pxamci.c