summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Tarnyagin <dmitry.tarnyagin@stericsson.com>2011-10-13 18:11:22 +0200
committerPhilippe LANGLAIS <philippe.langlais@stericsson.com>2011-10-14 14:27:28 +0200
commitb3e7868a67569d7f8e2fcd5d11d92b035da2fcd1 (patch)
tree6d4e1636d0dd87203833e40d9d6fcb062e22f944
parent37ec0d292eda24cbecd1096a128d984e52a478b8 (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>
-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 */