On Thu, Aug 16, 2018 at 04:16:34PM +0900, Masahiro Yamada wrote:
> tmio_mmc_set_clock() is full of quirks because different SoC vendors
> extended this in different ways.
>
> The original IP defines the divisor range 1/2 ... 1/512.
>
> bit 7 is set:1/512
> bit 6 is set:1/256
>...
>
tmio_mmc_set_clock() is full of quirks because different SoC vendors
extended this in different ways.
The original IP defines the divisor range 1/2 ... 1/512.
bit 7 is set:1/512
bit 6 is set:1/256
...
bit 0 is set:1/4
all bits clear: 1/2
It is platform-dependent how to