diff options
author | Ashok Reddy Soma <ashok.reddy.soma@amd.com> | 2023-01-10 04:31:22 -0700 |
---|---|---|
committer | Jaehoon Chung <jh80.chung@samsung.com> | 2023-01-31 22:02:27 +0900 |
commit | 6f5bb9913ca54fe0a3e45f83458eb71103e22ef7 (patch) | |
tree | 9216df43a3a65305500a7a53db02b07d75c6108d /include/sdhci.h | |
parent | 14ef4c7be5b5881e2c50642ae15f0f12c28fdf60 (diff) | |
download | u-boot-6f5bb9913ca54fe0a3e45f83458eb71103e22ef7.tar.gz u-boot-6f5bb9913ca54fe0a3e45f83458eb71103e22ef7.tar.bz2 u-boot-6f5bb9913ca54fe0a3e45f83458eb71103e22ef7.zip |
mmc: sdhci: Check and call config_dll callback functions
Check if the low level driver supports config_dll callback function and
call it if it does. Call with dll disable before calling set_clock and
with dll enable after it.
Signed-off-by: Ashok Reddy Soma <ashok.reddy.soma@amd.com>
Diffstat (limited to 'include/sdhci.h')
-rw-r--r-- | include/sdhci.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sdhci.h b/include/sdhci.h index 24b4599b85..64a3d309da 100644 --- a/include/sdhci.h +++ b/include/sdhci.h @@ -272,6 +272,8 @@ struct sdhci_ops { void (*set_clock)(struct sdhci_host *host, u32 div); int (*platform_execute_tuning)(struct mmc *host, u8 opcode); int (*set_delay)(struct sdhci_host *host); + /* Callback function to set DLL clock configuration */ + int (*config_dll)(struct sdhci_host *host, u32 clock, bool enable); int (*deferred_probe)(struct sdhci_host *host); /** |