From patchwork Fri Dec 13 20:19:44 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomasz Figa X-Patchwork-Id: 3342561 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 0E12AC0D4A for ; Fri, 13 Dec 2013 20:20:42 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 17CFD207AE for ; Fri, 13 Dec 2013 20:20:41 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 2E1C42066E for ; Fri, 13 Dec 2013 20:20:40 +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 1VrZDo-0003zN-1Q; Fri, 13 Dec 2013 20:20:28 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1VrZDg-0008II-0C; Fri, 13 Dec 2013 20:20:20 +0000 Received: from mail-ee0-x22c.google.com ([2a00:1450:4013:c00::22c]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VrZDc-0008Gb-Rj for linux-arm-kernel@lists.infradead.org; Fri, 13 Dec 2013 20:20:17 +0000 Received: by mail-ee0-f44.google.com with SMTP id b57so1086869eek.3 for ; Fri, 13 Dec 2013 12:19:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=txXZ3y0H+Fbl6cHcsQCKiCiNbldu8B9AXO0OuRVUbzE=; b=yv4Z7pY0us6b48YBRH5OEvBZWRGUPEGj2FK+/QUUHl9Eeg12rpnlMA84J1Up9LQBXB cATbfIGCDRH8G6S3Tx6u7HMVr1ALAL/65DffR8B32G/ka49Gdz87QJJtMWI+Y52+RHIr cEOeZDh5D13XGuz3kDy2TCl4LCE++Vh+T93GMJfI3NS8DMjYLZd7V6OERYbYiTcTXv3k 2eaLR5aBCnt4denU3XGx0L9q3hu+rT2OsMIdHlWN4x84Hz163Ih2fYMBinj8IZR+ROCu bUOYpR0vXY8kulmhLShYG04ieJQlbm4C42V3pqz7JGfcLxLB9D+3nhzCYJj6e3gWM7QI lutg== X-Received: by 10.15.26.200 with SMTP id n48mr4802300eeu.46.1386965994913; Fri, 13 Dec 2013 12:19:54 -0800 (PST) Received: from flatron.tomeq (87-207-52-162.dynamic.chello.pl. [87.207.52.162]) by mx.google.com with ESMTPSA id p45sm10564887eeg.1.2013.12.13.12.19.54 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 13 Dec 2013 12:19:54 -0800 (PST) From: Tomasz Figa To: linux-samsung-soc@vger.kernel.org Subject: [PATCH] ARM: s3c64xx: mini6410: Correct card detect type for HSMMC1 Date: Fri, 13 Dec 2013 21:19:44 +0100 Message-Id: <1386965984-16028-1-git-send-email-tomasz.figa@gmail.com> X-Mailer: git-send-email 1.8.5.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20131213_152017_043487_46914A47 X-CRM114-Status: GOOD ( 14.52 ) X-Spam-Score: -2.0 (--) Cc: Kukjin Kim , Russell King - ARM Linux , Arnd Bergmann , Tomasz Figa , Olof Johansson , 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.1 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=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 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