From patchwork Mon Oct 27 14:59:55 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 5161441 Return-Path: X-Original-To: patchwork-linux-samsung-soc@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 0E10BC11AC for ; Mon, 27 Oct 2014 15:00:43 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 48A8D201BB for ; Mon, 27 Oct 2014 15:00:42 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id D3446201C7 for ; Mon, 27 Oct 2014 15:00:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752562AbaJ0PAH (ORCPT ); Mon, 27 Oct 2014 11:00:07 -0400 Received: from mailout4.w1.samsung.com ([210.118.77.14]:29732 "EHLO mailout4.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751907AbaJ0PAG (ORCPT ); Mon, 27 Oct 2014 11:00:06 -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 <0NE300A92Z4P8W80@mailout4.w1.samsung.com>; Mon, 27 Oct 2014 15:02:49 +0000 (GMT) X-AuditID: cbfec7f5-b7f956d000005ed7-4e-544e5df34b23 Received: from eusync4.samsung.com ( [203.254.199.214]) by eucpsbgm2.samsung.com (EUCPMTA) with SMTP id 5D.79.24279.3FD5E445; Mon, 27 Oct 2014 15:00:03 +0000 (GMT) Received: from AMDC1943.digital.local ([106.116.151.171]) by eusync4.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0NE300MH3Z006150@eusync4.samsung.com>; Mon, 27 Oct 2014 15:00:03 +0000 (GMT) From: Krzysztof Kozlowski To: Ben Dooks , Kukjin Kim , Russell King , linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Kyungmin Park , Marek Szyprowski , Bartlomiej Zolnierkiewicz , Krzysztof Kozlowski Subject: [PATCH v2] ARM: dts: exynos4412-trats: Add micro SD card SDHCI node Date: Mon, 27 Oct 2014 15:59:55 +0100 Message-id: <1414421995-22618-1-git-send-email-k.kozlowski@samsung.com> X-Mailer: git-send-email 1.9.1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrIJMWRmVeSWpSXmKPExsVy+t/xa7qfY/1CDPq6ZC02zljPajFp3QEm i/lHzrFavH5haNG74CqbxdmmN+wWmx5fY7W4vGsOm8WM8/uYLG5f5rVYe+QuuwO3R0tzD5vH 31UvmD02L6n36NuyitHj8ya5ANYoLpuU1JzMstQifbsEroxrs14yFqzmqNj0cRN7A+Njti5G Tg4JAROJN6c6mSBsMYkL99YDxbk4hASWMkpcuNTJCuH0MUl0vVwI1sEmYCyxefkSsCoRge+M EpumPGQEcZgFjjJKTO99CzZLWMBH4l/HHlYQm0VAVWJFYysjiM0r4C6xbcY2qH1yEiePTWad wMi9gJFhFaNoamlyQXFSeq6RXnFibnFpXrpecn7uJkZIMH3dwbj0mNUhRgEORiUe3gnFviFC rIllxZW5hxglOJiVRHhPBfiFCPGmJFZWpRblxxeV5qQWH2Jk4uCUamCsDkr1/5T68F+v/q5v 4b9uZfxdnVN+5TrP2egp7qETv/zuf154sXbGoeYQxUrjhUrdokaSBd/WGeX9eJ3IOteFfVoK 5+atOfmKS5xVl3eLb39ftibBzXmmUX32Tbu7e2pa+yusjYu2BFws+mPEosyoL350heizKi2X mxorT95WSdwY0P3tZZYSS3FGoqEWc1FxIgC12vIDBAIAAA== 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.5 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 Add SDHCI node for supporting the micro SD card. On Trats2 board the SDHCI does not use sd2_cd pins (gpk2-2) for card detect but gpx3-4 instead. Power is supplied from LDO21 regulator which in off state is controlled by external GPIO pin. Signed-off-by: Krzysztof Kozlowski --- Changes since v1: 1. Drop FIXME comment (about findings during testing). --- arch/arm/boot/dts/exynos4412-trats2.dts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/exynos4412-trats2.dts b/arch/arm/boot/dts/exynos4412-trats2.dts index a5aa52bba72c..7a68e0832cd6 100644 --- a/arch/arm/boot/dts/exynos4412-trats2.dts +++ b/arch/arm/boot/dts/exynos4412-trats2.dts @@ -603,6 +603,16 @@ cap-mmc-highspeed; }; + sdhci@12530000 { + bus-width = <4>; + cd-gpios = <&gpx3 4 0>; + cd-inverted; + pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_bus4>; + pinctrl-names = "default"; + vmmc-supply = <&ldo21_reg>; + status = "okay"; + }; + serial@13800000 { status = "okay"; };