mirror of https://lore.kernel.org/linux-amlogic/
 help / color / mirror / Atom feed
From: hkallweit1@gmail.com (Heiner Kallweit)
To: linus-amlogic@lists.infradead.org
Subject: Problems after recent changes to meson-gx-mmc driver
Date: Sun, 10 Sep 2017 18:20:05 +0200	[thread overview]
Message-ID: <b31253d8-38a3-dd25-1d74-6afde6ae8362@gmail.com> (raw)
In-Reply-To: <1505056105.24771.53.camel@baylibre.com>

Am 10.09.2017 um 17:08 schrieb Jerome Brunet:
> On Sat, 2017-09-09 at 22:20 +0200, Heiner Kallweit wrote:
>> I checked further and setting the tx clock phase back to 0 fixes the issue for
>> me.
>> ("mmc: meson-gx: change default tx phase" changes it from 0 to 270.)
>> But as you write 0 seems to break certain other systems.
> 
> That was my second guess ...
> 
> As I mentioned in the commit message, 270 is working fine for the setups I have
> tested but I always wondered if that would be the case for every possible
> setups/boards/modes.
> 
> Would you mind testing 90 and 180 as well with your setup ? I'll make another
> pass on the different setups I have access to. Please stick to hs200 and drop
> hs400 for this test. I'm still unsure if doubling the clock after doing the
> tuning may affect the phase tuning ... lets keep that out of the way for now.
> 
I tested the other tx clock settings with HS200/200MHz.

0: No errors
90: 6 CRC errors, otherwise system works normal.
180: Lots of CRC errors, but system still works.
270: So many errors that root file system gets corrupted and is mounted r/o.

Seems like we won't find a tx clock phase working on all systems.
So maybe the tuning needs to be extended to check all tx / rx clock
phase combinations.

IIRC I went with a fixed tx clock phase because other combinations of
tx / rx clock phase selected by an experimental tuning algorithm
worked fine when tuning but produced errors later.

  reply	other threads:[~2017-09-10 16:20 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-09 13:14 Heiner Kallweit
2017-09-09 14:05 ` Jerome Brunet
2017-09-09 19:53   ` Heiner Kallweit
2017-09-09 20:20     ` Heiner Kallweit
2017-09-10 15:08       ` Jerome Brunet
2017-09-10 16:20         ` Heiner Kallweit [this message]
2017-09-10 16:48           ` Jerome Brunet
2017-09-18 13:44           ` [PATCH/RFT] mmc: meson-gx: include tx phase in the tuning process Jerome Brunet
2017-09-18 19:11             ` Heiner Kallweit
2017-09-19 11:08               ` Jerome Brunet
2017-09-19 18:54                 ` Heiner Kallweit
2017-09-27 16:24                   ` Jerome Brunet
2017-10-02 12:30                     ` Jerome Brunet

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b31253d8-38a3-dd25-1d74-6afde6ae8362@gmail.com \
    --to=hkallweit1@gmail.com \
    --cc=linus-amlogic@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®