From patchwork Mon Feb 14 06:56:22 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philip Rakity X-Patchwork-Id: 554091 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p1E70QvZ009654 for ; Mon, 14 Feb 2011 07:00:26 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751496Ab1BNHAW (ORCPT ); Mon, 14 Feb 2011 02:00:22 -0500 Received: from na3sys009aog109.obsmtp.com ([74.125.149.201]:43526 "EHLO na3sys009aog109.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751373Ab1BNHAV convert rfc822-to-8bit (ORCPT ); Mon, 14 Feb 2011 02:00:21 -0500 Received: from source ([65.219.4.129]) (using TLSv1) by na3sys009aob109.postini.com ([74.125.148.12]) with SMTP ID DSNKTVjTAHrS9pztUQgJXgu3pgPqoV0ZMiPQ@postini.com; Sun, 13 Feb 2011 23:00:21 PST Received: from SC-vEXCH3.marvell.com ([10.93.76.133]) by SC-OWA01.marvell.com ([10.93.76.21]) with mapi; Sun, 13 Feb 2011 22:55:22 -0800 From: Philip Rakity To: "linux-arm-kernel@lists.infradead.org" CC: "linux-mmc@vger.kernel.org" , Mark Brown , Chris Ball , Arnd Bergmann Date: Sun, 13 Feb 2011 22:56:22 -0800 Subject: [PATCH 2/2] mach-mmp: Support for SD/MMC clock adjustment in brownstone Thread-Topic: [PATCH 2/2] mach-mmp: Support for SD/MMC clock adjustment in brownstone Thread-Index: AcvMFEqbbu1BZxW8QBC123VPU/zGsg== Message-ID: <9C2307EC-8314-40D5-A33B-38834F0F4698@marvell.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US MIME-Version: 1.0 Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Mon, 14 Feb 2011 07:01:03 +0000 (UTC) diff --git a/arch/arm/mach-mmp/brownstone.c b/arch/arm/mach-mmp/brownstone.c index 0e92fd7..35afe60 100644 --- a/arch/arm/mach-mmp/brownstone.c +++ b/arch/arm/mach-mmp/brownstone.c @@ -178,14 +178,22 @@ static struct i2c_board_info brownstone_twsi1_info[] = { }; static struct sdhci_pxa_platdata mmp2_sdh_platdata_mmc0 = { - .max_speed = 25000000, + .adjust_clocks = 1, + .clk_select = 1, + .clk_delay = 31, }; static struct sdhci_pxa_platdata mmp2_sdh_platdata_mmc1 = { + .adjust_clocks = 1, + .clk_select = 1, + .clk_delay = 15, .flags = PXA_FLAG_CARD_PERMANENT, }; static struct sdhci_pxa_platdata mmp2_sdh_platdata_mmc2 = { + .adjust_clocks = 1, + .clk_select = 1, + .clk_delay = 31, .flags = PXA_FLAG_CARD_PERMANENT | PXA_FLAG_SD_8_BIT_CAPABLE_SLOT, };