From patchwork Tue Jan 27 08:11:29 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 5715241 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 2A54C9F302 for ; Tue, 27 Jan 2015 08:12:30 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 6B252201F5 for ; Tue, 27 Jan 2015 08:12:29 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 933CB20211 for ; Tue, 27 Jan 2015 08:12:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757583AbbA0IMV (ORCPT ); Tue, 27 Jan 2015 03:12:21 -0500 Received: from mailout1.w1.samsung.com ([210.118.77.11]:23813 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757572AbbA0IMN (ORCPT ); Tue, 27 Jan 2015 03:12:13 -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 <0NIT00JP9TN6BU70@mailout1.w1.samsung.com>; Tue, 27 Jan 2015 08:16:18 +0000 (GMT) X-AuditID: cbfec7f4-b7f126d000001e9a-ca-54c747ca622a Received: from eusync3.samsung.com ( [203.254.199.213]) by eucpsbgm1.samsung.com (EUCPMTA) with SMTP id 36.F1.07834.AC747C45; Tue, 27 Jan 2015 08:09:46 +0000 (GMT) Received: from amdc1339.digital.local ([106.116.147.30]) by eusync3.samsung.com (Oracle Communications Messaging Server 7u4-23.01 (7.0.4.23.0) 64bit (built Aug 10 2011)) with ESMTPA id <0NIT00BIXTG6OQ90@eusync3.samsung.com>; Tue, 27 Jan 2015 08:12:11 +0000 (GMT) From: Marek Szyprowski To: linux-pm@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 , Joonyoung Shim Subject: [PATCH 2/2] ARM: dts: exynos*-odroid*: add eMMC reset line Date: Tue, 27 Jan 2015 09:11:29 +0100 Message-id: <1422346289-9348-3-git-send-email-m.szyprowski@samsung.com> X-Mailer: git-send-email 1.9.2 In-reply-to: <1422346289-9348-1-git-send-email-m.szyprowski@samsung.com> References: <1422346289-9348-1-git-send-email-m.szyprowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprELMWRmVeSWpSXmKPExsVy+t/xq7qn3I+HGOz4J2ox/8g5VotH8x8z W9z41cZq8eLeRRaL/sevmS0+9x5htJhxfh+TRdfPn2wWa4/cZbc4vbvE4sP9i8wWx9eGO/B4 LPqe5bF40342j02rOtk87lzbw+bRt2UVo8fnTXIBbFFcNimpOZllqUX6dglcGY/m7GIpWMxd 8eRAN0sD4wXOLkZODgkBE4kNjevYIGwxiQv31gPZXBxCAksZJZ4d3QLl9DFJrH6ymxWkik3A UKLrbRdYh4hArMTErT/AipgFHjBJ/Ds1gxEkISzgLLH+TxeYzSKgKtH5eQoTiM0r4C5xf+I8 Joh1chL/X64AszkFPCR6bk8Fs4WAahYfnMI0gZF3ASPDKkbR1NLkguKk9FxDveLE3OLSvHS9 5PzcTYyQcPyyg3HxMatDjAIcjEo8vBMmHg0RYk0sK67MPcQowcGsJMLb5no8RIg3JbGyKrUo P76oNCe1+BAjEwenVANjVtGe43ObEgp37Hiv+dlA9tBVg3UG+iKvW6fYG8WuaraouSm22HZu x7OLDbzTHdV+7d8RpJZapChYrSZpfn/C1mIhZtkJxlxx5mUNst8V6kI8I/5dynv1ndvx8KPy d/r3jued/R1w/sUX4aRHgiavy/elLKyovPXsxNH/Z4ttVh6+sWb3u/9VSizFGYmGWsxFxYkA eV2PGiUCAAA= 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 add samsung,dw-mshc-reset-gpios property to the eMMC slot, so Exynos DW MMC driver is able to properly reset eMMC card on system restart and thus fixes hang on software reboot. Signed-off-by: Marek Szyprowski --- arch/arm/boot/dts/exynos4412-odroid-common.dtsi | 1 + arch/arm/boot/dts/exynos5422-odroidxu3.dts | 1 + 2 files changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/exynos4412-odroid-common.dtsi b/arch/arm/boot/dts/exynos4412-odroid-common.dtsi index 74e89cbfb00c..97df0ef81d1a 100644 --- a/arch/arm/boot/dts/exynos4412-odroid-common.dtsi +++ b/arch/arm/boot/dts/exynos4412-odroid-common.dtsi @@ -69,6 +69,7 @@ samsung,dw-mshc-ciu-div = <3>; samsung,dw-mshc-sdr-timing = <2 3>; samsung,dw-mshc-ddr-timing = <1 2>; + samsung,dw-mshc-reset-gpios = <&gpk1 2 1>; bus-width = <8>; cap-mmc-highspeed; }; diff --git a/arch/arm/boot/dts/exynos5422-odroidxu3.dts b/arch/arm/boot/dts/exynos5422-odroidxu3.dts index d829e220eedb..20064e36a5be 100644 --- a/arch/arm/boot/dts/exynos5422-odroidxu3.dts +++ b/arch/arm/boot/dts/exynos5422-odroidxu3.dts @@ -336,6 +336,7 @@ samsung,dw-mshc-ciu-div = <3>; samsung,dw-mshc-sdr-timing = <0 4>; samsung,dw-mshc-ddr-timing = <0 2>; + samsung,dw-mshc-reset-gpios = <&gpd1 0 0>; pinctrl-names = "default"; pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus4 &sd0_bus8>; bus-width = <8>;