summaryrefslogtreecommitdiff
path: root/cpus.h
AgeCommit message (Collapse)AuthorFilesLines
2013-06-12cpus: let it always return an unsigned int and bail out on errorDaniel Borkmann1-4/+16
In case of an error, just panic, to make sure we always get a val >= 1. Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
2013-06-04cpus: break out cpu related functions from xutilsDaniel Borkmann1-0/+16
Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
class='commit-info'> authorMaxime Ripard <maxime.ripard@free-electrons.com>2016-04-02 12:28:31 +0200 committerMaxime Ripard <maxime.ripard@free-electrons.com>2016-06-10 11:49:47 +0200 commit07ea0b4d9a0abde8d252738079a8a811c5132a94 (patch) treee881d8aefaf87c8e7e7cc37652833841feb11a42 parent4de2d58bc973caa8988b44ddd11787e57051c843 (diff)
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>
Diffstat