]> Pileus Git - ~andy/linux/commitdiff
ARM: shmobile: lager: disable MMCIF Command Completion Signal, add CLK_CTRL2
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Wed, 10 Jul 2013 19:21:17 +0000 (21:21 +0200)
committerSimon Horman <horms+renesas@verge.net.au>
Mon, 30 Sep 2013 07:56:20 +0000 (16:56 +0900)
MMCIF on r8a7790 doesn't support Command Completion Signal, but it does
implement a CE_CLK_CTRL2 register. Platform parameters have to be added to
account for these features on lager.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski+renesas@gmail.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/mach-shmobile/board-lager.c

index 9fbbf23244a8ea5f539f580e4b7ee0e452d76bb4..1e231423b2b093defd49f338f0a46b638dec0aee 100644 (file)
@@ -142,6 +142,8 @@ static struct regulator_consumer_supply fixed3v3_power_consumers[] =
 /* MMCIF */
 static struct sh_mmcif_plat_data mmcif1_pdata __initdata = {
        .caps           = MMC_CAP_8_BIT_DATA | MMC_CAP_NONREMOVABLE,
+       .clk_ctrl2_present = true,
+       .ccs_unsupported = true,
 };
 
 static struct resource mmcif1_resources[] __initdata = {