Re: [PATCH v2 13/16] mmc: meson-gx: use CCF to handle the clock phases

From: Kevin Hilman
Date: Thu Aug 24 2017 - 20:04:41 EST


Jerome Brunet <jbrunet@xxxxxxxxxxxx> writes:

> Several phases can be controlled on the meson-gx controller, the core, tx
> and rx clock phase. The tx and rx uses delays to allow for a more fine
> grained setting of the phase. To properly compute the phase using delays,
> accessing the clock rate is necessary.
>
> Instead of ad-hoc functions, use the common clock framework to set the
> clock phases (and access the clock rate while doing it).
>
> Signed-off-by: Jerome Brunet <jbrunet@xxxxxxxxxxxx>

I have to admit to not fully understanding the MMC tuning aspsects here,
but I like this approach to using the clock framework for handling the
extra clocks.

Acked-by: Kevin Hilman <khilman@xxxxxxxxxxxx>