]> git.baikalelectronics.ru Git - kernel.git/commit
watchdog: iTCO_wdt: Add PMC specific noreboot update api
authorKuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com>
Sun, 9 Apr 2017 22:00:19 +0000 (15:00 -0700)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 28 Apr 2017 18:51:28 +0000 (21:51 +0300)
commitb90ca4838615597edd10806243a8b798285365f1
tree9e76be258e33798e3582fc34878a7ef31f7db4eb
parentb3582e18c3d8a28a7f1fd640d4998936f1553fc9
watchdog: iTCO_wdt: Add PMC specific noreboot update api

In some SoCs, setting noreboot bit needs modification to
PMC GC registers. But not all PMC drivers allow other drivers
to memory map their GC region. This could create mem request
conflict in watchdog driver. So this patch adds facility to allow
PMC drivers to pass noreboot update function to watchdog
drivers via platform data.

Signed-off-by: Kuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com>
Acked-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/watchdog/iTCO_wdt.c
include/linux/platform_data/itco_wdt.h