clk: sunxi: display: Add per-clock flags
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Sat, 2 Apr 2016 10:28:31 +0000 (12:28 +0200)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Fri, 10 Jun 2016 09:49:47 +0000 (11:49 +0200)
commit07ea0b4d9a0abde8d252738079a8a811c5132a94
treee881d8aefaf87c8e7e7cc37652833841feb11a42
parent4de2d58bc973caa8988b44ddd11787e57051c843
clk: sunxi: display: Add per-clock flags

The TCON channel 0 clock that is the parent clock of our pixel clock is
expected to change its rate depending on the resolution we want to output
in our display engine.

However, since it's only a mux, the only way it can do that is by changing
its parents rate.

Allow to give flags in our display clocks description, and add the
CLK_SET_RATE_PARENT flag for the TCON channel 0 flag.

Fixes: a3b4956ee6d9 ("clk: sunxi: display: Add per-clock flags")
Acked-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
drivers/clk/sunxi/clk-sun4i-display.c
This page took 0.024676 seconds and 5 git commands to generate.