OSDN Git Service

ARM: davinci: Add clock for CPPI 4.1 DMA engine
authorAlexandre Bailon <abailon@baylibre.com>
Wed, 5 Apr 2017 17:17:50 +0000 (19:17 +0200)
committerSekhar Nori <nsekhar@ti.com>
Tue, 11 Apr 2017 14:20:53 +0000 (19:50 +0530)
commit398dbc776a8f7dfdee7c38ad003e66abd31b3b0a
treeea113859ef0cc040e6f5bf1620ea7a27128bf9de
parent28d4d1d0e49b4ac4d12861a64f45101f36fbfab8
ARM: davinci: Add clock for CPPI 4.1 DMA engine

The CPPI 4.1 DMA in USB subsystem shares its clock with the
USB OTG, and most of the time, the clock will be enabled by
USB.  But during the init of the DMA, USB is not enabled
(waiting for DMA), and then we must enable the DMA clock
before doing anything.

Add clock for the CPPI 4.1 DMA engine.

Signed-off-by: Alexandre Bailon <abailon@baylibre.com>
[nsekhar@ti.com: minor commit message tweaks]
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
arch/arm/mach-davinci/da830.c
arch/arm/mach-davinci/da850.c