]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
clk: rockchip: associate SCLK_MAC_PLL and disable reparenting on rk3036
authorHeiko Stuebner <heiko@sntech.de>
Mon, 14 Mar 2016 08:01:59 +0000 (16:01 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 Mar 2016 23:28:02 +0000 (19:28 -0400)
commit2c6fae2501d87ca94b5249df38797f02d4e39add
treed18c9627729a174e81fcdf362bc4b1766307e762
parentf7e180222b973a0b363564b281a314276cb2b594
clk: rockchip: associate SCLK_MAC_PLL and disable reparenting on rk3036

The emac needs constant and very specific rate but the possible PLL-sources
are very limited, so we expect the PLL source to be set manually on per
board and don't want it to get changed in an automatic way later.
So add the necessary clock-id and disable reparenting on set_rate calls.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Cc: Michael Turquette <mturquette@baylibre.com>
Cc: Heiko Stuebner <heiko@sntech.de>
Cc: Stephen Boyd <sboyd@codeaurora.org>
Cc: linux-clk@vger.kernel.org
Signed-off-by: Caesar Wang <wxt@rock-chips.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/clk/rockchip/clk-rk3036.c