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: 3342551 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 06D779F380 for ; Fri, 13 Dec 2013 20:19:59 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 23BDF207F8 for ; Fri, 13 Dec 2013 20:19:58 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 1F5AC207B0 for ; Fri, 13 Dec 2013 20:19:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752839Ab3LMUT4 (ORCPT ); Fri, 13 Dec 2013 15:19:56 -0500 Received: from mail-ea0-f170.google.com ([209.85.215.170]:39004 "EHLO mail-ea0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752796Ab3LMUT4 (ORCPT ); Fri, 13 Dec 2013 15:19:56 -0500 Received: by mail-ea0-f170.google.com with SMTP id k10so1099086eaj.29 for ; Fri, 13 Dec 2013 12:19:55 -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 Cc: linux-arm-kernel@lists.infradead.org, Kukjin Kim , Arnd Bergmann , Olof Johansson , Russell King - ARM Linux , Tomasz Figa 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 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=-6.8 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