Re: [PATCH v5] mmc: sdhci-of-esdhc: add erratum A008171 support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 23 August 2018 at 08:14, Adrian Hunter <adrian.hunter@xxxxxxxxx> wrote:
> On 23/08/18 07:32, Yinbo Zhu wrote:
>> In tuning mode of operation, when TBCTL[TB_EN] is set, eSDHC may report
>> one of the following errors :
>> 1)Tuning error while running tuning operation where SYSCTL2[SAMPCLKSEL]
>> will not get set even when SYSCTL2[EXTN] is reset. OR
>> 2)Data transaction error (e.g. IRQSTAT[DCE], IRQSTAT[DEBE]) during data
>> transaction errors.
>> This issue occurs when the data window sampled within eSDHC is in full
>> cycle. So, in that case, eSDHC is not able to find out the start and
>> end points of the data window and sets the sampling pointer at default
>> location (which is middle of the internal SD clock). If this sampling
>> point coincides with the data eye boundary, then it can result in the
>> above mentioned errors. Impact: Tuning mode of operation for SDR50,
>> SDR104 or HS200 speed modes may not work properly
>> Workaround: In case eSDHC reports tuning error or data errors in tuning
>> mode of operation, by add the erratum A008171 support to fix the issue.
>>
>> Signed-off-by: Yinbo Zhu <yinbo.zhu@xxxxxxx>
>> ---
>> Change in v5:
>>               Modify some return value for tuning procedure.
>>
>>  drivers/mmc/host/sdhci-esdhc.h    |    1 +
>>  drivers/mmc/host/sdhci-of-esdhc.c |   44 ++++++++++++++++++++++++++++++++++++-
>>  drivers/mmc/host/sdhci.c          |    9 ++++---
>>  drivers/mmc/host/sdhci.h          |    1 +
>
> Please make the sdhci.[ch] changes a separate patch

That's a good comment. I drop the patch and waiting for v6 instead.

Kind regards
Uffe



[Index of Archives]     [Linux Memonry Technology]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux