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)
commit140c91b26ebc48d80c6ac3ef06953b17d7fb3785
tree9e76be258e33798e3582fc34878a7ef31f7db4eb
parentf583a884afecb16fcb8200ebb9956ea369aff57f
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