diff options
author | Dmitry Tarnyagin <dmitry.tarnyagin@stericsson.com> | 2011-10-13 18:11:22 +0200 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2012-01-05 10:20:21 +0000 |
commit | 49600adbffd27ba98b55e62abff5a6f2f695c044 (patch) | |
tree | 25552e1d849a2367d339f93b36693637b04a6797 | |
parent | 5bd9d1bb7b8450ebd76c987fea7f9dea5dae9d12 (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.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 */ |