27 Apr, 2018
1 commit
-
We will use watch dog to reset system for i.MX8MQ not through the PSCI.
Build watchdog driver for imx8mq.Signed-off-by: Ye Li
14 Aug, 2017
1 commit
-
Convert name to show explicitly that we are using milliseconds. For a
watchdog timer this is precise enough.No functional change intended.
Signed-off-by: Andy Shevchenko
Signed-off-by: Simon Glass
Reviewed-by: Bin Meng
30 Jul, 2017
1 commit
-
Add watchdog driver for Intel Tangier based platforms.
Signed-off-by: Vincent Tinelli
Signed-off-by: Felipe Balbi
Signed-off-by: Andy Shevchenko
Reviewed-by: Bin Meng
12 Jul, 2017
1 commit
-
The Orion watchdog can be found on some Marvell Armada chips.
This driver is based on the code by Tomas Hlavacek in the CZ.NIC
turris-omnia-uboot repository, which can be found at
https://gitlab.labs.nic.cz/turris/turris-omnia-uboot, and that
one is based on code by Sylver Bruneau. His code is already in
mainline Linux kernel.The code uses the new driver model API.
Signed-off-by: Tomas Hlavacek
Signed-off-by: Marek Behuncreate mode 100644 drivers/watchdog/orion_wdt.c
Signed-off-by: Stefan Roese
07 Jul, 2017
2 commits
-
There is no need to duplicate same option with different name.
Kill HW_WATCHDOG_TIMEOUT_MS in favor of WATCHDOG_TIMEOUT_MSECS.
Signed-off-by: Andy Shevchenko
Reviewed-by: Simon Glass
Reviewed-by: Bin Meng
Reviewed-by: Heiko Schocher -
Fix spelling Resettting -> Resetting.
No functional change intended.Signed-off-by: Andy Shevchenko
Reviewed-by: Simon Glass
Reviewed-by: Bin Meng
Reviewed-by: Heiko Schocher
01 Jun, 2017
1 commit
-
These support the flat device tree. We want to use the dev_read_..()
prefix for functions that support both flat tree and live tree. So rename
the existing functions to avoid confusion.In the end we will have:
1. dev_read_addr...() - works on devices, supports flat/live tree
2. devfdt_get_addr...() - current functions, flat tree only
3. of_get_address() etc. - new functions, live tree onlyAll drivers will be written to use 1. That function will in turn call
either 2 or 3 depending on whether the flat or live tree is in use.Note this involves changing some dead code - the imx_lpi2c.c file.
Signed-off-by: Simon Glass
31 May, 2017
1 commit
-
This driver is a simplified version of linux/drivers/watchdog/bcm63xx_wdt.c
Signed-off-by: Álvaro Fernández Rojas
Reviewed-by: Simon Glass
15 May, 2017
1 commit
-
Move this entry to Kconfig. As it is a hardware watchdog, select
HW_WATCHDOG. While we could default to enabling this for all platforms,
it is currently only enabled by default on AM33XX, so keep that logic
today.Cc: Roger Meier
Signed-off-by: Tom Rini
10 May, 2017
1 commit
-
Signed-off-by: Paolo Pisati
09 May, 2017
1 commit
-
- Remove "probe" function from sandbox wdt driver
- Fix include orderFixes: 0753bc2d30d7 ("dm: Simple Watchdog uclass")
Signed-off-by: Maxim Sloyko
[trini: Create as the delta between v1 (applied) and v2 (should have
applied)].
Signed-off-by: Tom Rini
08 May, 2017
2 commits
-
This driver supports ast2500 and ast2400 SoCs.
Only ast2500 supports reset_mask and thus the option of resettting
individual peripherals using WDT.Signed-off-by: Maxim Sloyko
Reviewed-by: Simon Glass -
This is a simple uclass for Watchdog Timers. It has four operations:
start, restart, reset, stop. Drivers must implement start, restart and
stop operations, while implementing reset is optional: It's default
implementation expires watchdog timer in one clock tick.Signed-off-by: Maxim Sloyko
Reviewed-by: Simon Glass
18 Apr, 2017
1 commit
-
These drivers have no user since commit ea3310e8aafa ("Blackfin:
Remove").Signed-off-by: Masahiro Yamada
Reviewed-by: Simon Glass
Acked-by: Michal Simek
Acked-by: Jaehoon Chung
09 Apr, 2017
1 commit
-
The OMAP WDT IP block requires to be stopped before any write to its
registers is performed.This problem has been thoroughly described in Linux kernel:
"watchdog: omap: assert the counter being stopped before reprogramming:
SHA1: 530c11d432727c697629ad5f9d00ee8e2864d453Signed-off-by: Lukasz Majewski
Reviewed-by: Tom Rini
17 Mar, 2017
1 commit
-
This driver implements the HW WATCHDOG functions. Which needs
to set CONFIG_HW_WATCHDOG to use them. This is disabled by default for
mx7ulp.Use watchdog for reset cpu. Implement this in the driver.
Need to define CONFIG_ULP_WATCHDOG to build it.Signed-off-by: Peng Fan
Signed-off-by: Ye Li
Cc: Stefano Babic
04 Oct, 2016
1 commit
-
Currently the driver asserts WDOG_B by clearing WCR_WDA bit when
enabling the watchdog. Do not clear WCR_WDA.Signed-off-by: Ross Parker
Cc: Stefano Babic
20 Jul, 2016
1 commit
-
This allows to overwrite reset_cpu function in case a board level
reset is preferred (e.g. through PMIC).Signed-off-by: Stefan Agner
08 Jan, 2016
1 commit
-
The problem is that timeout bits in WCR register were leaved unchanged.
So previously set timeout value was applied and therefore 'reset'
command takes any value up to two minutes, depending on previous
watchdog settings, instead of minimal 0.5 seconds.Signed-off-by: Andrey Skvortsov
13 Oct, 2015
2 commits
-
Since commit 623d96e89aca6("imx: wdog: correct wcr register settings")
issuing a 'reset' command causes the system to hang.Unlike i.MX and Vybrid, the watchdog controller on LS102x is big-endian.
This means that the watchdog on LS1021 has been working by accident as
it does not use the big-endian accessors in drivers/watchdog/imx_watchdog.c.
Commit 623d96e89aca6("imx: wdog: correct wcr register settings") only
revelead the endianness problem on LS102x.In order to fix the reset hang, introduce a reset_cpu() implementation that
is specific for ls102x, which accesses the watchdog WCR register in big-endian
format. All that is required to reset LS102x is to clear the SRS bit.This approach is a temporary workaround to avoid a regression for LS102x
in the 2015.10 release. The proper fix is to make the watchdog driver
endian-aware, so that it can work for i.MX, Vybrid and LS102x.Reported-by: Sinan Akman
Tested-by: Sinan Akman
Reviewed-by: Wolfgang Denk
Signed-off-by: Fabio Estevam -
Create fsl_wdog.h to store the watchdog registers and bit fields.
This can be useful when accesses to the watchdog block are made from other
parts, such as arch/arm/ cpu code.Signed-off-by: Fabio Estevam
20 Sep, 2015
1 commit
-
We should not simple use "writew(WCR_WDE, &wdog->wcr)" to set
wcr, since this will override bits set before reset_cpu.Use clrsetbits_le16 instead of writew to fix this issue.
Signed-off-by: Peng Fan
Cc: Stefano Babic
Cc: Fabio Estevam
Cc: Sebastian Siewior
Tested-by: Fabio Estevam
13 Sep, 2015
1 commit
-
Add imx-common cpu support for imx7d SoC
- Update reset_cause for imx7d
- Enable watchdog driver built for imx7dSigned-off-by: Adrian Alonso
Signed-off-by: Peng Fan
25 Mar, 2015
1 commit
-
with WCR_WDW set, the watchdog won't trigger if we bootet linux and idle
around while the watchdog is not triggered. It seems the timer makes
progress very slowly if at all. I managed to remain 20minutes alive
while the timeout was set to 60secs. It reboots within 60secs if I start
a busyloop in userland (something like "while (1) { }").While I don't see a reason why the WDT should not be running while the
CPU is in idle, I'm dropping this bit.Signed-off-by: Sebastian Andrzej Siewior
Acked-by: Stefano Babic
25 Feb, 2015
1 commit
-
This is still a non-generic board.
Signed-off-by: Masahiro Yamada
Cc: Chan-Taek Park
Acked-by: Marek Vasut
08 Feb, 2015
1 commit
-
make the HW WDT timeout configurable through the define
CONFIG_AT91_HW_WDT_TIMEOUT.Signed-off-by: Heiko Schocher
25 Sep, 2014
1 commit
-
This would be useful to start moving various config options.
Signed-off-by: Masahiro Yamada
Acked-by: Simon Glass
Tested-by: Simon Glass
09 Sep, 2014
1 commit
-
The QorIQ LS1 family is built on Layerscape architecture,
the industry's first software-aware, core-agnostic networking
architecture to offer unprecedented efficiency and scale.Freescale LS102xA is a set of SoCs combines two ARM
Cortex-A7 cores that have been optimized for high
reliability and pack the highest level of integration
available for sub-3 W embedded communications processors
with Layerscape architecture and with a comprehensive
enablement model focused on ease of programmability.Signed-off-by: Alison Wang
Signed-off-by: Jason Jin
Signed-off-by: Jingchang Lu
Signed-off-by: Prabhakar Kushwaha
08 Jul, 2014
1 commit
-
get_sclk() was not defined in bfin_wdt.c, include the corresponding header.
Cc: Sonic Zhang
Signed-off-by: Vasili Galka
05 Jul, 2014
1 commit
-
To add the DesignWare watchdog driver support. It required
information such as register base address and clock info from
configuration header file within include/configs folder.Signed-off-by: Chin Liang See
Cc: Anatolij Gustschin
Cc: Albert Aribaud
Cc: Heiko Schocher
Cc: Tom Rini
10 Nov, 2013
1 commit
-
Conflicts:
arch/arm/cpu/arm926ejs/mxs/Makefile
board/compulab/cm_t35/Makefile
board/corscience/tricorder/Makefile
board/ppcag/bg0900/Makefile
drivers/bootcount/Makefile
include/configs/omap4_common.h
include/configs/pdnb3.hMakefile conflicts are due to additions/removals of
object files on the ARM branch vs KBuild introduction
on the main branch. Resolution consists in adjusting
the list of object files in the main branch version.
This also applies to two files which are not listed
as conflicting but had to be modified:board/compulab/common/Makefile
board/udoo/Makefileinclude/configs/omap4_common.h conflicts are due to
the OMAP4 conversion to ti_armv7_common.h on the ARM
side, and CONFIG_SYS_HZ removal on the main side.
Resolution is to convert as this icludes removal of
CONFIG_SYS_HZ.include/configs/pdnb3.h is due to a removal on ARM side.
Trivial resolution is to remove the file.Note: 'git show' will also list two files just because
they are new:include/configs/am335x_igep0033.h
include/configs/omap3_igep00x0.h
01 Nov, 2013
2 commits
-
Signed-off-by: Masahiro Yamada
-
Currently the driver clears WCR_SRS bit when enabling
the watchdog and this causes a software reset. Do not
clear WCR_SRS.Signed-off-by: Anatolij Gustschin
16 Oct, 2013
1 commit
-
The patch:
"blackfin: Move blackfin watchdog driver out of the blackfin arch folder."
(sha1: e9a389a18477c1c57a0b30e9ea8f4d38c6e26e63)
changed hw_watchdog_init() prototype which didn't match
with Microblaze one.
This patch fixes the driver and Microblaze initialization.Signed-off-by: Michal Simek
15 Oct, 2013
1 commit
-
Signed-off-by: Wolfgang Denk
28 Aug, 2013
1 commit
-
Add TI OMAP 16xx & 24xx/34xx 32KHz (non-secure) watchdog support.
Signed-off-by: Heiko Schocher
Reviewed-by: Tom Rini
Cc: Albert Aribaud
24 Jul, 2013
1 commit
-
Signed-off-by: Wolfgang Denk
[trini: Fixup common/cmd_io.c]
Signed-off-by: Tom Rini
08 Jun, 2013
1 commit
-
Conflicts:
drivers/serial/Makefile
03 Jun, 2013
1 commit
-
This patch adds watchdog support for Vybrid VF610 platform.
Signed-off-by: Alison Wang
13 May, 2013
1 commit
-
- Enable hw_watchdog_init() in watchdog.h if CONFIG_HW_WATCHDOG is defined.
- Move blackfin hw watchdog driver to the generic driver folder.
- Call hw_watchdog_init() from blackfin board init code.
- Reuse macro CONFIG_WATCHDOG_TIMEOUT_MSECS
- Update README.watchdog accordinglySigned-off-by: Sonic Zhang