Re: [PATCH v2 00/16] mmc: meson-gx: driver fixups and upgrades
From: Jerome Brunet
Date: Tue Aug 22 2017 - 07:46:44 EST
On Tue, 2017-08-22 at 13:15 +0200, Ulf Hansson wrote:
> On 21 August 2017 at 18:02, Jerome Brunet <jbrunet@xxxxxxxxxxxx> wrote:
> > The patchset features several bugfixes, rework and upgrade for the
> > meson-gx MMC driver.
> >
> > The main goal is to improve readability and enable new high speed
> > modes, such as eMMC DDR52 and sdcard UHS modes up to SDR50 (100Mhz)
> >
> > SDR104 is not working with a few cards on the p200 and the
> > libretech-cc. I suspect that 200Mhz might be a bit too fast for the PCB
> > of these boards, adding noise to the signal and eventually breaking
> > the communication with some cards. The same cards are working well on a
> > laptop or the nanopi-k2 at 200Mhz.
> >
> > This series has been tested on gxbb-p200, gxbb-nanopi-k2 and
> > gxl-s905x-libretech-cc
> >
> > Changes since v1 [0]:
> > * Reorder patches to have fixes first, then rework and finally
> > Â enhancements.
> > * Use CCF to manage clock phases
> >
> > [0]: https://lkml.kernel.org/r/20170804174353.16486-1-jbrunet@xxxxxxxxxxxx
> >
> > Jerome Brunet (16):
> > Â mmc: meson-gx: fix mux mask definition
> > Â mmc: meson-gx: remove CLK_DIVIDER_ALLOW_ZERO clock flag
> > Â mmc: meson-gx: clean up some constants
> > Â mmc: meson-gx: use _irqsave variant of spinlock
> > Â mmc: meson-gx: cfg init overwrite values
> > Â mmc: meson-gx: rework set_ios function
> > Â mmc: meson-gx: rework clk_set function
> > Â mmc: meson-gx: rework clock init function
> > Â mmc: meson-gx: fix dual data rate mode frequencies
> > Â mmc: meson-gx: work around clk-stop issue
> > Â mmc: meson-gx: simplify interrupt handler
> > Â mmc: meson-gx: implement card_busy callback
> > Â mmc: meson-gx: use CCF to handle the clock phases
> > Â mmc: meson-gx: implement voltage switch callback
> > Â mmc: meson-gx: change default tx phase
> > Â mmc: meson-gx: rework tuning function
> >
> > Âdrivers/mmc/host/meson-gx-mmc.c | 718 +++++++++++++++++++++++++++--------
> > -----
> > Â1 file changed, 497 insertions(+), 221 deletions(-)
> >
> > --
> > 2.9.5
> >
>
> So far, I decided to pick patch 1 -> 3.
Thx Ulf.
Do you want me to respin w/o patch 1 -> 4 or shall I wait for further review on
the other changes ?
>
> Kind regards
> Uffe