diff options
author | Dmitry Tarnyagin <dmitry.tarnyagin@stericsson.com> | 2011-10-13 18:11:22 +0200 |
---|---|---|
committer | Philippe Langlais <philippe.langlais@stericsson.com> | 2012-05-22 11:06:33 +0200 |
commit | 50efd61a75f1ef58920bd268be3088acee9b3259 (patch) | |
tree | dc7655db50349ef09a6907e0c7d9e9c33b7713aa /arch/arm/mach-ux500/include/mach | |
parent | dc6b29511dd1203df96a79d1e74098fb1c1dfa11 (diff) |
u8500: Adding clock control callback into platform data.
cw1200 device has hardware clock control. However on some platforms
it is required to explicitly enable clock for the device.
The patch adds a clock control callback into the platform data.
Change-Id: I5fd619a34a4dbeff8f1b25d55bcca9e912020c23
Signed-off-by: Dmitry Tarnyagin <dmitry.tarnyagin@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/34069
Reviewed-by: Bartosz MARKOWSKI <bartosz.markowski@tieto.com>
Tested-by: Robert MARKLUND <robert.marklund@stericsson.com>
Reviewed-by: Philippe LANGLAIS <philippe.langlais@stericsson.com>
Diffstat (limited to 'arch/arm/mach-ux500/include/mach')
-rw-r--r-- | arch/arm/mach-ux500/include/mach/cw1200_plat.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-ux500/include/mach/cw1200_plat.h b/arch/arm/mach-ux500/include/mach/cw1200_plat.h index e79794f42a3..4d30dbd3979 100644 --- a/arch/arm/mach-ux500/include/mach/cw1200_plat.h +++ b/arch/arm/mach-ux500/include/mach/cw1200_plat.h @@ -16,6 +16,8 @@ struct cw1200_platform_data { const struct resource *reset; int (*power_ctrl)(const struct cw1200_platform_data *pdata, bool enable); + int (*clk_ctrl)(const struct cw1200_platform_data *pdata, + bool enable); }; /* Declaration only. Should be implemented in arch/xxx/mach-yyy */ |