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

clk: qcom: sm6125-gcc: Swap ops of ice and apps on sdcc1

Without this change eMMC runs at overclocked freq.
Swap the ops to not OC the eMMC.

Signed-off-by: Martin Botka <martin.botka@somainline.org>
Link: https://lore.kernel.org/r/20211130212015.25232-1-martin.botka@somainline.org
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Fixes: 4b8d6ae57cdf ("clk: qcom: Add SM6125 (TRINKET) GCC driver")
Signed-off-by: Stephen Boyd <sboyd@kernel.org>

authored by

Martin Botka and committed by
Stephen Boyd
e53f2086 eee377b8

+2 -2
+2 -2
drivers/clk/qcom/gcc-sm6125.c
··· 1121 1121 .name = "gcc_sdcc1_apps_clk_src", 1122 1122 .parent_data = gcc_parent_data_1, 1123 1123 .num_parents = ARRAY_SIZE(gcc_parent_data_1), 1124 - .ops = &clk_rcg2_ops, 1124 + .ops = &clk_rcg2_floor_ops, 1125 1125 }, 1126 1126 }; 1127 1127 ··· 1143 1143 .name = "gcc_sdcc1_ice_core_clk_src", 1144 1144 .parent_data = gcc_parent_data_0, 1145 1145 .num_parents = ARRAY_SIZE(gcc_parent_data_0), 1146 - .ops = &clk_rcg2_floor_ops, 1146 + .ops = &clk_rcg2_ops, 1147 1147 }, 1148 1148 }; 1149 1149