diff options
| author | Andre Przywara <[email protected]> | 2025-02-26 11:37:11 +0000 |
|---|---|---|
| committer | Andre Przywara <[email protected]> | 2025-03-27 00:26:35 +0000 |
| commit | 46c291e14779d83cb216c9177cf7bb327005382b (patch) | |
| tree | 30d9094bd93816813661749537788a93895f1b68 /scripts | |
| parent | c0c122bfa1621a1fe18631145f08039cb9a19341 (diff) | |
sunxi: mmc: Fix T113-s3 MMC clock divider
On the Allwinner D1/R528/T113-s3 SoCs the MMC clock source selected by
mux value 1 is PLL_PERIPH0(1x), not (2x), as in the other SoCs.
But we have still the hidden divisor of 2 in the MMC mod clock, so
need to explicitly compensate for that on those SoCs.
This leads to the actually programmed clock rate to be double compared
to before, which increases the MMC performance on those SoCs.
Signed-off-by: Andre Przywara <[email protected]>
Reported-by: Kuba SzczodrzyĆski <[email protected]>
Reviewed-by: Jernej Skrabec <[email protected]>
Reviewed-by: Peng Fan <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
