Re: [v3, 00/11] mmc: fsl_esdhc: support eMMC HS200/HS400 modes

2020-08-19 Thread Jaehoon Chung
Hi Yangbo,

On 8/18/20 1:35 PM, Y.b. Lu wrote:
> Any commets on the v3 patch-set.
> Thanks!

Sorry for late. I will test with your patch on my target. Today, i will reply 
about your patch.

Best Regards,
Jaehoon Chung
> 
> Best regards,
> Yangbo Lu
> 
>> -Original Message-
>> From: Yangbo Lu 
>> Sent: Thursday, July 23, 2020 12:30 PM
>> To: u-boot@lists.denx.de; Peng Fan ; Priyanka Jain
>> ; 'Jaehoon Chung' 
>> Cc: Y.b. Lu 
>> Subject: [v3, 00/11] mmc: fsl_esdhc: support eMMC HS200/HS400 modes
>>
>> This patch-set is to support eMMC HS200 and HS400 speed modes for
>> eSDHC, and enable them on LX2160ARDB board.
>>
>> CI build link
>> https://protect2.fireeye.com/v1/url?k=035d63a4-5e936277-035ce8eb-000babff317b-31e05acd460d6c4f=1=0b204f55-99b2-446d-9800-90ff26476621=https%3A%2F%2Feur01.safelinks.protection.outlook.com%2F%3Furl%3Dhttps%253A%252F%252Ftravis-ci
>> .org%2Fgithub%2Fyangbolu1991%2Fu-boot-test%2Fbuilds%2F710977092
>> mp;data=02%7C01%7Cyangbo.lu%40nxp.com%7Cad44ad82358841b1750d08
>> d82ec207a0%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C63731
>> 0758167126235sdata=u8fiHRayfKhk%2FiFGjXItjlHmyWWk9MMqbWHz
>> WeId60c%3Dreserved=0
>>
>> Changes for v2:
>>  - Added two patches to fix stability issue.
>> Changes for v3:
>>  - Explained more in commit messages.
>>  - Added HS400 exit code for downgrade.
>>
>> Yangbo Lu (11):
>>   mmc: add a reinit() API
>>   mmc: fsl_esdhc: add a reinit() callback
>>   mmc: fsl_esdhc: support tuning for eMMC HS200
>>   mmc: fsl_esdhc: clean TBCTL[TB_EN] manually during init
>>   mmc: add a hs400_tuning flag
>>   mmc: add a mmc_hs400_prepare_ddr() interface
>>   mmc: fsl_esdhc: support eMMC HS400 mode
>>   mmc: fsl_esdhc: fix mmc->clock with actual clock
>>   mmc: fsl_esdhc: fix eMMC HS400 stability issue
>>   arm: dts: lx2160ardb: support eMMC HS400 mode
>>   configs: lx2160ardb: enable eMMC HS400 mode support
>>
>>  arch/arm/dts/fsl-lx2160a-rdb.dts |   2 +
>>  configs/lx2160ardb_tfa_SECURE_BOOT_defconfig |   1 +
>>  configs/lx2160ardb_tfa_defconfig |   1 +
>>  configs/lx2160ardb_tfa_stmm_defconfig|   1 +
>>  drivers/mmc/fsl_esdhc.c  | 176
>> ++-
>>  drivers/mmc/mmc-uclass.c |  30 +
>>  drivers/mmc/mmc.c|  12 +-
>>  include/fsl_esdhc.h  |  29 -
>>  include/mmc.h|  26 +++-
>>  9 files changed, 268 insertions(+), 10 deletions(-)
>>
>> --
>> 2.7.4
> 
> 



RE: [v3, 00/11] mmc: fsl_esdhc: support eMMC HS200/HS400 modes

2020-08-17 Thread Y.b. Lu
Any commets on the v3 patch-set.
Thanks!

Best regards,
Yangbo Lu

