lkml.org 
[lkml]   [2019]   [Mar]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v2 0/3] watchdog: orion_wdt: add pretimeout support
Date
It appears that the kernel has only ever used timer0 on the armada platforms so
timer1 appears to be spare on these. Timers 2 and 3 are also free which could
be used if it is deemed that timer1 should be kept for some other purpose.

Chris Packham (3):
ARM: dts: armada-38x: add interrupts for watchdog
watchdog: orion: remove orion_wdt_set_timeout
watchdog: orion_wdt: use timer1 as a pretimeout

Changes in v2:

I've reduced this to just touching the Armada-38x. It would probably
also work on Armada-XP just by adding the appropriate interrupt nodes
to the dts. I don't have access to the Armada-370 datasheet but it'd
likely work there as well..

arch/arm/boot/dts/armada-38x.dtsi | 2 +
drivers/watchdog/orion_wdt.c | 67 +++++++++++++++++++++++--------
2 files changed, 52 insertions(+), 17 deletions(-)

--
2.21.0

\
 
 \ /
  Last update: 2019-03-05 21:21    [W:0.073 / U:1.416 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site