Re: [PATCH v2 1/9] mmc: meson-gx: fix setting f_min

Martin Blumenstingl
2017-02-05T01:29:17Z

On Sat, Feb 4, 2017 at 11:12 PM, Heiner Kallweit <hkallweit1@gmail.com> wrote:
[snip]
> Requesting 100kHz resulted in f_min = 0 in my tests. Same for 200kHz
> and 300 kHz. 400kHz results in f_min = 400kHz with actual rate = 380kHz.
> 380kHz = 24MHz / 63 is the lowest possible frequency on Meson anyway.
> All requested frequencies below this value seem to be rounded down to 0.
doesn't that sound more like an issue with the clock configuration
which should be investigated? the divider for example has
CLK_DIVIDER_ROUND_CLOSEST set, removing that will probably make it
round up (but I'm not sure if that would break other things).

Martin