All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/4] watchdog: add driver for Renesas Gen3 WDT watchdogs
@ 2016-04-01 11:56 Wolfram Sang
  2016-04-01 11:56 ` [PATCH v2 1/4] watchdog: renesas-wdt: add driver Wolfram Sang
                   ` (5 more replies)
  0 siblings, 6 replies; 31+ messages in thread
From: Wolfram Sang @ 2016-04-01 11:56 UTC (permalink / raw)
  To: linux-watchdog; +Cc: Wolfram Sang, linux-renesas-soc

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


^ permalink raw reply	[flat|nested] 31+ messages in thread

end of thread, other threads:[~2016-05-20  4:13 UTC | newest]

Thread overview: 31+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-01 11:56 [PATCH v2 0/4] watchdog: add driver for Renesas Gen3 WDT watchdogs Wolfram Sang
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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.