summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorDmitry Tarnyagin <dmitry.tarnyagin@stericsson.com>2011-10-13 18:11:22 +0200
committerPhilippe Langlais <philippe.langlais@stericsson.com>2012-05-22 11:06:33 +0200
commit50efd61a75f1ef58920bd268be3088acee9b3259 (patch)
treedc7655db50349ef09a6907e0c7d9e9c33b7713aa /arch
parentdc6b29511dd1203df96a79d1e74098fb1c1dfa11 (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')
-rw-r--r--arch/arm/mach-ux500/include/mach/cw1200_plat.h2
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 */