Skip to content

Commit 9f019fc

Browse files
Da Xuegregkh
authored andcommitted
clk: meson-g12a: add missing fclk_div2 to spicc
commit daf004f upstream. SPICC is missing fclk_div2, which means fclk_div5 and fclk_div7 indexes are wrong on this clock. This causes the spicc module to output sclk at 2.5x the expected rate when clock index 3 is picked. Adding the missing fclk_div2 resolves this. [jbrunet: amended commit description] Fixes: a18c8e0 ("clk: meson: g12a: add support for the SPICC SCLK Source clocks") Cc: stable@vger.kernel.org # 6.1 Signed-off-by: Da Xue <da@libre.computer> Reviewed-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> Link: https://lore.kernel.org/r/20250512142617.2175291-1-da@libre.computer Signed-off-by: Jerome Brunet <jbrunet@baylibre.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 1aa4144 commit 9f019fc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/clk/meson/g12a.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4099,6 +4099,7 @@ static const struct clk_parent_data spicc_sclk_parent_data[] = {
40994099
{ .hw = &g12a_clk81.hw },
41004100
{ .hw = &g12a_fclk_div4.hw },
41014101
{ .hw = &g12a_fclk_div3.hw },
4102+
{ .hw = &g12a_fclk_div2.hw },
41024103
{ .hw = &g12a_fclk_div5.hw },
41034104
{ .hw = &g12a_fclk_div7.hw },
41044105
};

0 commit comments

Comments
 (0)