All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 0/3] fix bcm6345 watchdog on broadcom board
@ 2019-05-03 17:43 Philippe Reynes
  2019-05-03 17:43 ` [U-Boot] [PATCH 1/3] watchdog: bcm6345: callback start use tick instead of ms Philippe Reynes
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Philippe Reynes @ 2019-05-03 17:43 UTC (permalink / raw)
  To: u-boot

Since the commit: commit 06985289d452 ("watchdog: Implement generic
watchdog_reset() version"), the watchdog is always started and a default
timeout of 60000 ms is used. But the driver for the bcm6345 watchdog use
this timeout in ms as tick. So a board using this driver reboot
immediately.

The first commit in this serie fix the driver of the bcm6345 watchdog by
converting the timeout in ms to tick before writing the register. The two
others commits fix the clock used by boards bcm96858xref and bcm963158.

This serie was tested on:
- bcm6838 (mips)
- bcm96858xref (arm) 
- bcm963158 (arm)

Philippe Reynes (3):
  watchdog: bcm6345: callback start use tick instead of ms
  dt: bcm6858: watchdog should use a 50Mhz clock
  dt: bcm63158: watchdog should use a 50Mhz clock

 arch/arm/dts/bcm63158.dtsi     | 10 ++++++++--
 arch/arm/dts/bcm6858.dtsi      | 10 ++++++++--
 drivers/watchdog/bcm6345_wdt.c | 21 ++++++++++++++++-----
 3 files changed, 32 insertions(+), 9 deletions(-)

-- 
2.7.4

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

end of thread, other threads:[~2019-05-19 20:45 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-05-03 17:43 [U-Boot] [PATCH 0/3] fix bcm6345 watchdog on broadcom board Philippe Reynes
2019-05-03 17:43 ` [U-Boot] [PATCH 1/3] watchdog: bcm6345: callback start use tick instead of ms Philippe Reynes
2019-05-06  7:33   ` Stefan Roese
2019-05-19 20:45   ` Tom Rini
2019-05-03 17:43 ` [U-Boot] [PATCH 2/3] dt: bcm6858: watchdog should use a 50Mhz clock Philippe Reynes
2019-05-06  7:44   ` Stefan Roese
2019-05-19 20:45   ` Tom Rini
2019-05-03 17:43 ` [U-Boot] [PATCH 3/3] dt: bcm63158: " Philippe Reynes
2019-05-06  7:45   ` Stefan Roese
2019-05-06 12:38     ` Philippe REYNES
2019-05-06 12:50       ` Stefan Roese
2019-05-06 13:59         ` Philippe REYNES
2019-05-19 20:45   ` Tom Rini

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.