Skip to content

Commit 976e78a

Browse files
Eugeniy Paltsevvineetgarc
authored andcommitted
ARC: [plat-axs10x] sdio: Temporary fix of sdio ciu frequency
DW sdio controller has external ciu clock divider controlled via register in SDIO IP. It divides sdio_ref_clk (which comes from CGU) by 16 for default. So default mmcclk clock (which comes to sdk_in) is 25000000 Hz. So fix wrong current value (50000000 Hz) to actual 25000000 Hz. Note this is a preventive fix, in line with similar change for HSDK where this was actually needed. see: http://lists.infradead.org/pipermail/linux-snps-arc/2017-September/002924.html Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com> Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
1 parent 6afa3bc commit 976e78a

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

arch/arc/boot/dts/axs10x_mb.dtsi

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,14 @@
4444

4545
mmcclk: mmcclk {
4646
compatible = "fixed-clock";
47-
clock-frequency = <50000000>;
47+
/*
48+
* DW sdio controller has external ciu clock divider
49+
* controlled via register in SDIO IP. It divides
50+
* sdio_ref_clk (which comes from CGU) by 16 for
51+
* default. So default mmcclk clock (which comes
52+
* to sdk_in) is 25000000 Hz.
53+
*/
54+
clock-frequency = <25000000>;
4855
#clock-cells = <0>;
4956
};
5057

0 commit comments

Comments
 (0)