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: 2960391 Return-Path: X-Original-To: patchwork-linux-samsung-soc@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 50D379F2B8 for ; Sun, 29 Sep 2013 16:12:13 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 44BE720220 for ; Sun, 29 Sep 2013 16:12:12 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 7711C200FF for ; Sun, 29 Sep 2013 16:12:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753234Ab3I2QMK (ORCPT ); Sun, 29 Sep 2013 12:12:10 -0400 Received: from mail-ee0-f47.google.com ([74.125.83.47]:41079 "EHLO mail-ee0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752675Ab3I2QMJ (ORCPT ); Sun, 29 Sep 2013 12:12:09 -0400 Received: by mail-ee0-f47.google.com with SMTP id d49so2190502eek.34 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 Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Kukjin Kim , Russell King - ARM Linux , Ben Dooks , augulis.darius@gmail.com, =?UTF-8?q?J=C3=BCrgen=20Beisert?= , oselas@community.pengutronix.de, Tomasz Figa 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 Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, 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