Thread (14 messages) 14 messages, 3 authors, 2014-11-30

[PATCH 2/2] ARM: imx: src: support vf610 system reset controller

From: arnd@arndb.de (Arnd Bergmann)
Date: 2014-11-28 21:25:06
Also in: lkml

On Friday 28 November 2014 22:02:01 Stefan Agner wrote:
On 2014-11-28 17:49, Arnd Bergmann wrote:
quoted
On Friday 28 November 2014 17:43:35 Stefan Agner wrote:
quoted
Support Vybrid SoC's system reset controller (SRC). Currently we
don't register a reset controller but only support the imx_cpu_jump
and imx_cpu_arg functions.

Signed-off-by: Stefan Agner <stefan@agner.ch>
I think this should be a platform driver in drivers/power/reset.
Yeah, I thought that too, see my cover letter. The problem is, in that
module are also some register which are of interest when implementing
suspend/resume support (see cover letter too). However, we could also
just make a dt entry for that reset register only, and create another dt
entry for the other registers.
Don't make a node with just one register, in this case, a syscon device
would be best.
quoted
If the SRC is also capable of resetting individual blocks instead of just
the entire machine, it would be a reset driver in drivers/reset instead.
Beside the system reset, there is only a mask functionality for the
watchdogs (there are two watchdogs, one for Cortex-A5 and one for the
M4). This makes the SRC module in the Vybrid a bit different then what
is available on other i.MX SoC's...
If you already have the watchdog registers in there and want to have
a watchdog driver too, the easiest way would be to register the reboot
handler from the watchdog driver.

	Arnd
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help