diff options
| author | Ram Prakash Gupta <rampraka@codeaurora.org> | 2018-07-23 12:56:28 +0530 |
|---|---|---|
| committer | Ram Prakash Gupta <rampraka@codeaurora.org> | 2018-07-26 22:53:22 +0530 |
| commit | 9727198d6d71ec5f624da1eb55b296c51d546742 (patch) | |
| tree | 38ce46475e944243b1bfd21d74339665b74226de /include/linux | |
| parent | 24e44f04e9588864f7caefe9676b109f7dd55921 (diff) | |
mmc: core: Initialize temperature controlled clock scaling
Register and deregister for temperature controlled clk scaling
when card is attached and dettached from the device.
This will allow to control the clock frequency based on temperature.
Change-Id: Ie01d573406c273847fb31a5dd64e2b39671e4ac0
Signed-off-by: Ram Prakash Gupta <rampraka@codeaurora.org>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/mmc/host.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/mmc/host.h b/include/linux/mmc/host.h index 48849acf34ff..49648aa63ee3 100644 --- a/include/linux/mmc/host.h +++ b/include/linux/mmc/host.h @@ -185,6 +185,9 @@ struct mmc_host_ops { int (*notify_load)(struct mmc_host *, enum mmc_load); void (*notify_halt)(struct mmc_host *mmc, bool halt); void (*force_err_irq)(struct mmc_host *host, u64 errmask); + int (*check_temp)(struct mmc_host *host); + int (*reg_temp_callback)(struct mmc_host *host); + int (*dereg_temp_callback)(struct mmc_host *host); }; struct mmc_card; |
