From patchwork Thu May 16 07:24:34 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lubomir Popov X-Patchwork-Id: 244233 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 2102F2C011A for ; Thu, 16 May 2013 17:25:18 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id C4F2B4A026; Thu, 16 May 2013 09:25:16 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Cc5AeEkhhUqI; Thu, 16 May 2013 09:25:16 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 5D5164A028; Thu, 16 May 2013 09:25:14 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 875D04A028 for ; Thu, 16 May 2013 09:25:11 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xygudXfWOnLY for ; Thu, 16 May 2013 09:25:06 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from extserv.mm-sol.com (ns.mm-sol.com [213.240.235.226]) by theia.denx.de (Postfix) with ESMTPS id 442284A026 for ; Thu, 16 May 2013 09:25:00 +0200 (CEST) Received: from intsrv.int.mm-sol.com (unknown [172.18.0.2]) by extserv.mm-sol.com (Postfix) with ESMTP id 2DDE9C64A; Thu, 16 May 2013 10:25:00 +0300 (EEST) Received: from localhost (localhost [127.0.0.1]) by intsrv.int.mm-sol.com (Postfix) with ESMTP id 1DE80D2E003; Thu, 16 May 2013 10:25:00 +0300 (EEST) X-Virus-Scanned: by amavisd-new-2.7.1 (20120429) Received: from intsrv.int.mm-sol.com ([127.0.0.1]) by localhost (mail.mm-sol.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3iV8ikiyqi_G; Thu, 16 May 2013 10:24:53 +0300 (EEST) Received: from [172.20.1.4] (unknown [172.20.1.4]) by intsrv.int.mm-sol.com (Postfix) with ESMTPS id B1E5BD2E001; Thu, 16 May 2013 10:24:53 +0300 (EEST) Message-ID: <519489B2.9030607@mm-sol.com> Date: Thu, 16 May 2013 10:24:34 +0300 From: Lubomir Popov Organization: MM Solutions AD User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130510 Thunderbird/17.0.6 MIME-Version: 1.0 To: u-boot@lists.denx.de Cc: Tom Rini Subject: [U-Boot] [PATCH] OMAP5: uEVM: Fix pinmux for USB support X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.11 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de Set mux mode to GPIO for the pads used for HSIC USB device reset. Remove useless pinmux for USBB1_HSIC - the OMAP5432 does not have this port bonded out. Signed-off-by: Lubomir Popov --- I shall again point out that this mux_data.h file comes from the sEVM board without any modification at all and has to be carefully fixed. This patch addresses the USB reset function only. board/ti/omap5_uevm/mux_data.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/board/ti/omap5_uevm/mux_data.h b/board/ti/omap5_uevm/mux_data.h index a82795d..054ada6 100644 --- a/board/ti/omap5_uevm/mux_data.h +++ b/board/ti/omap5_uevm/mux_data.h @@ -47,8 +47,7 @@ const struct pad_conf_entry core_padconf_array_essential[] = { {SDCARD_DATA3, (PTU | IEN | M0)}, /* SDCARD_DATA3*/ {UART3_RX_IRRX, (PTU | IEN | M0)}, /* UART3_RX_IRRX */ {UART3_TX_IRTX, (M0)}, /* UART3_TX_IRTX */ - {USBB1_HSIC_STROBE, (PTU | IEN | M0)}, /* USBB1_HSIC_STROBE */ - {USBB1_HSIC_DATA, (PTU | IEN | M0)}, /* USBB1_HSIC_DATA */ + {USBB2_HSIC_STROBE, (PTU | IEN | M0)}, /* USBB2_HSIC_STROBE */ {USBB2_HSIC_DATA, (PTU | IEN | M0)}, /* USBB2_HSIC_DATA */ {USBB3_HSIC_STROBE, (PTU | IEN | M0)}, /* USBB3_HSIC_STROBE*/ @@ -57,6 +56,8 @@ const struct pad_conf_entry core_padconf_array_essential[] = { {USBD0_HS_DM, (IEN | M0)}, /* USBD0_HS_DM */ {USBD0_SS_RX, (IEN | M0)}, /* USBD0_SS_RX */ + {HSI2_ACWAKE, (PTD | M6)}, /* GPIO3_79: ETH_nRST */ + {HSI2_CAFLAG, (PTD | M6)}, /* GPIO3_80: H_USBH_NRESET */ }; const struct pad_conf_entry wkup_padconf_array_essential[] = { @@ -114,8 +115,6 @@ const struct pad_conf_entry core_padconf_array_non_essential[] = { {HSI2_CAREADY, (IEN | M0)}, /* HSI2_CAREADY */ {HSI2_ACREADY, (OFF_EN | M0)}, /* HSI2_ACREADY */ {HSI2_CAWAKE, (IEN | PTD | M0)}, /* HSI2_CAWAKE */ - {HSI2_ACWAKE, (M0)}, /* HSI2_ACWAKE */ - {HSI2_CAFLAG, (IEN | PTD | M0)}, /* HSI2_CAFLAG */ {HSI2_CADATA, (IEN | PTD | M0)}, /* HSI2_CADATA */ {HSI2_ACFLAG, (M0)}, /* HSI2_ACFLAG */ {HSI2_ACDATA, (M0)}, /* HSI2_ACDATA */