linux-clk.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Shawn Guo <shawnguo@kernel.org>
To: Michael Trimarchi <michael@amarulasolutions.com>
Cc: kernel@pengutronix.de, mturquette@baylibre.com,
	sboyd@codeaurora.org, linux-clk@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH V2] clk: imx: clk-imx6q: Let OSC to be routed to anaclk2/2b
Date: Wed, 25 Nov 2015 13:21:22 +0800	[thread overview]
Message-ID: <20151125052122.GA22914@tiger> (raw)
In-Reply-To: <20151115103800.GB9808@panicking>

On Sun, Nov 15, 2015 at 11:38:04AM +0100, Michael Trimarchi wrote:
> OSC can be used as USB hub source clock. An example we can route to
> CLK2_P imx6 pin.
> 
> This show a usage example:
> 
> [...]
> 	usb_hub: usb-hub {
> 		compatible = "smsc,usb3503a";
> 		clocks = <&clks IMX6QDL_CLK_LVDS2_GATE>;
> 		clock-names = "refclk";
> 	};
> };
> 
> [...]
> &clks {
>         assigned-clocks = <&clks IMX6QDL_CLK_LVDS2_SEL>;
>         assigned-clock-parents = <&clks IMX6QDL_CLK_OSC>;
> };
> 
> /sys/kernel/debug/clk/clk_summary
> 
> osc                                 5            5    24000000          0 0
> [...]
>     lvds2_sel                       1            1    24000000          0 0
>        lvds2_gate                   1            1    24000000          0 0
> [...]
> 
> Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com>

Applied, thanks.

  reply	other threads:[~2015-11-25  5:21 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-08 14:07 [PATCH] clk: imx: clk-imx6q: Let OSC to be routed to anaclk2/2b Michael Trimarchi
2015-11-15 10:19 ` Michael Trimarchi
2015-11-15 10:38   ` [PATCH V2] " Michael Trimarchi
2015-11-25  5:21     ` Shawn Guo [this message]
2015-11-17  9:37 ` [PATCH] " Lucas Stach

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=20151125052122.GA22914@tiger \
    --to=shawnguo@kernel.org \
    --cc=kernel@pengutronix.de \
    --cc=linux-clk@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=michael@amarulasolutions.com \
    --cc=mturquette@baylibre.com \
    --cc=sboyd@codeaurora.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).