summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorBoris Brezillon <boris.brezillon@free-electrons.com>2016-12-01 22:00:19 +0100
committerStephen Boyd <sboyd@codeaurora.org>2016-12-08 15:06:08 -0800
commit155e8b3b0ee320ae866b97dd31eba8a1f080a772 (patch)
tree52351bcab9d648b286485a0b11e79f1a1c1aa8fd /arch
parent68af4fa8f39b542a6cde7ac19518d88e9b3099dc (diff)
downloadlinux-155e8b3b0ee320ae866b97dd31eba8a1f080a772.tar.bz2
clk: bcm: Support rate change propagation on bcm2835 clocks
Some peripheral clocks, like the VEC (Video EnCoder) clock need to be set to a precise rate (in our case 108MHz). With the current implementation, where peripheral clocks are not allowed to forward rate change requests to their parents, it is impossible to match this requirement unless the bootloader has configured things correctly, or a specific rate has been assigned through the DT (with the assigned-clk-rates property). Add a new field to struct bcm2835_clock_data to specify which parent clocks accept rate change propagation, and support set rate propagation in bcm2835_clock_determine_rate(). Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com> Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions