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

From: Adrian Hunter
Date: Tue Aug 15 2023 - 02:34:06 EST


On 15/08/23 04:40, Wenchao Chen wrote:
> 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

What about hooking ->set_ios() as Ulf suggested?

>
> 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 | 12 +++
> drivers/mmc/core/sd_ops.c | 1 +
> drivers/mmc/host/sdhci-sprd.c | 152 ++++++++++++++++++++++++++++++++++
> include/linux/mmc/host.h | 8 ++
> 4 files changed, 173 insertions(+)
>