OpenCloudOS-Kernel/drivers/clk/ti
Tomi Valkeinen 7d5fc85d96 clk: ti: set CLK_SET_RATE_NO_REPARENT for ti,mux-clock
When setting the rate of a clock, by default the clock framework will
change the parent of the clock to the most suitable one in
__clk_mux_determine_rate() (most suitable by looking at the clock rate).

This is a rather dangerous default, and causes problems on AM43x when
using display and ethernet. There are multiple ways to select the clock
muxes on AM43x, and some of those clock paths have the same source
clocks for display and ethernet. When changing the clock rate for the
display subsystem, the clock framework decides to change the display mux
from the dedicated display PLL to a shared PLL which is used by the
ethernet, and then changes the rate of the shared PLL, breaking the
ethernet.

As I don't think there ever is a case where we want the clock framework
to automatically change the parent clock of a clock mux, this patch sets
the CLK_SET_RATE_NO_REPARENT for all ti,mux-clocks.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Reviewed-by: Paul Walmsley <paul@pwsan.com>
Tested-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Tero Kristo <t-kristo@ti.com>
2014-06-19 14:52:32 +03:00
..
Makefile CLK: TI: Driver for DRA7 ATL (Audio Tracking Logic) 2014-05-28 13:06:54 +03:00
apll.c clk: ti: dra7: return error code in failure case 2014-06-19 14:52:31 +03:00
autoidle.c CLK: TI: add autoidle support 2014-01-17 12:34:59 -08:00
clk-2xxx.c ARM: OMAP2: clock: add DT boot support for cpufreq_ck 2014-05-28 13:05:57 +03:00
clk-3xxx.c mfd: omap-usb-host: Get clocks based on hardware revision 2014-03-13 22:23:51 +00:00
clk-7xx.c ARM: dts: dra7xx-clocks: Correct name for atl clkin3 clock 2014-05-28 13:06:50 +03:00
clk-33xx.c clk: ti: am335x: remove unecessary cpu0 clk node 2014-02-24 22:56:38 -08:00
clk-43xx.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2014-06-12 14:27:40 -07:00
clk-44xx.c CLK: TI: OMAP4/5/DRA7: Remove gpmc_fck from dummy clocks 2014-03-13 13:41:50 -07:00
clk-54xx.c CLK: TI: clk-54xx: Set the rate for dpll_abe_m2x2_ck 2014-06-06 20:33:34 +03:00
clk-dra7-atl.c CLK: TI: Driver for DRA7 ATL (Audio Tracking Logic) 2014-05-28 13:06:54 +03:00
clk.c CLK: ti: add init support for clock IP blocks 2014-01-17 12:34:52 -08:00
clockdomain.c CLK: TI: add support for clockdomain binding 2014-01-17 12:35:13 -08:00
composite.c clk: ti: add support for basic mux clock 2014-01-17 12:35:17 -08:00
divider.c clk: ti/divider: fix rate calculation for fractional rates 2014-02-26 18:23:58 -08:00
dpll.c clk: ti: am43x: Fix boot with CONFIG_SOC_AM33XX disabled 2014-06-19 14:52:31 +03:00
fixed-factor.c clk: ti: add support for TI fixed factor clock 2014-01-17 12:35:07 -08:00
gate.c Merge branch 'for-v3.16/ti-clk-drv' of github.com:t-kristo/linux-pm into clk-next 2014-06-10 16:53:25 -07:00
interface.c CLK: TI: interface: add support for omap2430 specific interface clock 2014-05-28 12:30:12 +03:00
mux.c clk: ti: set CLK_SET_RATE_NO_REPARENT for ti,mux-clock 2014-06-19 14:52:32 +03:00