From patchwork Mon Jul 14 12:48:26 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 4545841 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 725DB9F463 for ; Mon, 14 Jul 2014 12:48:55 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id AB6AC2011E for ; Mon, 14 Jul 2014 12:48:54 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 6D3402014A for ; Mon, 14 Jul 2014 12:48:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755315AbaGNMso (ORCPT ); Mon, 14 Jul 2014 08:48:44 -0400 Received: from mailout4.w1.samsung.com ([210.118.77.14]:29050 "EHLO mailout4.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755299AbaGNMsn (ORCPT ); Mon, 14 Jul 2014 08:48:43 -0400 Received: from eucpsbgm2.samsung.com (unknown [203.254.199.245]) by mailout4.w1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0N8P005M4CWV1F70@mailout4.w1.samsung.com> for linux-samsung-soc@vger.kernel.org; Mon, 14 Jul 2014 13:48:31 +0100 (BST) X-AuditID: cbfec7f5-b7f626d000004b39-17-53c3d1a788b8 Received: from eusync1.samsung.com ( [203.254.199.211]) by eucpsbgm2.samsung.com (EUCPMTA) with SMTP id F2.FA.19257.7A1D3C35; Mon, 14 Jul 2014 13:48:39 +0100 (BST) Received: from amdc1339.digital.local ([106.116.147.30]) by eusync1.samsung.com (Oracle Communications Messaging Server 7u4-23.01 (7.0.4.23.0) 64bit (built Aug 10 2011)) with ESMTPA id <0N8P009URCWUD250@eusync1.samsung.com>; Mon, 14 Jul 2014 13:48:39 +0100 (BST) From: Marek Szyprowski To: linux-samsung-soc@vger.kernel.org Cc: Marek Szyprowski , Kukjin Kim , Kamil Debski , Sylwester Nawrocki , Tobias Jakobi , Daniel Drake Subject: [PATCH v3 8/8] ARM: dts: exynos4412-odroid: fix T-FLASH hotplug detection Date: Mon, 14 Jul 2014 14:48:26 +0200 Message-id: <1405342106-10585-9-git-send-email-m.szyprowski@samsung.com> X-Mailer: git-send-email 1.9.2 In-reply-to: <1405342106-10585-1-git-send-email-m.szyprowski@samsung.com> References: <1405342106-10585-1-git-send-email-m.szyprowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrPJMWRmVeSWpSXmKPExsVy+t/xy7rLLx4ONth3XsHi0fzHzBY/Xl9g s+hdcJXNYsb5fUwWXT9/slmsPXKX3eLwm3ZWB3aPRd+zPBZv2s/m0bdlFaPH501yASxRXDYp qTmZZalF+nYJXBnXdq5hKjjNVrF14k/2BsYjrF2MnBwSAiYS11fsY4KwxSQu3FvP1sXIxSEk sJRRYv2fVmYIp49J4tv6r8wgVWwChhJdb7vYQGwRAVWJz20L2EGKmAU+M0o87ngElhAWCJH4 cvonSxcjBwcLUNHhP14gYV4BD4ntjV9YILbJSfx/uQJsM6eAp8TL9rmMIOVCQDXrf9RNYORd wMiwilE0tTS5oDgpPddIrzgxt7g0L10vOT93EyMkkL7uYFx6zOoQowAHoxIPbwH/4WAh1sSy 4srcQ4wSHMxKIrynjwKFeFMSK6tSi/Lji0pzUosPMTJxcEo1MB4XmfvKaJKq5OzzN5OsNsX1 pxadTCy3OnT4yJIpiyzD8y54OOiyKx3dnWkUpXpoWU38GfkZXM+n9J4UzuwL2P1up5mPiVXx ww+/KyPmu/yekvBNJ8uiT9CA2VT++AHpv0dzFp6f4hD5hl2IP+jJt9ZdzlYxWSsClZym/JnM tHuCOcvuafzPIpRYijMSDbWYi4oTAcyp1nMCAgAA 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.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, 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 TFLASH (SDHCI2 controller) uses internal card detect line, but it looks that the driver fails to operate it properly. Use GPIO interrupt on SD_CDn line for detecting SD card state. Signed-off-by: Marek Szyprowski --- arch/arm/boot/dts/exynos4412-odroid-common.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/exynos4412-odroid-common.dtsi b/arch/arm/boot/dts/exynos4412-odroid-common.dtsi index d1b33a8efa9d..0bc1a9b94f47 100644 --- a/arch/arm/boot/dts/exynos4412-odroid-common.dtsi +++ b/arch/arm/boot/dts/exynos4412-odroid-common.dtsi @@ -91,6 +91,8 @@ pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus4>; pinctrl-names = "default"; vmmc-supply = <&ldo4_reg &ldo21_reg>; + cd-gpios = <&gpk2 2 0>; + cd-inverted; status = "okay"; };