From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 03666C433DF for ; Mon, 20 Jul 2020 03:28:17 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id C3473207DF for ; Mon, 20 Jul 2020 03:28:16 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="sNyeoCUV"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="mnUbnuNe" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C3473207DF Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=6TEBjjcjyTiuU9bkGVs5K+xSf4c3VAot6kXTRWZSHc4=; b=sNyeoCUVyNZ5OVr0wPVlkLL4r jp6CBmAQ1okm5YhjSGJ8h9UD5kLruVtEfvYKaQam0tvSNxm9b2qsSIk0lBqL/2l5wCBDWnKK+9QrM Vof5xWLQix1o+2m4BVeDDo8vXhD7a1XuSGVBM67w58uvu0r75ODwaxY535fCNxFQUJ7SJ/V4lC5dd SFssbJzZjgv2TtF4NBpzZ0QOq27mk+LSSiKhghT6l8liXnXZBPmLa7ic/uJg1l/FxSLz1MHEHBK8R 7pQpIifLMnMGubnwsXOJbnpAdPWrc+9HNlnXeT9UXKFahYryUBeZuO9Kbk12X6kA374mrf1Xo0YOm wN+AhSV7g==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jxMRx-0002Ix-0q; Mon, 20 Jul 2020 03:26:45 +0000 Received: from mail.kernel.org ([198.145.29.99]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jxMRu-0002I3-4t for linux-arm-kernel@lists.infradead.org; Mon, 20 Jul 2020 03:26:43 +0000 Received: from dragon (80.251.214.228.16clouds.com [80.251.214.228]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 7980D20734; Mon, 20 Jul 2020 03:26:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1595215601; bh=3vn9rZSLTQj5C4sEUB9yrej0wTjYfvGDXM+nwjtSmXk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=mnUbnuNe9lZEbr3a54uN4kl8oF1XTayMmqC4vBHEZjHyJud1deBdGMcF7P8sKLPo6 C6pxbT4nsrdZ+vFOnZ9822OgeLwmeiWSR1H3N2ER4f6/zPtPt5hj48it3LpyAFGTsl BiMPFtFikv8wWTONPzn5BQwvUHvHteWjgTnzv90w= Date: Mon, 20 Jul 2020 11:26:32 +0800 From: Shawn Guo To: Suniel Mahesh Subject: Re: [PATCH v3] ARM: dts: imx6qdl-icore: Fix OTG_ID pin and sdcard detect Message-ID: <20200720032632.GM11560@dragon> References: <20200711135925.GG21277@dragon> <1594973032-29671-1-git-send-email-sunil@amarulasolutions.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1594973032-29671-1-git-send-email-sunil@amarulasolutions.com> User-Agent: Mutt/1.9.4 (2018-02-28) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200719_232642_351974_FB1B8798 X-CRM114-Status: GOOD ( 12.70 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: sashal@kernel.org, devicetree@vger.kernel.org, gregkh@linuxfoundation.org, s.hauer@pengutronix.de, linux-kernel@vger.kernel.org, stable@vger.kernel.org, robh+dt@kernel.org, linux-imx@nxp.com, kernel@pengutronix.de, Michael Trimarchi , festevam@gmail.com, linux-amarula@amarulasolutions.com, linux-arm-kernel@lists.infradead.org, jagan@amarulasolutions.com Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Fri, Jul 17, 2020 at 01:33:52PM +0530, Suniel Mahesh wrote: > From: Michael Trimarchi > > The current pin muxing scheme muxes GPIO_1 pad for USB_OTG_ID > because of which when card is inserted, usb otg is enumerated > and the card is never detected. > > [ 64.492645] cfg80211: failed to load regulatory.db > [ 64.492657] imx-sdma 20ec000.sdma: external firmware not found, using ROM firmware > [ 76.343711] ci_hdrc ci_hdrc.0: EHCI Host Controller > [ 76.349742] ci_hdrc ci_hdrc.0: new USB bus registered, assigned bus number 2 > [ 76.388862] ci_hdrc ci_hdrc.0: USB 2.0 started, EHCI 1.00 > [ 76.396650] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.08 > [ 76.405412] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 > [ 76.412763] usb usb2: Product: EHCI Host Controller > [ 76.417666] usb usb2: Manufacturer: Linux 5.8.0-rc1-next-20200618 ehci_hcd > [ 76.424623] usb usb2: SerialNumber: ci_hdrc.0 > [ 76.431755] hub 2-0:1.0: USB hub found > [ 76.435862] hub 2-0:1.0: 1 port detected > > The TRM mentions GPIO_1 pad should be muxed/assigned for card detect > and ENET_RX_ER pad for USB_OTG_ID for proper operation. > > This patch fixes pin muxing as per TRM and is tested on a > i.Core 1.5 MX6 DL SOM. > > [ 22.449165] mmc0: host does not support reading read-only switch, assuming write-enable > [ 22.459992] mmc0: new high speed SDHC card at address 0001 > [ 22.469725] mmcblk0: mmc0:0001 EB1QT 29.8 GiB > [ 22.478856] mmcblk0: p1 p2 > > Fixes: 6df11287f7c9 ("ARM: dts: imx6q: Add Engicam i.CoreM6 Quad/Dual initial support") > Cc: stable@vger.kernel.org > Signed-off-by: Michael Trimarchi > Signed-off-by: Suniel Mahesh Applied, thanks. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel