This patch series improves the watchdog driver used on the Broadcom bcm47xx SoCs. The watchdog driver does not access the functions directly any more, but it registers as a platform device driver and ssb and bcma are registering a device for this watchdog driver. This also adds support for SoCs with a power management unit (PMU), which have different clock rates. This code is currently based on the wireless-testing/master tree by John Linville, because there are some changes in ssb and bcma in that tree queued for 3.8 which will conflict with these changes, if this would be based on an other tree. I have no problem with rebasing this onto any other tree. Hauke Mehrtens (15): watchdog: bcm47xx_wdt.c: convert to watchdog core api watchdog: bcm47xx_wdt.c: use platform device watchdog: bcm47xx_wdt.c: rename ops methods watchdog: bcm47xx_wdt.c: rename wdt_timeout to timeout watchdog: bcm47xx_wdt.c: add hard timer bcma: add bcma_chipco_alp_clock bcma: set the pmu watchdog if available bcma: add methods for watchdog driver bcma: register watchdog driver ssb: get alp clock from devices with PMU ssb: set the pmu watchdog if available ssb: add methods for watchdog driver ssb: extif: add check for max value in watchdog ssb: extif: add methods for watchdog driver ssb: register watchdog driver drivers/bcma/bcma_private.h | 2 + drivers/bcma/driver_chipcommon.c | 114 ++++++++- drivers/bcma/main.c | 8 + drivers/ssb/driver_chipcommon.c | 99 +++++++- drivers/ssb/driver_chipcommon_pmu.c | 27 +++ drivers/ssb/driver_extif.c | 24 +- drivers/ssb/embedded.c | 35 +++ drivers/ssb/main.c | 8 + drivers/ssb/ssb_private.h | 31 +++ drivers/watchdog/Kconfig | 1 + drivers/watchdog/bcm47xx_wdt.c | 339 ++++++++++++--------------- include/linux/bcm47xx_wdt.h | 28 +++ include/linux/bcma/bcma_driver_chipcommon.h | 7 +- include/linux/ssb/ssb.h | 2 + include/linux/ssb/ssb_driver_chipcommon.h | 5 +- include/linux/ssb/ssb_driver_extif.h | 10 +- 16 files changed, 522 insertions(+), 218 deletions(-) create mode 100644 include/linux/bcm47xx_wdt.h -- 1.7.10.4