OpenCloudOS-Kernel/include/linux/mmc
Wenchao Chen bac806830f mmc: core: Add host specific tuning support for SD HS mode
To support the need for host specific tuning for SD high-speed mode, let's
add two new optional callbacks, ->prepare|execute_sd_hs_tuning() and let's
call them when switching into the SD high-speed mode.

Note that, during the tuning process it's also needed for host drivers to
send commands to the SD card to verify that the tuning process succeeds.
Therefore, let's also share the corresponding functions from the core to
allow this.

Signed-off-by: Wenchao Chen <wenchao.chen@unisoc.com>
Link: https://lore.kernel.org/r/20230825091743.15613-2-wenchao.chen@unisoc.com
[Ulf: Dropped unnecessary function declarations and updated the commit msg]
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
2023-08-25 11:45:51 +02:00
..
card.h mmc: Add MMC_QUIRK_BROKEN_SD_CACHE for Kingston Canvas Go Plus from 11/2019 2023-06-20 13:19:34 +02:00
core.h mmc: core: improve API to make clear that mmc_sw_reset is for cards 2022-04-26 14:05:20 +02:00
host.h mmc: core: Add host specific tuning support for SD HS mode 2023-08-25 11:45:51 +02:00
mmc.h mmc: core: Fix ambiguous TRIM and DISCARD arg 2022-11-18 10:39:22 +01:00
pm.h
sd.h mmc: core: Add support for Power Off Notification for SD cards 2021-06-14 13:57:37 +02:00
sdio.h mmc: core: Add support for SDIO wakeup interrupt 2022-07-26 16:58:31 +02:00
sdio_func.h mmc: sdio: Parse CISTPL_VERS_1 major and minor revision numbers 2020-09-07 09:11:28 +02:00
sdio_ids.h mmc: sdio: Add/rename SDIO ID of the RTL8723DS SDIO wifi cards 2023-05-25 19:09:39 +03:00
slot-gpio.h mmc: core: support setting card detect interrupt from drivers 2023-02-15 13:46:09 +01:00