Anson Huang
15f7d7fc55
watchdog: imx_sc: Add pretimeout support
...
i.MX system controller watchdog can support pretimeout IRQ
via general SCU MU IRQ, it depends on IMX_SCU and driver MUST
be probed after SCU IPC ready, then enable corresponding SCU
IRQ group and register SCU IRQ notifier, when watchdog pretimeout
IRQ fires, SCU MU IRQ will be handled and watchdog pretimeout
notifier will be called to handle the event.
Signed-off-by: Anson Huang <Anson.Huang@nxp.com >
Reviewed-by: Guenter Roeck <linux@roeck-us.net >
Signed-off-by: Guenter Roeck <linux@roeck-us.net >
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org >
2019-07-08 19:55:37 +02:00
Yoshihiro Shimoda
b836005b4f
watchdog: renesas_wdt: Add a few cycles delay
...
According to the hardware manual of R-Car Gen2 and Gen3,
software should wait a few RLCK cycles as following:
- Delay 2 cycles before setting watchdog counter.
- Delay 3 cycles before disabling module clock.
So, this patch adds such delays.
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com >
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be >
Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com >
Reviewed-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se >
Reviewed-by: Simon Horman <horms+renesas@verge.net.au >
Reviewed-by: Guenter Roeck <linux@roeck-us.net >
Signed-off-by: Guenter Roeck <linux@roeck-us.net >
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org >
2019-07-08 19:39:44 +02:00
Mans Rullgard
1a4aaf9f11
watchdog: gpio: add support for nowayout option
...
Add support for the nowayout option in the gpio watchdog driver.
Signed-off-by: Mans Rullgard <mans@mansr.com >
Reviewed-by: Guenter Roeck <linux@roeck-us.net >
Signed-off-by: Guenter Roeck <linux@roeck-us.net >
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org >
2019-07-08 19:39:44 +02:00
Hoan Nguyen An
b7fbd3e55c
watchdog: renesas_wdt: Use 'dev' instead of dereferencing it repeatedly
...
Add helper variable dev = &pdev->dev
Signed-off-by: Hoan Nguyen An <na-hoan@jinso.co.jp >
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be >
Reviewed-by: Simon Horman <horms+renesas@verge.net.au >
Reviewed-by: Guenter Roeck <linux@roeck-us.net >
Signed-off-by: Guenter Roeck <linux@roeck-us.net >
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org >
2019-07-08 16:10:11 +02:00
Paul Cercueil
9b3461188e
watchdog: jz4740: Avoid starting watchdog in set_timeout
...
Previously the jz4740_wdt_set_timeout() function was starting the timer
unconditionally, even if it was stopped when that function was entered.
Now, the timer will be restarted only if it was already running before
this function is called.
Signed-off-by: Paul Cercueil <paul@crapouillou.net >
Reviewed-by: Guenter Roeck <linux@roeck-us.net >
Signed-off-by: Guenter Roeck <linux@roeck-us.net >
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org >
2019-07-08 16:10:11 +02:00
Paul Cercueil
df04cce3b8
watchdog: jz4740: Use register names from <linux/mfd/ingenic-tcu.h>
...
Use the macros from <linux/mfd/ingenic-tcu.h> instead of declaring our
own.
Signed-off-by: Paul Cercueil <paul@crapouillou.net >
Reviewed-by: Guenter Roeck <linux@roeck-us.net >
Signed-off-by: Guenter Roeck <linux@roeck-us.net >
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org >
2019-07-08 16:10:10 +02:00
Jerry Hoemann
f1bb45b933
watchdog/hpwdt: Reflect changes
...
Bump driver number to reflect recent changes.
Signed-off-by: Jerry Hoemann <jerry.hoemann@hpe.com >
Reviewed-by: Guenter Roeck <linux@roeck-us.net >
Signed-off-by: Guenter Roeck <linux@roeck-us.net >
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org >
2019-07-08 16:10:10 +02:00
Jerry Hoemann
be3d7f7cb3
watchdog/hpwdt: Add module parameter kdumptimeout.
...
Instead of unconditionally stopping the watchdog timer after receipt of
a pretimeout NMI, reprogram the timeout based upon module parameter
kdumptimeout.
The provides a more flexible override than the depricated allow_kdump.
Signed-off-by: Jerry Hoemann <jerry.hoemann@hpe.com >
Reviewed-by: Guenter Roeck <linux@roeck-us.net >
Signed-off-by: Guenter Roeck <linux@roeck-us.net >
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org >
2019-07-08 16:10:09 +02:00
Jerry Hoemann
bb721d6b9e
watchdog/hpwdt: Have core ping watchdog.
...
Instead of stopping the hw timer during probe, have the core update
the timer if the timer is already running.
Signed-off-by: Jerry Hoemann <jerry.hoemann@hpe.com >
Reviewed-by: Guenter Roeck <linux@roeck-us.net >
Signed-off-by: Guenter Roeck <linux@roeck-us.net >
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org >
2019-07-08 16:10:09 +02:00
Jerry Hoemann
c22d8e38e4
watchdog/hpwdt: Advertize max_hw_heartbeat_ms
...
Set max_hw_heartbeat_ms instead of max_timeout so that user client can
set timeout range in excess of what the underlying hardware supports.
Signed-off-by: Jerry Hoemann <jerry.hoemann@hpe.com >
Reviewed-by: Guenter Roeck <linux@roeck-us.net >
Signed-off-by: Guenter Roeck <linux@roeck-us.net >
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org >
2019-07-08 16:10:08 +02:00
Jerry Hoemann
48b32199f9
watchdog/hpwdt: Stop hpwdt on unregister.
...
Have the WD core stop the watchdog on unregister instead of explicitly
calling hpwdt_stop() in hpwdt_exit().
Signed-off-by: Jerry Hoemann <jerry.hoemann@hpe.com >
Reviewed-by: Guenter Roeck <linux@roeck-us.net >
Signed-off-by: Guenter Roeck <linux@roeck-us.net >
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org >
2019-07-08 16:10:08 +02:00
Stefan Wahren
215e06f0d1
watchdog: bcm2835_wdt: Fix module autoload
...
The commit 5e6acc3e67 ("bcm2835-pm: Move bcm2835-watchdog's DT probe
to an MFD.") broke module autoloading on Raspberry Pi. So add a
module alias this fix this.
Signed-off-by: Stefan Wahren <wahrenst@gmx.net >
Reviewed-by: Guenter Roeck <linux@roeck-us.net >
Signed-off-by: Guenter Roeck <linux@roeck-us.net >
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org >
2019-07-08 16:08:32 +02:00
Eugen Hristev
8632944841
watchdog: sama5d4: fix WDD value to be always set to max
...
WDD value must be always set to max (0xFFF) otherwise the hardware
block will reset the board on the first ping of the watchdog.
Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com >
Reviewed-by: Guenter Roeck <linux@roeck-us.net >
Signed-off-by: Guenter Roeck <linux@roeck-us.net >
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org >
2019-07-08 16:08:32 +02:00
Wolfram Sang
e14651352a
watchdog: xen_wdt: drop warning after registering device
...
The core will print out details now.
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com >
Signed-off-by: Guenter Roeck <linux@roeck-us.net >
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org >
2019-07-08 15:13:18 +02:00
Wolfram Sang
f848a15347
watchdog: wm831x_wdt: drop warning after registering device
...
The core will print out details now.
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com >
Signed-off-by: Guenter Roeck <linux@roeck-us.net >
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org >
2019-07-08 15:13:18 +02:00
Wolfram Sang
c8c844f28b
watchdog: ts4800_wdt: drop warning after registering device
...
The core will print out details now.
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com >
Signed-off-by: Guenter Roeck <linux@roeck-us.net >
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org >
2019-07-08 15:13:17 +02:00
Wolfram Sang
e290eb8c23
watchdog: tegra_wdt: drop warning after registering device
...
The core will print out details now.
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com >
Signed-off-by: Guenter Roeck <linux@roeck-us.net >
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org >
2019-07-08 15:13:17 +02:00
Wolfram Sang
913b187d12
watchdog: stmp3xxx_rtc_wdt: drop warning after registering device
...
The core will print out details now.
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com >
Signed-off-by: Guenter Roeck <linux@roeck-us.net >
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org >
2019-07-08 15:13:17 +02:00
Wolfram Sang
71777442df
watchdog: stm32_iwdg: drop warning after registering device
...
The core will print out details now.
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com >
Signed-off-by: Guenter Roeck <linux@roeck-us.net >
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org >
2019-07-08 15:13:16 +02:00
Wolfram Sang
7283b217ae
watchdog: st_lpc_wdt: drop warning after registering device
...
The core will print out details now.
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com >
Signed-off-by: Guenter Roeck <linux@roeck-us.net >
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org >
2019-07-08 15:13:16 +02:00
Wolfram Sang
d311048eb0
watchdog: sprd_wdt: drop warning after registering device
...
The core will print out details now.
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com >
Signed-off-by: Guenter Roeck <linux@roeck-us.net >
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org >
2019-07-08 15:13:16 +02:00
Wolfram Sang
199801cd7a
watchdog: sp805_wdt: drop warning after registering device
...
The core will print out details now.
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com >
Signed-off-by: Guenter Roeck <linux@roeck-us.net >
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org >
2019-07-08 15:13:15 +02:00
Wolfram Sang
d41e3f4ee5
watchdog: sp5100_tco: drop warning after registering device
...
The core will print out details now.
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com >
Signed-off-by: Guenter Roeck <linux@roeck-us.net >
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org >
2019-07-08 15:13:15 +02:00
Wolfram Sang
24b8eb7408
watchdog: sama5d4_wdt: drop warning after registering device
...
The core will print out details now.
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com >
Signed-off-by: Guenter Roeck <linux@roeck-us.net >
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org >
2019-07-08 15:13:14 +02:00
Wolfram Sang
386f465ae6
watchdog: s3c2410_wdt: drop warning after registering device
...
The core will print out details now.
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com >
Signed-off-by: Guenter Roeck <linux@roeck-us.net >
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org >
2019-07-08 15:13:14 +02:00
Wolfram Sang
2df87cfd8e
watchdog: rave-sp-wdt: drop warning after registering device
...
The core will print out details now.
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com >
Signed-off-by: Guenter Roeck <linux@roeck-us.net >
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org >
2019-07-08 15:13:14 +02:00
Wolfram Sang
ccbf872a3e
watchdog: qcom-wdt: drop warning after registering device
...
The core will print out details now.
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com >
Signed-off-by: Guenter Roeck <linux@roeck-us.net >
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org >
2019-07-08 15:13:13 +02:00
Wolfram Sang
375611e561
watchdog: pnx4008_wdt: drop warning after registering device
...
The core will print out details now.
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com >
Signed-off-by: Guenter Roeck <linux@roeck-us.net >
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org >
2019-07-08 15:13:13 +02:00
Wolfram Sang
90984aa137
watchdog: pic32-wdt: drop warning after registering device
...
The core will print out details now.
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com >
Signed-off-by: Guenter Roeck <linux@roeck-us.net >
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org >
2019-07-08 15:13:12 +02:00
Wolfram Sang
888ca35d74
watchdog: pic32-dmt: drop warning after registering device
...
The core will print out details now.
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com >
Signed-off-by: Guenter Roeck <linux@roeck-us.net >
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org >
2019-07-08 15:13:12 +02:00
Wolfram Sang
0fa6cf71cd
watchdog: of_xilinx_wdt: drop warning after registering device
...
The core will print out details now.
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com >
Signed-off-by: Guenter Roeck <linux@roeck-us.net >
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org >
2019-07-08 15:13:12 +02:00
Wolfram Sang
ab9113d046
watchdog: npcm_wdt: drop warning after registering device
...
The core will print out details now.
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com >
Signed-off-by: Guenter Roeck <linux@roeck-us.net >
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org >
2019-07-08 15:13:11 +02:00
Wolfram Sang
0a33dce48f
watchdog: nic7018_wdt: drop warning after registering device
...
The core will print out details now.
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com >
Signed-off-by: Guenter Roeck <linux@roeck-us.net >
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org >
2019-07-08 15:13:11 +02:00
Wolfram Sang
9076eb5dff
watchdog: ni903x_wdt: drop warning after registering device
...
The core will print out details now.
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com >
Signed-off-by: Guenter Roeck <linux@roeck-us.net >
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org >
2019-07-08 15:13:10 +02:00
Wolfram Sang
a239027325
watchdog: mpc8xxx_wdt: drop warning after registering device
...
The core will print out details now.
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com >
Signed-off-by: Guenter Roeck <linux@roeck-us.net >
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org >
2019-07-08 15:13:10 +02:00
Wolfram Sang
86fc186578
watchdog: menf21bmc_wdt: drop warning after registering device
...
The core will print out details now.
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com >
Signed-off-by: Guenter Roeck <linux@roeck-us.net >
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org >
2019-07-08 15:13:10 +02:00
Wolfram Sang
eddeb07bd6
watchdog: mena21_wdt: drop warning after registering device
...
The core will print out details now.
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com >
Signed-off-by: Guenter Roeck <linux@roeck-us.net >
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org >
2019-07-08 15:13:09 +02:00
Wolfram Sang
2b7ebd3489
watchdog: mei_wdt: drop warning after registering device
...
The core will print out details now.
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com >
Signed-off-by: Guenter Roeck <linux@roeck-us.net >
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org >
2019-07-08 15:13:09 +02:00
Wolfram Sang
9daa2e1436
watchdog: max77620_wdt: drop warning after registering device
...
The core will print out details now.
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com >
Signed-off-by: Guenter Roeck <linux@roeck-us.net >
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org >
2019-07-08 15:13:09 +02:00
Wolfram Sang
7da547350f
watchdog: loongson1_wdt: drop warning after registering device
...
The core will print out details now.
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com >
Signed-off-by: Guenter Roeck <linux@roeck-us.net >
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org >
2019-07-08 15:13:08 +02:00
Wolfram Sang
9ee644c932
watchdog: jz4740_wdt: drop warning after registering device
...
The core will print out details now.
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com >
Signed-off-by: Guenter Roeck <linux@roeck-us.net >
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org >
2019-07-08 15:13:08 +02:00
Wolfram Sang
ca2d449070
watchdog: intel-mid_wdt: drop warning after registering device
...
The core will print out details now.
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com >
Signed-off-by: Guenter Roeck <linux@roeck-us.net >
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org >
2019-07-08 15:13:08 +02:00
Wolfram Sang
31f4a2cf8f
watchdog: imx_sc_wdt: drop warning after registering device
...
The core will print out details now.
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com >
Signed-off-by: Guenter Roeck <linux@roeck-us.net >
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org >
2019-07-08 15:13:07 +02:00
Wolfram Sang
63c1cd5345
watchdog: imx2_wdt: drop warning after registering device
...
The core will print out details now.
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com >
Signed-off-by: Guenter Roeck <linux@roeck-us.net >
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org >
2019-07-08 15:13:07 +02:00
Wolfram Sang
8f952c015f
watchdog: ie6xx_wdt: drop warning after registering device
...
The core will print out details now.
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com >
Signed-off-by: Guenter Roeck <linux@roeck-us.net >
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org >
2019-07-08 15:13:07 +02:00
Wolfram Sang
34b8580fe3
watchdog: i6300esb: drop warning after registering device
...
The core will print out details now.
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com >
Signed-off-by: Guenter Roeck <linux@roeck-us.net >
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org >
2019-07-08 15:13:06 +02:00
Wolfram Sang
f51540b83f
watchdog: hpwdt: drop warning after registering device
...
The core will print out details now.
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com >
Signed-off-by: Guenter Roeck <linux@roeck-us.net >
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org >
2019-07-08 15:13:06 +02:00
Wolfram Sang
2d065d2e9b
watchdog: ftwdt010_wdt: drop warning after registering device
...
The core will print out details now.
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com >
Signed-off-by: Guenter Roeck <linux@roeck-us.net >
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org >
2019-07-08 15:13:06 +02:00
Wolfram Sang
cdad26977e
watchdog: digicolor_wdt: drop warning after registering device
...
The core will print out details now.
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com >
Signed-off-by: Guenter Roeck <linux@roeck-us.net >
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org >
2019-07-08 15:13:05 +02:00
Wolfram Sang
6ab6d33ee0
watchdog: davinci_wdt: drop warning after registering device
...
The core will print out details now.
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com >
Signed-off-by: Guenter Roeck <linux@roeck-us.net >
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org >
2019-07-08 15:13:05 +02:00