From patchwork Wed Dec 1 19:32:28 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Victor Rodriguez X-Patchwork-Id: 372381 Received: from devils.ext.ti.com (devils.ext.ti.com [198.47.26.153]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id oB1JaQ8a006136 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 1 Dec 2010 19:36:54 GMT Received: from dlep33.itg.ti.com ([157.170.170.112]) by devils.ext.ti.com (8.13.7/8.13.7) with ESMTP id oB1JYx0n013744 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 1 Dec 2010 13:34:59 -0600 Received: from linux.omap.com (localhost [127.0.0.1]) by dlep33.itg.ti.com (8.13.7/8.13.7) with ESMTP id oB1JYw0U020971; Wed, 1 Dec 2010 13:34:58 -0600 (CST) Received: from linux.omap.com (localhost [127.0.0.1]) by linux.omap.com (Postfix) with ESMTP id 13D448062B; Wed, 1 Dec 2010 13:34:56 -0600 (CST) X-Original-To: davinci-linux-open-source@linux.davincidsp.com Delivered-To: davinci-linux-open-source@linux.davincidsp.com Received: from dflp53.itg.ti.com (dflp53.itg.ti.com [128.247.5.6]) by linux.omap.com (Postfix) with ESMTP id 0444180628 for ; Wed, 1 Dec 2010 13:34:01 -0600 (CST) Received: from neches.ext.ti.com (localhost [127.0.0.1]) by dflp53.itg.ti.com (8.13.8/8.13.8) with ESMTP id oB1JY0Wg002422 for ; Wed, 1 Dec 2010 13:34:00 -0600 (CST) Received: from psmtp.com (na3sys009amx224.postini.com [74.125.149.64]) by neches.ext.ti.com (8.13.7/8.13.7) with SMTP id oB1JY0mV002926 for ; Wed, 1 Dec 2010 13:34:00 -0600 Received: from source ([74.125.83.45]) by na3sys009amx224.postini.com ([74.125.148.10]) with SMTP; Wed, 01 Dec 2010 13:34:00 CST Received: by gwj23 with SMTP id 23so1762395gwj.4 for ; Wed, 01 Dec 2010 11:33:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:date :message-id:x-mailer:in-reply-to:references; bh=KxPPvj1A/i1OWJjIhmzmWwEhW+qVO/2SCrf7bTlKCGk=; b=EStJAGZqf1iJhb3Zn+XfJIZ9ZwkDFw0K60dK/3fHlg5aUaC7oQxcx6QzfexnRw3Qk9 4OTP8BXNtx2C7X1gKtNr2ftnKdmrZwDsj+Vv1qkU67ISNOSA7DlkeZpbUQBR23wWmQ/S Vn5Ic2thbpqjxYsLzuJA+ztKW4i7jVMchUC5M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; b=jMn0OcWEzWC6/6urNoxv53vA3kkTlZP57D7bZVV4MMr443/ZT008aoN8bgbpm8hHet vjBQTZFDefFZxMzlKhEcDHpIWHvuA81XwoW+W7+VY9cts0kicBeaM2f7wQTa2HWcSt2w 4a5e8v2y+zTGEgAs6sJgZAXC3p4/jh5SQ3WB4= Received: by 10.90.88.13 with SMTP id l13mr2128862agb.158.1291232039665; Wed, 01 Dec 2010 11:33:59 -0800 (PST) Received: from localhost.localdomain ([200.52.114.70]) by mx.google.com with ESMTPS id t39sm307591ano.7.2010.12.01.11.33.52 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 01 Dec 2010 11:33:59 -0800 (PST) From: To: davinci-linux-open-source@linux.davincidsp.com Subject: [PATCH v9 5/6] davinci: USB clocks for Omapl138-Hawkboard Date: Wed, 1 Dec 2010 13:32:28 -0600 Message-Id: <1291231949-23835-6-git-send-email-vm.rod25@gmail.com> X-Mailer: git-send-email 1.7.0.4 In-Reply-To: <1291231949-23835-1-git-send-email-vm.rod25@gmail.com> References: <1291231949-23835-1-git-send-email-vm.rod25@gmail.com> X-pstn-neptune: 1/1/1.00/91 X-pstn-levels: (S:53.99378/99.90000 CV:99.9000 FC:95.5390 LC:95.5390 R:95.9108 P:95.9108 M:97.0282 C:98.6951 ) X-pstn-settings: 2 (0.5000:0.0750) s cv GT3 gt2 gt1 r p m c X-pstn-addresses: from [db-null] Cc: Russell King , Victor Rodriguez , linux-arm-kernel@lists.infradead.org X-BeenThere: davinci-linux-open-source@linux.davincidsp.com X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: davinci-linux-open-source-bounces@linux.davincidsp.com Errors-To: davinci-linux-open-source-bounces@linux.davincidsp.com X-Greylist: Sender succeeded STARTTLS authentication, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Wed, 01 Dec 2010 19:36:54 +0000 (UTC) diff --git a/arch/arm/mach-davinci/da850.c b/arch/arm/mach-davinci/da850.c index 80803fa..93a4df4 100644 --- a/arch/arm/mach-davinci/da850.c +++ b/arch/arm/mach-davinci/da850.c @@ -345,6 +345,20 @@ static struct clk aemif_clk = { .flags = ALWAYS_ENABLED, }; +static struct clk usb11_clk = { + .name = "usb11", + .parent = &pll0_sysclk4, + .lpsc = DA8XX_LPSC1_USB11, + .gpsc = 1, +}; + +static struct clk usb20_clk = { + .name = "usb20", + .parent = &pll0_sysclk2, + .lpsc = DA8XX_LPSC1_USB20, + .gpsc = 1, +}; + static struct clk_lookup da850_clks[] = { CLK(NULL, "ref", &ref_clk), CLK(NULL, "pll0", &pll0_clk), @@ -387,6 +401,8 @@ static struct clk_lookup da850_clks[] = { CLK("davinci_mmc.0", NULL, &mmcsd0_clk), CLK("davinci_mmc.1", NULL, &mmcsd1_clk), CLK(NULL, "aemif", &aemif_clk), + CLK(NULL, "usb11", &usb11_clk), + CLK(NULL, "usb20", &usb20_clk), CLK(NULL, NULL, NULL), };