[PATCH V3 0/2] mmc: sdhci-sprd: Add SD HS mode online tuning

Wenchao Chen posted 2 patches 2 years, 3 months ago
drivers/mmc/core/sd.c         |  14 ++++
drivers/mmc/core/sd_ops.c     |   1 +
drivers/mmc/host/sdhci-sprd.c | 149 ++++++++++++++++++++++++++++++++++
include/linux/mmc/host.h      |   8 ++
4 files changed, 172 insertions(+)
[PATCH V3 0/2] mmc: sdhci-sprd: Add SD HS mode online tuning
Posted by Wenchao Chen 2 years, 3 months ago
Change in v3:
- Move changes in include/linux/mmc/host.h and drivers/mmc/core/sd_ops.c into patch1
- The callback is executed when timing is equal to MMC_TIMING_SD_HS
- Rename prepare_hs_tuning to prepare_sd_hs_tuning
- Rename execute_hs_tuning to execute_sd_hs_tuning

Change in v2:
- add mmc_sd_switch() and mmc_send_status() to the header file
- split up core changes from host driver changes
- Use pr_debug instead of dev_info and dev_dbg
- Optimize the best sampled value algorithm

Wenchao Chen (2):
  mmc: core: Add host specific tuning support for SD HS mode
  mmc: sdhci-sprd: Add SD HS mode online tuning

 drivers/mmc/core/sd.c         |  14 ++++
 drivers/mmc/core/sd_ops.c     |   1 +
 drivers/mmc/host/sdhci-sprd.c | 149 ++++++++++++++++++++++++++++++++++
 include/linux/mmc/host.h      |   8 ++
 4 files changed, 172 insertions(+)

-- 
2.17.1
Re: [PATCH V3 0/2] mmc: sdhci-sprd: Add SD HS mode online tuning
Posted by Ulf Hansson 2 years, 3 months ago
On Fri, 25 Aug 2023 at 11:18, Wenchao Chen <wenchao.chen@unisoc.com> wrote:
>
> Change in v3:
> - Move changes in include/linux/mmc/host.h and drivers/mmc/core/sd_ops.c into patch1
> - The callback is executed when timing is equal to MMC_TIMING_SD_HS
> - Rename prepare_hs_tuning to prepare_sd_hs_tuning
> - Rename execute_hs_tuning to execute_sd_hs_tuning
>
> Change in v2:
> - add mmc_sd_switch() and mmc_send_status() to the header file
> - split up core changes from host driver changes
> - Use pr_debug instead of dev_info and dev_dbg
> - Optimize the best sampled value algorithm
>
> Wenchao Chen (2):
>   mmc: core: Add host specific tuning support for SD HS mode
>   mmc: sdhci-sprd: Add SD HS mode online tuning
>
>  drivers/mmc/core/sd.c         |  14 ++++
>  drivers/mmc/core/sd_ops.c     |   1 +
>  drivers/mmc/host/sdhci-sprd.c | 149 ++++++++++++++++++++++++++++++++++
>  include/linux/mmc/host.h      |   8 ++
>  4 files changed, 172 insertions(+)
>
> --
> 2.17.1
>

Applied for next, thanks!

Kind regards
Uffe