From patchwork Sun Sep 29 16:12:01 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomasz Figa X-Patchwork-Id: 2960411 Return-Path: X-Original-To: patchwork-linux-arm@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 3396D9F2B8 for ; Sun, 29 Sep 2013 16:12:44 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 60E1F20220 for ; Sun, 29 Sep 2013 16:12:43 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 69D7C200FF for ; Sun, 29 Sep 2013 16:12:42 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VQJbm-0007tz-Fb; Sun, 29 Sep 2013 16:12:34 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1VQJbj-00071Z-VU; Sun, 29 Sep 2013 16:12:31 +0000 Received: from mail-ee0-x22a.google.com ([2a00:1450:4013:c00::22a]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VQJbh-00070m-Mh for linux-arm-kernel@lists.infradead.org; Sun, 29 Sep 2013 16:12:30 +0000 Received: by mail-ee0-f42.google.com with SMTP id b45so2181946eek.15 for ; Sun, 29 Sep 2013 09:12:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=9u5uqWUYK8aCvNZNpz0AO/JXip2YshtavtdA9oDmBSg=; b=IqhauSKu3INEgzvFCcJRLclFni+s3gSkL++SuthH/2VkpU5kuqNULhOSqy3d8QRNsY YvdSk+zsBODfeDGljca5W6+tt667p0rspWHds3ks7gJsJQUWwksBeogwp7SBv/C5u2Si bxCy54VDVl7lMyR7cuAZtqHcpjMY8fXwXoEJUxALsk4mCT82Bp8aM2kZz+1Y5Ic1JJ+t vhF+/94nhpWltAjdsSS4fmDpr/pvSiseAoAQj6ABbNL8FBnDM/vx+5DplBCUjdbsBeAh tr6K4aX/FHc5qWQec2rbrzu0ky/+FLKtncJCVj0pGeo+dqIqS2RzL+Kln+A4isu1+KlW tiSw== X-Received: by 10.14.37.4 with SMTP id x4mr29892310eea.16.1380471127517; Sun, 29 Sep 2013 09:12:07 -0700 (PDT) Received: from flatron.tomeq (87-207-52-162.dynamic.chello.pl. [87.207.52.162]) by mx.google.com with ESMTPSA id z12sm40866415eev.6.1969.12.31.16.00.00 (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 29 Sep 2013 09:12:07 -0700 (PDT) From: Tomasz Figa To: linux-samsung-soc@vger.kernel.org Subject: [PATCH] ARM: s3c64xx: mini6410: Correct card detect type for HSMMC1 Date: Sun, 29 Sep 2013 18:12:01 +0200 Message-Id: <1380471121-9478-1-git-send-email-tomasz.figa@gmail.com> X-Mailer: git-send-email 1.8.3.2 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130929_121229_892869_25C6FD4F X-CRM114-Status: GOOD ( 14.30 ) X-Spam-Score: -2.0 (--) Cc: Kukjin Kim , Russell King - ARM Linux , oselas@community.pengutronix.de, linux-kernel@vger.kernel.org, Tomasz Figa , Ben Dooks , augulis.darius@gmail.com, linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.7 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=unavailable 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 According to board schematics, for HSMMC1 a GPIO line is used to detect card presence, while currently it is being configured for internal card detect line, which is multiplexed with card detect line of HSMMC0 and thus breaking it. This patch adds proper sdhci platform data setting card detect type to external GPIO and fixing operation of HSMMC0. Signed-off-by: Tomasz Figa --- arch/arm/mach-s3c64xx/mach-mini6410.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/mach-s3c64xx/mach-mini6410.c b/arch/arm/mach-s3c64xx/mach-mini6410.c index 58d46a3..97ae470 100644 --- a/arch/arm/mach-s3c64xx/mach-mini6410.c +++ b/arch/arm/mach-s3c64xx/mach-mini6410.c @@ -36,7 +36,9 @@ #include #include #include +#include #include +#include #include #include