diff options
author | David Lechner <david@lechnology.com> | 2018-05-18 11:48:08 -0500 |
---|---|---|
committer | Sekhar Nori <nsekhar@ti.com> | 2018-06-26 15:44:40 +0530 |
commit | 482db8893ee4fa777e2256dd66ba207e719777dc (patch) | |
tree | 8cc96504fae61109391eb9921fbda0b2d36aff75 /arch/arm/mach-davinci/da8xx-dt.c | |
parent | 3952af1ca29216ff8d56896048607b237e472a5b (diff) | |
download | lwn-482db8893ee4fa777e2256dd66ba207e719777dc.tar.gz lwn-482db8893ee4fa777e2256dd66ba207e719777dc.zip |
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/da8xx-dt.c')
-rw-r--r-- | arch/arm/mach-davinci/da8xx-dt.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-davinci/da8xx-dt.c b/arch/arm/mach-davinci/da8xx-dt.c index ab199f4b9ce4..91dd9cb6d113 100644 --- a/arch/arm/mach-davinci/da8xx-dt.c +++ b/arch/arm/mach-davinci/da8xx-dt.c @@ -67,6 +67,8 @@ static void __init da850_init_machine(void) int ret; + da850_register_clocks(); + ret = da8xx_register_usb20_phy_clk(false); if (ret) pr_warn("%s: registering USB 2.0 PHY clock failed: %d", |