diff options
author | Aisheng.Dong <b29396@freescale.com> | 2010-08-02 22:35:54 +0800 |
---|---|---|
committer | Aisheng.Dong <b29396@freescale.com> | 2010-08-03 09:56:26 +0800 |
commit | 6a8ebfd55e0a0f3d25279eba25676e6a5de59c78 (patch) | |
tree | 7b7a82dd20f487eed4fa95549db4906d4a6ec135 | |
parent | e94064f4d690da9bf565c3dffe2a0aa18dffd9e3 (diff) |
ENGR00125823-1 mxc esdhc: add a clock always on flag in plat_data
Add a control flag for clock always on function in plat_data.
By default ,esdhc clock will be automatically gate off by HW
if there's no CMD/DATA transferring.
This inferface allows user to easily disable clock auto gate off
according specicial using cases such as SDIO card that needs
clock to send SDIO interrupt signal to host.
Signed-off-by: Aisheng.Dong <b29396@freescale.com>
-rw-r--r-- | arch/arm/plat-mxc/include/mach/mmc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/plat-mxc/include/mach/mmc.h b/arch/arm/plat-mxc/include/mach/mmc.h index 0ca88aaf1a9..f4eba488637 100644 --- a/arch/arm/plat-mxc/include/mach/mmc.h +++ b/arch/arm/plat-mxc/include/mach/mmc.h @@ -40,6 +40,7 @@ struct mxc_mmc_platform_data { unsigned int min_clk; unsigned int max_clk; unsigned int clk_flg; /* 1 clock enable, 0 not */ + unsigned int clk_always_on; /* Needed by SDIO cards and etc */ unsigned int dll_override_en; /* Enable dll override delay line */ unsigned int dll_delay_cells; /* The number of delay cells (0-0x3f) */ unsigned int reserved:16; |