From mboxrd@z Thu Jan 1 00:00:00 1970 From: jbrunet@baylibre.com (Jerome Brunet) Date: Wed, 27 Sep 2017 18:24:20 +0200 Subject: [PATCH/RFT] mmc: meson-gx: include tx phase in the tuning process In-Reply-To: References: <20170918134431.17520-1-jbrunet@baylibre.com> <3fd34a04-9a22-83e7-fb48-833b72bbea9f@gmail.com> <1505819337.2703.40.camel@baylibre.com> Message-ID: <1506529460.16686.45.camel@baylibre.com> To: linus-amlogic@lists.infradead.org List-Id: linus-amlogic.lists.infradead.org On Tue, 2017-09-19 at 20:54 +0200, Heiner Kallweit wrote: > > > Unfortunately this still doesn't fix the issue here. > > > Tuning rx and tx clk sequentially assumes both are independent, what they > > > IMHO are not. So meybe we have to check all combinations of rx/tx clk > > > phase. > > > > Interesting, I would be curious to know what tuning value you ended with, > > compared to the "hard-coded' working value you have set. > > > > You can get that fairly easily now, using CCF in debugfs, in > > /clk/clk_summary, the different phase are reported > > > > This gives me: > > core phase: 180 > rx phase: 0 > tx phase: 270 > > And I end up with a corrupted root file system. You should have had tuning on both the Rx and Tx phase and yet, you end up with the default values ... that's strange I should be able to get my hands on 16GB emmc module for this platform soon. Let's see ...