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

clk: qcom: gcc-ipq806x: add additional freq for sdc table

Add additional freq supported for the sdc table. The ops are changed to
the floor_ops to handle a freq request of 52kHz where we need to provide
a freq of 51.2kHz instead for stability reason.

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
Reviewed-by: Stephen Boyd <sboyd@kernel.org>
Tested-by: Jonathan McDowell <noodles@earth.li>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20220226135235.10051-11-ansuelsmth@gmail.com

authored by

Ansuel Smith and committed by
Bjorn Andersson
7e726f34 33958ad3

+2 -1
+2 -1
drivers/clk/qcom/gcc-ipq806x.c
··· 1292 1292 { 20210000, P_PLL8, 1, 1, 19 }, 1293 1293 { 24000000, P_PLL8, 4, 1, 4 }, 1294 1294 { 48000000, P_PLL8, 4, 1, 2 }, 1295 + { 51200000, P_PLL8, 1, 2, 15 }, 1295 1296 { 64000000, P_PLL8, 3, 1, 2 }, 1296 1297 { 96000000, P_PLL8, 4, 0, 0 }, 1297 1298 { 192000000, P_PLL8, 2, 0, 0 }, ··· 1326 1325 .name = "sdc1_src", 1327 1326 .parent_data = gcc_pxo_pll8, 1328 1327 .num_parents = ARRAY_SIZE(gcc_pxo_pll8), 1329 - .ops = &clk_rcg_ops, 1328 + .ops = &clk_rcg_floor_ops, 1330 1329 }, 1331 1330 } 1332 1331 };