mbox series

[0/2] watchdog: orion_wdt: add pretimeout support

Message ID 20190304225152.26831-1-chris.packham@alliedtelesis.co.nz (mailing list archive)
Headers show
Series watchdog: orion_wdt: add pretimeout support | expand

Message

Chris Packham March 4, 2019, 10:51 p.m. UTC
This is a follow up from https://lore.kernel.org/lkml/20190227230707.GA28635@roeck-us.net/

It appears that the kernel has only ever used timer0 on the
orion/kirkwood/armada platforms so timer1 appears to be spare on all of
these. Armada-XP and Armada-385 also have timers 2 and 3 which could be
used in a similar way if it is deemed that timer1 should be kept for
some other purpose.

Chris Packham (2):
  watchdog: orion: remove orion_wdt_set_timeout
  watchdog: orion_wdt: use timer1 as a pretimeout

 arch/arm/boot/dts/armada-38x.dtsi |  1 +
 drivers/watchdog/orion_wdt.c      | 66 ++++++++++++++++++-------------
 2 files changed, 39 insertions(+), 28 deletions(-)