From patchwork Tue Aug 16 02:36:52 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joel Fernandes X-Patchwork-Id: 110122 X-Patchwork-Delegate: s-paulraj@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 5F265B6F69 for ; Tue, 16 Aug 2011 12:37:46 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 34A322808B; Tue, 16 Aug 2011 04:37:42 +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 i904AVyWtZjs; Tue, 16 Aug 2011 04:37:42 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id EF77328084; Tue, 16 Aug 2011 04:37:39 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 3153328084 for ; Tue, 16 Aug 2011 04:37:38 +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 TqowokHjttWN for ; Tue, 16 Aug 2011 04:37:37 +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 mail-yi0-f44.google.com (mail-yi0-f44.google.com [209.85.218.44]) by theia.denx.de (Postfix) with ESMTPS id 65CF928083 for ; Tue, 16 Aug 2011 04:37:36 +0200 (CEST) Received: by yie12 with SMTP id 12so3303675yie.3 for ; Mon, 15 Aug 2011 19:37:34 -0700 (PDT) Received: by 10.236.178.9 with SMTP id e9mr15077034yhm.186.1313462254578; Mon, 15 Aug 2011 19:37:34 -0700 (PDT) Received: from localhost.localdomain (ip65-46-142-190.z142-46-65.customer.algx.net [65.46.142.190]) by mx.google.com with ESMTPS id r28sm878581yhm.52.2011.08.15.19.37.17 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 15 Aug 2011 19:37:33 -0700 (PDT) From: Joel A Fernandes To: u-boot@lists.denx.de Date: Mon, 15 Aug 2011 21:36:52 -0500 Message-Id: <1313462214-3716-1-git-send-email-agnel.joel@gmail.com> X-Mailer: git-send-email 1.7.1 Cc: Koen Kooi , Syed Mohammed Khasim , k-kooi@ti.com, jdk@ti.com Subject: [U-Boot] [PATCH 1/3] BeagleBoard: turn off clocks in ehci_stop X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.9 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de From: Koen Kooi This fixes display problems in linux Signed-off-by: Koen Kooi Signed-off-by: Joel A Fernandes --- board/ti/beagle/beagle.c | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/board/ti/beagle/beagle.c b/board/ti/beagle/beagle.c index 7768901..a958545 100644 --- a/board/ti/beagle/beagle.c +++ b/board/ti/beagle/beagle.c @@ -356,6 +356,12 @@ int ehci_hcd_stop(void) pr_debug("Resetting OMAP3 EHCI\n"); omap_set_gpio_dataout(GPIO_PHY_RESET, 0); writel(OMAP_UHH_SYSCONFIG_SOFTRESET, OMAP3_UHH_BASE + OMAP_UHH_SYSCONFIG); + /* disable USB clocks */ + struct prcm *prcm_base = (struct prcm *)PRCM_BASE; + sr32(&prcm_base->iclken_usbhost, 0, 1, 0); + sr32(&prcm_base->fclken_usbhost, 0, 2, 0); + sr32(&prcm_base->iclken3_core, 2, 1, 0); + sr32(&prcm_base->fclken3_core, 2, 1, 0); return 0; }