27 Apr, 2018

1 commit


14 Aug, 2017

1 commit


30 Jul, 2017

1 commit


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 Behun

    create mode 100644 drivers/watchdog/orion_wdt.c
    Signed-off-by: Stefan Roese

    Marek Behún
     

07 Jul, 2017

2 commits


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 only

    All 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

    Simon Glass
     

31 May, 2017

1 commit


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

    Tom Rini
     

10 May, 2017

1 commit


09 May, 2017

1 commit

  • - Remove "probe" function from sandbox wdt driver
    - Fix include order

    Fixes: 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

    Maxim Sloyko
     

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

    maxims@google.com
     
  • 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

    maxims@google.com
     

18 Apr, 2017

1 commit


09 Apr, 2017

1 commit


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

    Ye Li
     

04 Oct, 2016

1 commit


20 Jul, 2016

1 commit


08 Jan, 2016

1 commit


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

    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

    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

    Peng Fan
     

13 Sep, 2015

1 commit


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

    Sebastian Siewior
     

25 Feb, 2015

1 commit


08 Feb, 2015

1 commit


25 Sep, 2014

1 commit


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

    Wang Huan
     

08 Jul, 2014

1 commit


05 Jul, 2014

1 commit


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.h

    Makefile 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/Makefile

    include/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

    Albert ARIBAUD
     

01 Nov, 2013

2 commits


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

    Michal Simek
     

15 Oct, 2013

1 commit


28 Aug, 2013

1 commit


24 Jul, 2013

1 commit


08 Jun, 2013

1 commit


03 Jun, 2013

1 commit


13 May, 2013

1 commit