Re: Adding a .platform_init callback to sdhci_arasan_ops
From: Mason
Date: Mon Nov 28 2016 - 14:32:56 EST
On 28/11/2016 18:46, Doug Anderson wrote:
> As argued in my original patch the field "corecfg_baseclkfreq" is
> documented in the generic Arasan document
> <https://arasan.com/wp-content/media/eMMC-5-1-Total-Solution_Rev-1-3.pdf>
> and thus is unlikely to be Rockchip specific.
I downloaded the data sheet, which doesn't mention registers,
but "pins" and "signals". Does that mean it is up to every
platform to decide how to group these wires into individual
registers?
corecfg_baseclkfreq[7:0]
Base Clock Frequency for SD Clock.
This is the frequency of the xin_clk.
How can 8 bits encode a frequency?
Is there an implicit LUT? Is it a MHz count?
"For maximum efficiency this should be around 200 MHz for eMMC
or 208MHz (for SD3.0)"
Regards.