linux-watchdog.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Wolfram Sang <wsa@the-dreams.de>
To: linux-watchdog@vger.kernel.org
Cc: Wolfram Sang <wsa@the-dreams.de>, linux-renesas-soc@vger.kernel.org
Subject: [PATCH v2 0/4] watchdog: add driver for Renesas Gen3 WDT watchdogs
Date: Fri,  1 Apr 2016 13:56:22 +0200	[thread overview]
Message-ID: <1459511786-4286-1-git-send-email-wsa@the-dreams.de> (raw)

Here is V2 of this series with the following changes:

* include bitops.h
* s/unsigned/unsigned int/
* drop set_timeout() because core does it already
* add get_timeleft()
* don't make "nowayout" a readable parameter
* use "watchdog" instead of "wdt" in the dt bindings

The dts and defconfig changes should go via Simon's tree once the driver is
accepted.

To use this driver, you need a recent firmware/uboot which initializes the
WDTRSTCR register which can only be changed in secure mode. 'md 0xe6160054 4'
should give you 0x8002 or something else with bit 15 set and bit 0 cleared.

Also, you need the clock enablement patches which just have been posted in
their newest version to the renesas-soc mailing list and are also in
close-to-be-applied state.

A complete branch to test can be found here:

git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git renesas/v8-wdt

Please review, test, comment...

Thanks,

   Wolfram


Wolfram Sang (4):
  watchdog: renesas-wdt: add driver
  arm64: dts: r8a7795: Add RWDT node
  arm64: dts: salvator-x: Enable watchdog timer
  arm64: defconfig: enable Renesas Watchdog Timer

 .../devicetree/bindings/watchdog/renesas-wdt.txt   |  25 +++
 arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts |   5 +
 arch/arm64/boot/dts/renesas/r8a7795.dtsi           |   8 +
 arch/arm64/configs/defconfig                       |   2 +
 drivers/watchdog/Kconfig                           |   8 +
 drivers/watchdog/Makefile                          |   1 +
 drivers/watchdog/renesas_wdt.c                     | 213 +++++++++++++++++++++
 7 files changed, 262 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/watchdog/renesas-wdt.txt
 create mode 100644 drivers/watchdog/renesas_wdt.c

-- 
2.7.0


             reply	other threads:[~2016-04-01 11:56 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-01 11:56 Wolfram Sang [this message]
2016-04-01 11:56 ` [PATCH v2 1/4] watchdog: renesas-wdt: add driver Wolfram Sang
     [not found]   ` <57010C13.7040007@rempel-privat.de>
     [not found]     ` <20160404104508.GA1383@katana>
     [not found]       ` <57025C5A.2060704@de.bosch.com>
2016-04-04 12:36         ` Wolfram Sang
2016-04-04 14:08           ` Guenter Roeck
     [not found]             ` <57035A6A.3020601@de.bosch.com>
2016-04-05 18:47               ` Guenter Roeck
     [not found]                 ` <5704A10C.10701@de.bosch.com>
2016-04-06 15:36                   ` Guenter Roeck
2016-04-01 11:56 ` [PATCH v2 2/4] arm64: dts: r8a7795: Add RWDT node Wolfram Sang
2016-04-04  8:41   ` Geert Uytterhoeven
2016-04-04 14:00   ` Guenter Roeck
2016-04-04 14:06     ` Wolfram Sang
2016-05-18  9:38     ` Wolfram Sang
2016-05-20  4:13       ` Simon Horman
2016-04-01 11:56 ` [PATCH v2 3/4] arm64: dts: salvator-x: Enable watchdog timer Wolfram Sang
2016-04-04  8:44   ` Geert Uytterhoeven
2016-04-04 14:01   ` Guenter Roeck
2016-05-18  9:39     ` Wolfram Sang
2016-05-20  4:13       ` Simon Horman
2016-04-01 11:56 ` [PATCH v2 4/4] arm64: defconfig: enable Renesas Watchdog Timer Wolfram Sang
2016-04-04  8:45   ` Geert Uytterhoeven
2016-04-04 14:05   ` Guenter Roeck
2016-04-04 14:51 ` [PATCH v2 0/4] watchdog: add driver for Renesas Gen3 WDT watchdogs Geert Uytterhoeven
2016-04-04 14:59   ` Wolfram Sang
2016-04-04 15:21     ` Geert Uytterhoeven
2016-04-04 15:23       ` Wolfram Sang
2016-04-04 15:25       ` Guenter Roeck
2016-04-04 17:02         ` Geert Uytterhoeven
2016-04-04 17:52           ` Guenter Roeck
2016-04-04 18:14             ` Geert Uytterhoeven
2016-04-04 18:23               ` Guenter Roeck
2016-04-04 19:12               ` Wolfram Sang
2016-05-14 16:45 ` Wim Van Sebroeck

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1459511786-4286-1-git-send-email-wsa@the-dreams.de \
    --to=wsa@the-dreams.de \
    --cc=linux-renesas-soc@vger.kernel.org \
    --cc=linux-watchdog@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).