From patchwork Wed Sep 30 17:37:01 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anand Gadiyar X-Patchwork-Id: 50730 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n8UHb8A9007431 for ; Wed, 30 Sep 2009 17:37:08 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754735AbZI3RhD (ORCPT ); Wed, 30 Sep 2009 13:37:03 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754344AbZI3RhD (ORCPT ); Wed, 30 Sep 2009 13:37:03 -0400 Received: from bear.ext.ti.com ([192.94.94.41]:46206 "EHLO bear.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754480AbZI3RhC (ORCPT ); Wed, 30 Sep 2009 13:37:02 -0400 Received: from dbdp31.itg.ti.com ([172.24.170.98]) by bear.ext.ti.com (8.13.7/8.13.7) with ESMTP id n8UHb38h015975 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 30 Sep 2009 12:37:06 -0500 Received: from linfarm476.india.ti.com (localhost [127.0.0.1]) by dbdp31.itg.ti.com (8.13.8/8.13.8) with ESMTP id n8UHb2sO004348; Wed, 30 Sep 2009 23:07:03 +0530 (IST) Received: from linfarm476.india.ti.com (localhost [127.0.0.1]) by linfarm476.india.ti.com (8.12.11/8.12.11) with ESMTP id n8UHb2ou029517; Wed, 30 Sep 2009 23:07:02 +0530 Received: (from a0393673@localhost) by linfarm476.india.ti.com (8.12.11/8.12.11/Submit) id n8UHb1R0029515; Wed, 30 Sep 2009 23:07:01 +0530 From: Anand Gadiyar To: linux-omap@vger.kernel.org Cc: Anand Gadiyar Subject: [PATCH] omap3: ehci: remove DPLL5 programming Date: Wed, 30 Sep 2009 23:07:01 +0530 Message-Id: <1254332221-29490-1-git-send-email-gadiyar@ti.com> X-Mailer: git-send-email 1.5.5 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org diff --git a/drivers/usb/host/ehci-omap.c b/drivers/usb/host/ehci-omap.c index f2771cf..7efc2f5 100644 --- a/drivers/usb/host/ehci-omap.c +++ b/drivers/usb/host/ehci-omap.c @@ -225,8 +225,6 @@ static void omap_usb_utmi_init(struct ehci_hcd_omap *omap, u8 tll_channel_mask) /*-------------------------------------------------------------------------*/ -#include "../../../arch/arm/mach-omap2/cm-regbits-34xx.h" - /* omap_start_ehc * - Start the TI USBHOST controller */ @@ -239,29 +237,6 @@ static int omap_start_ehc(struct ehci_hcd_omap *omap, struct usb_hcd *hcd) dev_dbg(omap->dev, "starting TI EHCI USB Controller\n"); - /* Start DPLL5 Programming: - * Clock Framework is not doing this now: - * This will be done in clock framework later - */ - /* Enable DPLL 5 : Based on Input of 13Mhz*/ - cm_write_mod_reg((12 << OMAP3430ES2_PERIPH2_DPLL_DIV_SHIFT)| - (120 << OMAP3430ES2_PERIPH2_DPLL_MULT_SHIFT), - PLL_MOD, OMAP3430ES2_CM_CLKSEL4); - - cm_write_mod_reg(1 << OMAP3430ES2_DIV_120M_SHIFT, - PLL_MOD, OMAP3430ES2_CM_CLKSEL5); - - cm_write_mod_reg((7 << OMAP3430ES2_PERIPH2_DPLL_FREQSEL_SHIFT) | - (7 << OMAP3430ES2_EN_PERIPH2_DPLL_SHIFT), - PLL_MOD, OMAP3430ES2_CM_CLKEN2); - - while (!(cm_read_mod_reg(PLL_MOD, CM_IDLEST2) & - OMAP3430ES2_ST_PERIPH2_CLK_MASK)) - dev_dbg(omap->dev, "idlest2 = 0x%x\n", - cm_read_mod_reg(PLL_MOD, CM_IDLEST2)); - /* End DPLL5 programming */ - - /* Enable Clocks for USBHOST */ omap->usbhost_ick = clk_get(omap->dev, "usbhost_ick"); if (IS_ERR(omap->usbhost_ick)) {