From patchwork Mon Nov 18 14:49:27 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 3197001 Return-Path: X-Original-To: patchwork-linux-arm@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 828F29F3AE for ; Mon, 18 Nov 2013 14:50:06 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id B0BFE20379 for ; Mon, 18 Nov 2013 14:50:01 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 7618A20179 for ; Mon, 18 Nov 2013 14:50:00 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ViQ9D-0003eq-A7; Mon, 18 Nov 2013 14:49:55 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1ViQ9B-0004qh-19; Mon, 18 Nov 2013 14:49:53 +0000 Received: from mail-vc0-x231.google.com ([2607:f8b0:400c:c03::231]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ViQ98-0004qN-6Z for linux-arm-kernel@lists.infradead.org; Mon, 18 Nov 2013 14:49:50 +0000 Received: by mail-vc0-f177.google.com with SMTP id hv10so705875vcb.8 for ; Mon, 18 Nov 2013 06:49:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:cc:content-type; bh=GOboDsvORVOAlmRPKGJi8Lb3mwfzNNQFbb4hLvzr7CQ=; b=JpleROlGGGlDmqldxRHOSN7qnNtsKuu3I75JhSOVEgjDnsMW35jq0tBGoJPbUkMGPf TJYh5TI/MfKW+gY8++CGvEZ6gj47qlDHEn/bgzDEQUyXZa5Dioo8mSrrqkAW67Q0N6xD h5HtCel8DaacMMuyvRghHMhCuybXNj+EVzmU4qFSNoq/KWL1dpteKCbjhLJC9FqwkWk5 0u3D6DPErL1XThXHbyObLfcQhMXxJvKaYlTw7u+CUAakea1i2gb3Nnm5VHrlETmvBrd6 +NVXZhEHew71n/XoyKOUfuQfPbPCKDU9bLMOQcZbeHDKom4XPqfJSdW+Fjx4+3Nc0Y2F ph5A== MIME-Version: 1.0 X-Received: by 10.52.32.66 with SMTP id g2mr13805977vdi.14.1384786167607; Mon, 18 Nov 2013 06:49:27 -0800 (PST) Received: by 10.58.231.41 with HTTP; Mon, 18 Nov 2013 06:49:27 -0800 (PST) Date: Mon, 18 Nov 2013 12:49:27 -0200 Message-ID: Subject: mx6qsabresd: Adding eMMC suport From: Fabio Estevam To: Dong Aisheng X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20131118_094950_279994_04E0D3E3 X-CRM114-Status: UNSURE ( 8.01 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.0 (--) Cc: Shawn Guo , "linux-arm-kernel@lists.infradead.org" X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.6 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, T_DKIM_INVALID, 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 Hi, When I add support to esdhc4 port, which is connected to a eMMC on mx6qsabresd: I get the following: mmc2: Timeout waiting for hardware interrupt. mmcblk1boot1: unknown partition table mmc2: Timeout waiting for hardware interrupt. mmcblk1boot0: unknown partition table The boots proceeds until the end, but there is a big delay due to the above messages. Does anything special need to be done in order to support eMMC? Regards, Fabio Estevam --- a/arch/arm/boot/dts/imx6qdl-sabresd.dtsi +++ b/arch/arm/boot/dts/imx6qdl-sabresd.dtsi @@ -229,6 +229,10 @@ pinctrl_usdhc3: usdhc3grp { fsl,pins = ; }; + + pinctrl_usdhc4: usdhc4grp { + fsl,pins = ; + }; }; }; @@ -304,3 +308,11 @@ wp-gpios = <&gpio2 1 0>; status = "okay"; }; + +&usdhc4 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_usdhc4>; + bus-width = <8>; + non-removable; + status = "okay"; +};