]> git.baikalelectronics.ru Git - kernel.git/commit
clk: zte: set CLK_SET_RATE_PARENT for a few zx296718 clocks
authorShawn Guo <shawn.guo@linaro.org>
Tue, 21 Mar 2017 08:38:21 +0000 (16:38 +0800)
committerMichael Turquette <mturquette@baylibre.com>
Wed, 12 Apr 2017 16:51:29 +0000 (18:51 +0200)
commited22aa026ee01a32598c51907795aa3d9b885117
treea10c8e3f63c2d2b96f83cace96496b095ac1cae1
parent55628b37f25819b281687142e211671450c984ed
clk: zte: set CLK_SET_RATE_PARENT for a few zx296718 clocks

To support VOU VGA display driver with different modes, we need to set
flag for a few clocks, so that clk_set_rate() call in VOU driver can get
VGA device desired pixel rate.

While at it, the divider between pll_vga and clk_vga gets corrected, as
it's 1:1 instead of 1:2.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Reviewed-by: Jun Nie <jun.nie@linaro.org>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Michael Turquette <mturquette@baylibre.com>
drivers/clk/zte/clk-zx296718.c