08 Jul, 2019

1 commit


06 May, 2019

1 commit

  • Use device managed functions to simplify error handling, reduce
    source code size, improve readability, and reduce the likelyhood of bugs.
    Other improvements as listed below.

    The conversion was done automatically with coccinelle using the
    following semantic patches. The semantic patches and the scripts
    used to generate this commit log are available at
    https://github.com/groeck/coccinelle-patches

    - Drop assignments to otherwise unused variables
    - Drop empty remove function
    - Introduce local variable 'struct device *dev' and use it instead of
    dereferencing it repeatedly
    - Use devm_watchdog_register_driver() to register watchdog device

    Signed-off-by: Guenter Roeck
    Signed-off-by: Wim Van Sebroeck

    Guenter Roeck
     

22 Oct, 2018

1 commit


29 Dec, 2015

1 commit

  • This watchdog is instantiated in a FPGA that is memory mapped. It is
    made of only one register, called the feed register. Writing to this
    register will re-arm the watchdog for a given time (and enable it if it
    was disable). It can be disabled by writing a special value into it.

    It is part of a syscon block, and the watchdog register offset in this
    block varies from board to board. This offset is passed in the syscon
    property after the phandle to the syscon node.

    Signed-off-by: Damien Riegel
    Acked-by: Rob Herring
    Signed-off-by: Guenter Roeck
    Signed-off-by: Wim Van Sebroeck

    Damien Riegel