linux_dsm_epyc7002/drivers/clk/imx
Michael Trimarchi 2e133f6188 clk: imx: clk-imx6q: Let OSC to be routed to anaclk2/2b
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>
Reviewed-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2015-11-25 13:20:18 +08:00
..
clk-busy.c
clk-cpu.c clk: imx: clk-cpu: Include "clk.h" header file 2015-06-03 14:49:34 +08:00
clk-fixup-div.c
clk-fixup-mux.c
clk-gate2.c
clk-gate-exclusive.c
clk-imx1.c clk: i.MX: Remove clk.h include 2015-07-20 10:52:49 -07:00
clk-imx6q.c clk: imx: clk-imx6q: Let OSC to be routed to anaclk2/2b 2015-11-25 13:20:18 +08:00
clk-imx6sl.c clk: imx6: Add SPDIF_GCLK clock in clock tree 2015-10-12 21:55:59 +08:00
clk-imx6sx.c clk: imx6: Add SPDIF_GCLK clock in clock tree 2015-10-12 21:55:59 +08:00
clk-imx6ul.c clk: imx: increase AXI clock rate to 264MHz for i.MX6UL 2015-09-17 08:52:17 +08:00
clk-imx7d.c clk: imx7d: add ADC root clock 2015-10-09 11:01:50 +08:00
clk-imx21.c clk: i.MX: Remove clk.h include 2015-07-20 10:52:49 -07:00
clk-imx25.c clk: imx25: Remove osc clock from driver 2015-11-25 11:49:42 +08:00
clk-imx27.c clk: imx27: add missing of_node_put 2015-10-21 16:16:34 -07:00
clk-imx31.c clk: imx31: add missing of_node_put 2015-10-21 16:16:34 -07:00
clk-imx35.c clk: imx35: retain early UART clocks during kernel init 2015-09-25 21:58:56 -07:00
clk-imx51-imx53.c clk: imx5: retain early UART clocks during kernel init 2015-09-25 21:58:59 -07:00
clk-pfd.c clk: i.MX: Remove clk.h include 2015-07-20 10:52:49 -07:00
clk-pllv1.c clk: i.MX: Remove clk.h include 2015-07-20 10:52:49 -07:00
clk-pllv2.c clk: imx: use sign_extend32() and abs() 2015-10-01 16:40:01 -07:00
clk-pllv3.c clk: imx: add 'is_prepared' clk_ops callback for pllv3 clk 2015-11-25 11:50:46 +08:00
clk-vf610.c clk: clk-vf610: Add clock for Vybrid OCOTP controller 2015-09-22 18:02:40 -07:00
clk.c clk: imx: add common logic to detect early UART usage 2015-09-25 21:58:41 -07:00
clk.h clk: imx: add common logic to detect early UART usage 2015-09-25 21:58:41 -07:00
Makefile clk: imx: add imx6ul clk tree support 2015-07-14 15:02:13 +08:00