linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: richard.zhao@freescale.com (Richard Zhao)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v7 5/6] clk: mxs: clk_register_clkdev mx28 usb clocks
Date: Thu, 12 Jul 2012 10:25:26 +0800	[thread overview]
Message-ID: <1342059927-25661-6-git-send-email-richard.zhao@freescale.com> (raw)
In-Reply-To: <1342059927-25661-1-git-send-email-richard.zhao@freescale.com>

Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
Tested-by: Subodh Nijsure <snijsure@grid-net.com>
---
 drivers/clk/mxs/clk-imx28.c |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/drivers/clk/mxs/clk-imx28.c b/drivers/clk/mxs/clk-imx28.c
index 7fad6c8..a3bb644 100644
--- a/drivers/clk/mxs/clk-imx28.c
+++ b/drivers/clk/mxs/clk-imx28.c
@@ -328,6 +328,10 @@ int __init mx28_clocks_init(void)
 	clk_register_clkdevs(clks[fec], fec_lookups, ARRAY_SIZE(fec_lookups));
 	clk_register_clkdevs(clks[can0], can0_lookups, ARRAY_SIZE(can0_lookups));
 	clk_register_clkdevs(clks[can1], can1_lookups, ARRAY_SIZE(can1_lookups));
+	clk_register_clkdev(clks[usb0_pwr], NULL, "8007c000.usbphy");
+	clk_register_clkdev(clks[usb1_pwr], NULL, "8007e000.usbphy");
+	clk_register_clkdev(clks[usb0], NULL, "80080000.usb");
+	clk_register_clkdev(clks[usb1], NULL, "80090000.usb");
 
 	for (i = 0; i < ARRAY_SIZE(clks_init_on); i++)
 		clk_prepare_enable(clks[clks_init_on[i]]);
-- 
1.7.9.5

  parent reply	other threads:[~2012-07-12  2:25 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-12  2:25 [PATCH v7 0/6] imx28/imx6q: add usb support Richard Zhao
2012-07-12  2:25 ` [PATCH v7 1/6] ARM: imx6q: add usb controller clock lookups Richard Zhao
2012-07-12  2:25 ` [PATCH v7 2/6] ARM: imx6q: add usbphy clocks Richard Zhao
2012-07-12  2:25 ` [PATCH v7 3/6] ARM: imx6q: disable usb charger detector Richard Zhao
2012-07-12  2:25 ` [PATCH v7 4/6] ARM: dts: imx6q-sabrelite: add usb devices Richard Zhao
2012-07-12  6:21   ` [PATCH v8] " Richard Zhao
2012-07-12  2:25 ` Richard Zhao [this message]
2012-07-12  2:25 ` [PATCH v7 6/6] ARM: dts: imx28-evk: " Richard Zhao
2012-07-12  7:02 ` [PATCH v7 0/6] imx28/imx6q: add usb support Shawn Guo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1342059927-25661-6-git-send-email-richard.zhao@freescale.com \
    --to=richard.zhao@freescale.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).