From patchwork Wed Jan 28 13:59:55 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 5734501 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.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 888E7BF440 for ; Thu, 29 Jan 2015 02:10:40 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C923C201F2 for ; Thu, 29 Jan 2015 02:10:39 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 1A08420160 for ; Thu, 29 Jan 2015 02:10:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933403AbbA2CKf (ORCPT ); Wed, 28 Jan 2015 21:10:35 -0500 Received: from mailout1.w1.samsung.com ([210.118.77.11]:45682 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933383AbbA2CKc (ORCPT ); Wed, 28 Jan 2015 21:10:32 -0500 Received: from eucpsbgm1.samsung.com (unknown [203.254.199.244]) by mailout1.w1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0NIW00MYN4FGBT20@mailout1.w1.samsung.com>; Wed, 28 Jan 2015 14:04:28 +0000 (GMT) X-AuditID: cbfec7f4-b7f126d000001e9a-1a-54c8eae319a4 Received: from eusync4.samsung.com ( [203.254.199.214]) by eucpsbgm1.samsung.com (EUCPMTA) with SMTP id 2B.0B.07834.3EAE8C45; Wed, 28 Jan 2015 13:57:55 +0000 (GMT) Received: from amdc1339.digital.local ([106.116.147.30]) by eusync4.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0NIW005RG48EEF80@eusync4.samsung.com>; Wed, 28 Jan 2015 14:00:20 +0000 (GMT) From: Marek Szyprowski To: linux-mmc@vger.kernel.org, devicetree@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 Subject: [PATCH 4/4] ARM: dts: exynos5422-odroidxu3: add eMMC reset line Date: Wed, 28 Jan 2015 14:59:55 +0100 Message-id: <1422453595-21160-5-git-send-email-m.szyprowski@samsung.com> X-Mailer: git-send-email 1.9.2 In-reply-to: <1422453595-21160-1-git-send-email-m.szyprowski@samsung.com> References: <1422453595-21160-1-git-send-email-m.szyprowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprNLMWRmVeSWpSXmKPExsVy+t/xa7pPXp0IMTjJbDHh8nZGi/lHzrFa PJr/mNnixq82VosX9y6yWPQ/fs1sceR/P6PFjPP7mCy6fv5ks1h75C67xendJRYf7l9ktji+ NtyB12PR9yyPxZv2s3lsWtXJ5nHn2h42jxuvFjJ59G1ZxejxeZNcAHsUl01Kak5mWWqRvl0C V0bn8VdMBRu5KtZf+sTSwLiPo4uRk0NCwETi2vMbTBC2mMSFe+vZuhi5OIQEljJKnHx8khnC 6WOSuLd8KjNIFZuAoUTX2y42EFtEIE5iw81bYB3MAv+ZJDof3gUbJSzgIdF9dxJYEYuAqsSm tStYQGxeoHhH3x1miHVyEv9frgCr5xTwlLh49xs7iC0EVHPvxwvWCYy8CxgZVjGKppYmFxQn peca6hUn5haX5qXrJefnbmKEBOiXHYyLj1kdYhTgYFTi4X1hdiJEiDWxrLgy9xCjBAezkgjv 471AId6UxMqq1KL8+KLSnNTiQ4xMHJxSDYzCZ74m6y1m7b9TJ3M6fuvVrM87f1ecjZlcL5Gt uP9PZdRhJs1lRU6nmSuZS/oP/r+i1rPmLc+6rQHbrfXZO9jnnTb4wH42iLtpikrHrWVXomIX rWBlfqUiI3zrtujLs/cqg3gFfzl/Wtbcv/zIT9/AD8UrT6bot6ZwrxViVPUMeSTi9lJ7x3Ul luKMREMt5qLiRAAJz1nFLgIAAA== 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 | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/exynos5422-odroidxu3.dts b/arch/arm/boot/dts/exynos5422-odroidxu3.dts index a519c863248d..bafbc4e19adc 100644 --- a/arch/arm/boot/dts/exynos5422-odroidxu3.dts +++ b/arch/arm/boot/dts/exynos5422-odroidxu3.dts @@ -298,13 +298,15 @@ &mmc_0 { status = "okay"; + reset-gpios = <&gpd1 0 0>; + reset-invered; broken-cd; card-detect-delay = <200>; samsung,dw-mshc-ciu-div = <3>; samsung,dw-mshc-sdr-timing = <0 4>; samsung,dw-mshc-ddr-timing = <0 2>; pinctrl-names = "default"; - pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus4 &sd0_bus8>; + pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus4 &sd0_bus8 &emmc_nrst>; bus-width = <8>; cap-mmc-highspeed; }; @@ -330,6 +332,15 @@ }; }; +&pinctrl_1 { + emmc_nrst: emmc-nrst { + samsung,pins = "gpd1-0"; + samsung,pin-function = <0>; + samsung,pin-pud = <0>; + samsung,pin-drv = <0>; + }; +}; + &usbdrd_dwc3_0 { dr_mode = "host"; };