From patchwork Mon Feb 2 08:33:48 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 5759961 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.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id F244A9F269 for ; Mon, 2 Feb 2015 08:34:18 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 3BB85201F2 for ; Mon, 2 Feb 2015 08:34:18 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 52C75202AE for ; Mon, 2 Feb 2015 08:34:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754187AbbBBIeP (ORCPT ); Mon, 2 Feb 2015 03:34:15 -0500 Received: from mailout4.w1.samsung.com ([210.118.77.14]:28968 "EHLO mailout4.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752940AbbBBIeN (ORCPT ); Mon, 2 Feb 2015 03:34:13 -0500 Received: from eucpsbgm1.samsung.com (unknown [203.254.199.244]) 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 <0NJ400AHAYNOIP60@mailout4.w1.samsung.com>; Mon, 02 Feb 2015 08:38:12 +0000 (GMT) X-AuditID: cbfec7f4-b7f126d000001e9a-35-54cf35f35228 Received: from eusync2.samsung.com ( [203.254.199.212]) by eucpsbgm1.samsung.com (EUCPMTA) with SMTP id 3D.25.07834.3F53FC45; Mon, 02 Feb 2015 08:31:47 +0000 (GMT) Received: from amdc1339.digital.local ([106.116.147.30]) by eusync2.samsung.com (Oracle Communications Messaging Server 7u4-23.01 (7.0.4.23.0) 64bit (built Aug 10 2011)) with ESMTPA id <0NJ400L97YGRC600@eusync2.samsung.com>; Mon, 02 Feb 2015 08:34:12 +0000 (GMT) From: Marek Szyprowski To: linux-mmc@vger.kernel.org, linux-samsung-soc@vger.kernel.org Cc: Marek Szyprowski , Kukjin Kim , Tobias Jakobi , Daniel Drake , Sebastian Reichel , Seungwon Jeon , Jaehoon Chung , Ulf Hansson , Chris Ball , Joonyoung Shim , Javier Martinez Canillas Subject: [PATCH v2 3/3] ARM: dts: exynos5422-odroidxu3: add eMMC reset line Date: Mon, 02 Feb 2015 09:33:48 +0100 Message-id: <1422866028-27891-4-git-send-email-m.szyprowski@samsung.com> X-Mailer: git-send-email 1.9.2 In-reply-to: <1422866028-27891-1-git-send-email-m.szyprowski@samsung.com> References: <1422866028-27891-1-git-send-email-m.szyprowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrALMWRmVeSWpSXmKPExsVy+t/xK7qfTc+HGJw+IGUx4fJ2RotH8x8z W1z7PYPN4savNlaLF/cuslj0P37NbHHkfz+jxYzz+5gsun7+ZLNYe+Quu8Xp3SUWH+5fZLY4 vjbcgdfj7+xWZo9F37M8Fm/az+axaVUnm8eda3vYPG68Wsjk0bdlFaPH501yARxRXDYpqTmZ ZalF+nYJXBmrVn5mKdjEVbFxxyemBsb1HF2MnBwSAiYST1atY4OwxSQu3FsPZHNxCAksZZT4 eHw3O4TTxyRxefETFpAqNgFDia63XUBVHBwiAg4SL847gdQwC2xklvjUfYARpEZYwFvi5dmj YFNZBFQlDjY+YQWxeQU8JPavWssKsU1O4v/LFUwgNqeAp8SG0zfA5gsB1ay72cQygZF3ASPD KkbR1NLkguKk9FxDveLE3OLSvHS95PzcTYyQUP2yg3HxMatDjAIcjEo8vA+4z4UIsSaWFVfm HmKU4GBWEuEV/ggU4k1JrKxKLcqPLyrNSS0+xMjEwSnVwLiRj1/s6h+p3C8n53SLvDvPragv /tbuVbb51dqKwkUaeSFrU7bx7krlq+n3vKFnfOqh98/Kq3s1Hpcuv5Oq6LfnmRBT1cGDJ9/P /Wa91NjwbPnyBg3md25iBWdrD9hx/5H8u+30vlt/jOYHSdnMSjp//vEJ7fucNb81L4veUzC5 /Ecu8BhH0SYlluKMREMt5qLiRAAda820MwIAAA== 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, T_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 This patch adds reset-gpios property to the eMMC slot, so the MMC driver is able to properly reset eMMC card on system restart and thus fixes system hang on software reboot. Signed-off-by: Marek Szyprowski --- arch/arm/boot/dts/exynos5422-odroidxu3.dts | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/arch/arm/boot/dts/exynos5422-odroidxu3.dts b/arch/arm/boot/dts/exynos5422-odroidxu3.dts index a519c863248d..790fb4ce295d 100644 --- a/arch/arm/boot/dts/exynos5422-odroidxu3.dts +++ b/arch/arm/boot/dts/exynos5422-odroidxu3.dts @@ -264,6 +264,13 @@ }; }; + emmc_pwrseq: pwrseq { + pinctrl-0 = <&emmc_nrst_pin>; + pinctrl-names = "default"; + compatible = "mmc-pwrseq-emmc"; + reset-gpios = <&gpd1 0 1>; + }; + i2c_2: i2c@12C80000 { samsung,i2c-sda-delay = <100>; samsung,i2c-max-bus-freq = <66000>; @@ -298,6 +305,7 @@ &mmc_0 { status = "okay"; + mmc-pwrseq = <&emmc_pwrseq>; broken-cd; card-detect-delay = <200>; samsung,dw-mshc-ciu-div = <3>; @@ -330,6 +338,15 @@ }; }; +&pinctrl_1 { + emmc_nrst_pin: emmc-nrst { + samsung,pins = "gpd1-0"; + samsung,pin-function = <0>; + samsung,pin-pud = <0>; + samsung,pin-drv = <0>; + }; +}; + &usbdrd_dwc3_0 { dr_mode = "host"; };