summaryrefslogtreecommitdiff
path: root/arch/arm/mach-davinci/board-mityomapl138.c
diff options
context:
space:
mode:
authorDavid Lechner <david@lechnology.com>2018-05-18 19:48:08 +0300
committerSekhar Nori <nsekhar@ti.com>2018-06-26 13:14:40 +0300
commit482db8893ee4fa777e2256dd66ba207e719777dc (patch)
tree8cc96504fae61109391eb9921fbda0b2d36aff75 /arch/arm/mach-davinci/board-mityomapl138.c
parent3952af1ca29216ff8d56896048607b237e472a5b (diff)
downloadlinux-482db8893ee4fa777e2256dd66ba207e719777dc.tar.xz
ARM: davinci: da850: add new clock init using common clock framework
This adds the new board-specific clock init in mach-davinci/da850.c using the new common clock framework drivers. The #ifdefs are needed to prevent compile errors until the entire ARCH_DAVINCI is converted. Also clean up the #includes since we are adding some here. Some CFGCHIP macros were removed because we are now including linux/mfd/da8xx-cfgchip.h which defines the same values. Reviewed-by: Sekhar Nori <nsekhar@ti.com> Signed-off-by: David Lechner <david@lechnology.com> Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Diffstat (limited to 'arch/arm/mach-davinci/board-mityomapl138.c')
-rw-r--r--arch/arm/mach-davinci/board-mityomapl138.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-davinci/board-mityomapl138.c b/arch/arm/mach-davinci/board-mityomapl138.c
index 37b3e48a21d1..2cce0d7d2f2a 100644
--- a/arch/arm/mach-davinci/board-mityomapl138.c
+++ b/arch/arm/mach-davinci/board-mityomapl138.c
@@ -503,6 +503,8 @@ static void __init mityomapl138_init(void)
{
int ret;
+ da850_register_clocks();
+
/* for now, no special EDMA channels are reserved */
ret = da850_register_edma(NULL);
if (ret)