Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

clk: bcm: Allow rate change propagation to PLLH_AUX on VEC clock

The VEC clock requires needs to be set at exactly 108MHz. Allow rate
change propagation on PLLH_AUX to match this requirement wihtout
impacting other IPs (PLLH is currently only used by the HDMI encoder,
which cannot be enabled when the VEC encoder is enabled).

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>

authored by

Boris Brezillon and committed by
Stephen Boyd
d86d46af 155e8b3b

+6 -1
+6 -1
drivers/clk/bcm/clk-bcm2835.c
··· 1861 1861 .ctl_reg = CM_VECCTL, 1862 1862 .div_reg = CM_VECDIV, 1863 1863 .int_bits = 4, 1864 - .frac_bits = 0), 1864 + .frac_bits = 0, 1865 + /* 1866 + * Allow rate change propagation only on PLLH_AUX which is 1867 + * assigned index 7 in the parent array. 1868 + */ 1869 + .set_rate_parent = BIT(7)), 1865 1870 1866 1871 /* dsi clocks */ 1867 1872 [BCM2835_CLOCK_DSI0E] = REGISTER_PER_CLK(