> -Original Message-
> From: Yangbo Lu 
> Sent: Thursday, July 23, 2020 12:30 PM
> To: u-boot@lists.denx.de; Peng Fan ; Priyanka Jain
> ; 'Jaehoon Chung' 
> Cc: Y.b. Lu 
> Subject: [v3, 00/11] mmc: fsl_esdhc: support eMMC HS200/HS400 modes
> 
> This patch-set is to support eMMC HS200 and HS400 speed modes for
> eSDHC, and enable them on LX2160ARDB board.
> 
> CI build link
> https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Ftravis-ci
> .org%2Fgithub%2Fyangbolu1991%2Fu-boot-test%2Fbuilds%2F710977092
> mp;data=02%7C01%7Cyangbo.lu%40nxp.com%7Cad44ad82358841b1750d08
> d82ec207a0%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C63731
> 0758167126235sdata=u8fiHRayfKhk%2FiFGjXItjlHmyWWk9MMqbWHz
> WeId60c%3Dreserved=0
> 
> Changes for v2:
>   - Added two patches to fix stability issue.
> Changes for v3:
>   - Explained more in commit messages.
>   - Added HS400 exit code for downgrade.
> 
> Yangbo Lu (11):
>   mmc: add a reinit() API
>   mmc: fsl_esdhc: add a reinit() callback
>   mmc: fsl_esdhc: support tuning for eMMC HS200
>   mmc: fsl_esdhc: clean TBCTL[TB_EN] manually during init
>   mmc: add a hs400_tuning flag
>   mmc: add a mmc_hs400_prepare_ddr() interface
>   mmc: fsl_esdhc: support eMMC HS400 mode
>   mmc: fsl_esdhc: fix mmc->clock with actual clock
>   mmc: fsl_esdhc: fix eMMC HS400 stability issue
>   arm: dts: lx2160ardb: support eMMC HS400 mode
>   configs: lx2160ardb: enable eMMC HS400 mode support
> 
>  arch/arm/dts/fsl-lx2160a-rdb.dts |   2 +
>  configs/lx2160ardb_tfa_SECURE_BOOT_defconfig |   1 +
>  configs/lx2160ardb_tfa_defconfig |   1 +
>  configs/lx2160ardb_tfa_stmm_defconfig|   1 +
>  drivers/mmc/fsl_esdhc.c  | 176
> ++-
>  drivers/mmc/mmc-uclass.c |  30 +
>  drivers/mmc/mmc.c|  12 +-
>  include/fsl_esdhc.h  |  29 -
>  include/mmc.h|  26 +++-
>  9 files changed, 268 insertions(+), 10 deletions(-)
> 
> --
> 2.7.4



[v3, 00/11] mmc: fsl_esdhc: support eMMC HS200/HS400 modes

2020-07-22 Thread Yangbo Lu
This patch-set is to support eMMC HS200 and HS400 speed modes for
eSDHC, and enable them on LX2160ARDB board.

CI build link
https://travis-ci.org/github/yangbolu1991/u-boot-test/builds/710977092

Changes for v2:
- Added two patches to fix stability issue.
Changes for v3:
- Explained more in commit messages.
- Added HS400 exit code for downgrade.

Yangbo Lu (11):
  mmc: add a reinit() API
  mmc: fsl_esdhc: add a reinit() callback
  mmc: fsl_esdhc: support tuning for eMMC HS200
  mmc: fsl_esdhc: clean TBCTL[TB_EN] manually during init
  mmc: add a hs400_tuning flag
  mmc: add a mmc_hs400_prepare_ddr() interface
  mmc: fsl_esdhc: support eMMC HS400 mode
  mmc: fsl_esdhc: fix mmc->clock with actual clock
  mmc: fsl_esdhc: fix eMMC HS400 stability issue
  arm: dts: lx2160ardb: support eMMC HS400 mode
  configs: lx2160ardb: enable eMMC HS400 mode support

 arch/arm/dts/fsl-lx2160a-rdb.dts |   2 +
 configs/lx2160ardb_tfa_SECURE_BOOT_defconfig |   1 +
 configs/lx2160ardb_tfa_defconfig |   1 +
 configs/lx2160ardb_tfa_stmm_defconfig|   1 +
 drivers/mmc/fsl_esdhc.c  | 176 ++-
 drivers/mmc/mmc-uclass.c |  30 +
 drivers/mmc/mmc.c|  12 +-
 include/fsl_esdhc.h  |  29 -
 include/mmc.h|  26 +++-
 9 files changed, 268 insertions(+), 10 deletions(-)

-- 
2.7.4