]> git.baikalelectronics.ru Git - kernel.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)
commit1491c39b0aa98effebabbd50aa596df673f66f39
treed18c9627729a174e81fcdf362bc4b1766307e762
parentf90f94e106d1ab60185f48252714f4576f6d24df
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