]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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)
commitaf47e6bb8866ad57cfcfeceecf799edc3a658660
treef91c474cdd8988e9a959b66f0d6c22032f2ffe71
parent35031f9df569913ac0c46b03c8033fc1deed749d
ARM: davinci: psc: introduce reset API

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>
arch/arm/mach-davinci/clock.c
arch/arm/mach-davinci/clock.h
arch/arm/mach-davinci/include/mach/clock.h
arch/arm/mach-davinci/include/mach/psc.h
arch/arm/mach-davinci/psc.c