ARM: davinci: psc: introduce reset API
authorRobert Tivy <rtivy@ti.com>
Fri, 11 Jan 2013 00:23:23 +0000 (16:23 -0800)
committerSekhar Nori <nsekhar@ti.com>
Tue, 22 Jan 2013 12:12:59 +0000 (17:42 +0530)
Introduce an IP reset API for use on DaVinci SoC.

There is no existing "reset" framework support for SoC devices.
The remoteproc driver needs explicit control of the DSP's reset line.
To support this, a new DaVinci specific API is added.

This private API will disappear with DT migration.  Some discussion
regarding a proposed DT "reset" binding is here:
https://patchwork.kernel.org/patch/1635051/

Modify davinci_clk_init() to set clk "reset" function for clocks
that indicate PSC_LRST support.  Also fix indentation issue with
function opening curly brace.

Signed-off-by: Robert Tivy <rtivy@ti.com>
[nsekhar@ti.com: rename davinci_psc_config_reset() to davinci_psc_reset()]
Signed-off-by: Sekhar Nori <nsekhar@ti.com>

No differences found