summaryrefslogtreecommitdiff
path: root/rust/helpers/helpers.c
diff options
context:
space:
mode:
authorAndre Przywara <andre.przywara@arm.com>2025-05-01 15:06:31 +0300
committerChen-Yu Tsai <wens@csie.org>2025-05-13 19:40:13 +0300
commit98e6da673cc6dd46ca9a599802bd2c8f83606710 (patch)
treea3dc320ead144000f66b3849f40f697e660dc352 /rust/helpers/helpers.c
parent4a9c3c3215491f25bc66d615faa921c814b1a479 (diff)
downloadlinux-98e6da673cc6dd46ca9a599802bd2c8f83606710.tar.xz
clk: sunxi-ng: d1: Add missing divider for MMC mod clocks
The D1/R528/T113 SoCs have a hidden divider of 2 in the MMC mod clocks, just as other recent SoCs. So far we did not describe that, which led to the resulting MMC clock rate to be only half of its intended value. Use a macro that allows to describe a fixed post-divider, to compensate for that divisor. This brings the MMC performance on those SoCs to its expected level, so about 23 MB/s for SD cards, instead of the 11 MB/s measured so far. Fixes: 35b97bb94111 ("clk: sunxi-ng: Add support for the D1 SoC clocks") Reported-by: Kuba SzczodrzyƄski <kuba@szczodrzynski.pl> Signed-off-by: Andre Przywara <andre.przywara@arm.com> Link: https://patch.msgid.link/20250501120631.837186-1-andre.przywara@arm.com Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions