ARC: [plat-hsdk] Increase SDIO CIU frequency to 50000000Hz
authorEugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
Wed, 11 Oct 2017 17:01:42 +0000 (20:01 +0300)
committerVineet Gupta <vgupta@synopsys.com>
Wed, 11 Oct 2017 17:07:28 +0000 (10:07 -0700)
commit753affba96d3608e058cefc4534007661efd8c96
treeff27eb49235c49b4c259a7039811bc90fd0f8171
parenta528629dfd3b87f206ac0e5637f7e7f958143ab8
ARC: [plat-hsdk] Increase SDIO CIU frequency to 50000000Hz

With current SDIO CIU clock frequency (12500000Hz) DW MMC
controller fails to initialize some SD cards (which don't
support slow mode).

So increase SDIO CIU frequency from 12500000Hz to 50000000Hz by
switching from the default divisor value (div-by-8) to the
minimum possible value of the divisor (div-by-2) in HSDK platform
code.

Reported-by: Vineet Gupta <vgupta@synopsys.com>
Tested-by: Vineet Gupta <vgupta@synopsys.com>
Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
arch/arc/boot/dts/hsdk.dts
arch/arc/plat-hsdk/platform.c