From patchwork Wed Jul 10 19:21:17 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guennadi Liakhovetski X-Patchwork-Id: 2825865 Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 069379F756 for ; Wed, 10 Jul 2013 19:21:29 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 234CD20160 for ; Wed, 10 Jul 2013 19:21:28 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 491C02015F for ; Wed, 10 Jul 2013 19:21:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755002Ab3GJTVY (ORCPT ); Wed, 10 Jul 2013 15:21:24 -0400 Received: from moutng.kundenserver.de ([212.227.126.187]:64561 "EHLO moutng.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754976Ab3GJTVW (ORCPT ); Wed, 10 Jul 2013 15:21:22 -0400 Received: from axis700.grange (dslb-178-001-141-087.pools.arcor-ip.net [178.1.141.87]) by mrelayeu.kundenserver.de (node=mreu1) with ESMTP (Nemesis) id 0M0e7e-1U3OFs1hD4-00v9sK; Wed, 10 Jul 2013 21:21:18 +0200 Received: from 6a.grange (6a.grange [192.168.1.11]) by axis700.grange (Postfix) with ESMTPS id F40B440BB7; Wed, 10 Jul 2013 21:21:17 +0200 (CEST) Received: from lyakh by 6a.grange with local (Exim 4.72) (envelope-from ) id 1Uwzwz-0002jS-Ph; Wed, 10 Jul 2013 21:21:17 +0200 From: Guennadi Liakhovetski To: linux-mmc@vger.kernel.org Cc: linux-sh@vger.kernel.org, Magnus Damm , Simon Horman , Chris Ball , Nobuyuki HIRAI , Guennadi Liakhovetski Subject: [PATCH 6/6] ARM: shmobile: lager: disable MMCIF Command Completion Signal, add CLK_CTRL2 Date: Wed, 10 Jul 2013 21:21:17 +0200 Message-Id: <1373484077-10460-7-git-send-email-g.liakhovetski@gmx.de> X-Mailer: git-send-email 1.7.2.5 In-Reply-To: <1373484077-10460-1-git-send-email-g.liakhovetski@gmx.de> References: <1373484077-10460-1-git-send-email-g.liakhovetski@gmx.de> X-Provags-ID: V02:K0:/Mp4F1DSDfpGNXEffSfG20ewn37ZVB1VRQtgWb/MhZp 0dz2TukHl1Z7Och+F6G4/4svrDmLPQlzU03AznDZppzpu68Mrr LO8k1iYBmmBQd+veKhJ1JFqQ8rlsNyrSp3cwh6Iy9vCcUi7sfi qFV1Nh2z2WVquhLGRGjwyhy3ktR/bQCrDExvxzEGqrN1e52t1L B/9+pNm6InKjvtyuhYzj+BsUpNgsjxKEbytMzugT6jEw+PzaJl YXRUn3jCxJEBpGpuV6vo8KgsQWCRUfrREBeDkY8A7WIT2e09xq mbigl3rSZEolHuF+yhxc4+tK4a6UunXwIAgpzsW0XwljU8jE93 2eHEaV1v/mrben7qmIMpSMtRZAoOA7JUANP0QXlXW5NQla2QHf uWaEo3awhTWXg== Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-7.2 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 --- arch/arm/mach-shmobile/board-lager.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-shmobile/board-lager.c b/arch/arm/mach-shmobile/board-lager.c index 3c67b2a..9b3085f 100644 --- a/arch/arm/mach-shmobile/board-lager.c +++ b/arch/arm/mach-shmobile/board-lager.c @@ -84,6 +84,8 @@ static struct regulator_consumer_supply fixed3v3_power_consumers[] = /* MMCIF */ static struct sh_mmcif_plat_data mmcif1_pdata = { .caps = MMC_CAP_8_BIT_DATA | MMC_CAP_NONREMOVABLE, + .clk_ctrl2_present = true, + .ccs_unsupported = true, }; static struct resource mmcif1_resources[] = {