From 2fc3ed5d06121ab47e45127fc534881ed3be235d Mon Sep 17 00:00:00 2001 From: Siva Durga Prasad Paladugu Date: Thu, 19 Apr 2018 12:37:06 +0530 Subject: [PATCH] sdhci: Add new sdhci ops for platform specific tuning and delays This patch adds new hooks for any platform specific tuning and tap delays programing. These are needed for supporting SD3.0. Signed-off-by: Siva Durga Prasad Paladugu Signed-off-by: Michal Simek --- include/sdhci.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/sdhci.h b/include/sdhci.h index 1e0c92c..8ca632f 100644 --- a/include/sdhci.h +++ b/include/sdhci.h @@ -242,6 +242,8 @@ struct sdhci_ops { void (*set_control_reg)(struct sdhci_host *host); void (*set_ios_post)(struct sdhci_host *host); void (*set_clock)(struct sdhci_host *host, u32 div); + int (*platform_execute_tuning)(struct mmc *host, u8 opcode); + void (*set_delay)(struct sdhci_host *host); }; struct sdhci_host {