From patchwork Wed Dec 14 12:21:25 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Govindraj X-Patchwork-Id: 131365 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 4C2EBB6F9C for ; Wed, 14 Dec 2011 23:22:48 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id EAC42284B6; Wed, 14 Dec 2011 13:22:27 +0100 (CET) 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 aRKd4OjM-FwG; Wed, 14 Dec 2011 13:22:27 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id D9D65284CD; Wed, 14 Dec 2011 13:22:20 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id EE73028492 for ; Wed, 14 Dec 2011 13:22:11 +0100 (CET) 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 2p4I7SzZ+HsE for ; Wed, 14 Dec 2011 13:22:11 +0100 (CET) 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-yx0-f172.google.com (mail-yx0-f172.google.com [209.85.213.172]) by theia.denx.de (Postfix) with ESMTPS id 2A30128483 for ; Wed, 14 Dec 2011 13:22:07 +0100 (CET) Received: by mail-yx0-f172.google.com with SMTP id m7so543069yen.3 for ; Wed, 14 Dec 2011 04:22:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; bh=MVracxli5uMIW+buXfOC3hrvG/iC1Loo1kdptF+0I60=; b=XcmgL+nk3jgG/4hsENJYSRGqeEKiIyYEhu0ayCbc3Dgx4PhKTo4THHPmcM44Rgu2mY 0M8hUVKqFr87TFPbs2666nIiybVs3OPrv7bO9iAHdZMLTMpdtMddphuKH/zK/8fcwLw4 X/WuQBObHzvE3vuxCVUBxOmgWBexkODRnI1BI= Received: by 10.236.190.97 with SMTP id d61mr11691726yhn.40.1323865326896; Wed, 14 Dec 2011 04:22:06 -0800 (PST) Received: from localhost.localdomain (dragon.ti.com. [192.94.94.33]) by mx.google.com with ESMTPS id f47sm3679354yhh.8.2011.12.14.04.22.03 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 14 Dec 2011 04:22:06 -0800 (PST) From: "Govindraj.R" To: u-boot@lists.denx.de Date: Wed, 14 Dec 2011 17:51:25 +0530 Message-Id: <1323865287-16601-5-git-send-email-govindraj.raja@ti.com> X-Mailer: git-send-email 1.7.5.4 In-Reply-To: <1323865287-16601-1-git-send-email-govindraj.raja@ti.com> References: <1323865287-16601-1-git-send-email-govindraj.raja@ti.com> Cc: Andy Green , Partha Basak , Govindraj R Subject: [U-Boot] [PATCH 4/6] OMAP4: clocks: enable usb host clocks by default. 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: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de From: "Govindraj.R" Enable usb related clocks by default. On omap4 panda ethernet port and 2 usb downstream ports are available through a hub can be used at u-boot if usb host clocks are enabled. Signed-off-by: Govindraj.R --- arch/arm/cpu/armv7/omap4/clocks.c | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/arch/arm/cpu/armv7/omap4/clocks.c b/arch/arm/cpu/armv7/omap4/clocks.c index 0886f92..12e283a 100644 --- a/arch/arm/cpu/armv7/omap4/clocks.c +++ b/arch/arm/cpu/armv7/omap4/clocks.c @@ -342,6 +342,9 @@ void enable_basic_clocks(void) &prcm->cm_l4per_gpio4_clkctrl, &prcm->cm_l4per_gpio5_clkctrl, &prcm->cm_l4per_gpio6_clkctrl, + &prcm->cm_l3init_usbphy_clkctrl, + &prcm->cm_clksel_usb_60mhz, + &prcm->cm_l3init_hsusbtll_clkctrl, 0 }; @@ -352,6 +355,8 @@ void enable_basic_clocks(void) &prcm->cm_l4per_gptimer2_clkctrl, &prcm->cm_wkup_wdtimer2_clkctrl, &prcm->cm_l4per_uart3_clkctrl, + &prcm->cm_l3init_fsusb_clkctrl, + &prcm->cm_l3init_hsusbhost_clkctrl, 0 };