lkml.org 
[lkml]   [2015]   [Nov]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH V2] clk: imx: clk-imx6q: Let OSC to be routed to anaclk2/2b
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.


\
 
 \ /
  Last update: 2015-11-25 06:41    [W:0.073 / U:0.116 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site