Matt Fleming
420b54de25
mfd: watchdog: iTCO_wdt: Expose watchdog properties using platform data
...
Intel Sunrisepoint (Skylake PCH) has the iTCO watchdog accessible across
the SMBus, unlike previous generations of PCH/ICH where it was on the
LPC bus. Because it's on the SMBus, it doesn't make sense to pass around
a 'struct lpc_ich_info', and leaking the type of bus into the iTCO
watchdog driver is kind of backwards anyway.
This change introduces a new 'struct itco_wdt_platform_data' for use
inside the iTCO watchdog driver and by the upcoming Intel Sunrisepoint
code, which neatly avoids having to include lpc_ich headers in the i801
i2c driver.
This change is overdue because lpc_ich_info has already found its way
into other TCO watchdog users, notably the intel_pmc_ipc driver where
the watchdog actually isn't on the LPC bus as far as I can see.
A simple translation layer is provided for converting from the existing
'struct lpc_ich_info' inside the lpc_ich mfd driver.
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Acked-by: Darren Hart <dvhart@linux.intel.com> [drivers/x86 refactoring]
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
2015-08-11 15:03:21 +01:00
..
2014-03-19 08:58:15 +00:00
2014-07-09 16:38:02 +01:00
2015-06-22 12:25:01 +01:00
2014-09-26 08:15:45 +01:00
2014-07-09 16:38:04 +01:00
2014-07-09 16:38:05 +01:00
2014-10-20 16:20:53 +02:00
2015-06-22 12:25:01 +01:00
2015-06-22 12:25:27 +01:00
2015-06-22 12:25:28 +01:00
2015-03-13 23:15:54 +01:00
2014-06-03 08:11:51 +01:00
2015-06-22 12:25:16 +01:00
2015-02-26 10:04:07 +00:00
2015-06-22 12:25:01 +01:00
2015-02-26 10:04:07 +00:00
2014-07-28 11:01:42 +01:00
2014-06-03 08:11:38 +01:00
2014-03-19 08:58:37 +00:00
2015-06-25 11:56:52 +02:00
2014-11-25 16:18:43 +00:00
2015-05-13 16:26:34 +01:00
2014-06-06 12:08:39 -07:00
2015-06-15 13:18:23 +01:00
2015-06-15 13:18:24 +01:00
2015-06-22 12:23:02 +01:00
2015-05-27 13:34:15 +01:00
2014-09-26 08:15:41 +01:00
2015-06-22 12:25:01 +01:00
2015-03-12 09:06:40 +00:00
2015-06-22 12:25:01 +01:00
2014-03-19 08:58:39 +00:00
2015-06-22 12:25:20 +01:00
2015-01-22 16:04:04 +00:00
2015-06-22 12:25:01 +01:00
2015-06-22 12:25:01 +01:00
2015-01-22 15:56:24 +00:00
2015-06-22 12:25:01 +01:00
2015-03-26 14:20:18 +00:00
2014-07-22 13:17:06 +01:00
2014-07-25 15:31:02 +01:00
2015-03-26 14:20:18 +00:00
2015-06-22 12:25:26 +01:00
2014-10-20 16:20:53 +02:00
2015-03-30 08:19:56 +01:00
2015-03-03 16:41:12 +00:00
2015-06-22 12:25:01 +01:00
2015-06-22 12:25:01 +01:00
2014-07-25 15:31:45 +01:00
2015-05-06 08:03:20 +02:00
2014-10-20 16:20:53 +02:00
2015-06-22 12:25:06 +01:00
2015-04-14 17:29:55 -07:00
2015-01-22 15:56:17 +00:00
2014-06-03 08:11:36 +01:00
2015-06-22 12:25:01 +01:00
2015-08-11 15:03:21 +01:00
2015-01-22 15:55:56 +00:00
2015-06-22 12:25:19 +01:00
2014-06-03 08:11:32 +01:00
2015-06-22 12:25:01 +01:00
2014-09-26 08:15:46 +01:00
2015-06-22 12:25:01 +01:00
2014-06-03 08:11:30 +01:00
2015-06-22 12:25:01 +01:00
2014-06-03 08:11:34 +01:00
2014-11-25 16:19:24 +00:00
2015-01-22 16:03:55 +00:00
2015-03-12 09:07:54 +00:00
2015-03-04 08:18:28 +00:00
2015-06-22 12:25:24 +01:00
2015-01-22 16:03:44 +00:00
2015-01-22 16:03:44 +00:00
2014-07-09 14:58:10 +01:00
2014-07-22 13:17:02 +01:00
2014-10-20 16:20:53 +02:00
2015-03-30 10:06:55 +01:00
2014-09-24 13:30:16 +01:00
2015-06-22 12:25:17 +01:00
2015-06-25 18:55:33 -07:00
2015-01-22 16:03:53 +00:00
2014-10-20 16:20:53 +02:00
2014-06-23 12:30:56 +01:00
2015-01-22 15:56:21 +00:00
2014-10-20 16:20:53 +02:00
2015-03-30 08:19:58 +01:00
2015-03-30 10:07:08 +01:00
2014-06-03 08:11:17 +01:00
2015-01-22 15:56:19 +00:00
2015-03-26 14:20:18 +00:00
2014-09-26 08:15:51 +01:00
2015-01-22 15:55:47 +00:00
2015-03-03 16:41:21 +00:00
2015-03-03 16:41:21 +00:00
2015-03-03 16:41:21 +00:00
2015-03-03 16:41:21 +00:00
2015-03-03 16:41:21 +00:00
2015-03-03 16:41:21 +00:00
2015-03-03 16:41:21 +00:00
2015-03-12 09:27:41 +00:00
2015-03-26 14:20:19 +00:00
2015-04-09 10:26:54 +01:00
2014-07-25 15:31:44 +01:00
2015-06-22 12:25:29 +01:00
2015-03-12 09:08:12 +00:00
2014-10-20 16:20:53 +02:00
2015-01-22 15:56:26 +00:00
2014-10-20 16:20:53 +02:00
2014-10-20 16:20:53 +02:00
2014-07-09 16:37:55 +01:00
2015-06-22 12:25:01 +01:00
2014-12-30 16:59:59 -08:00
2014-03-19 08:58:17 +00:00
2015-01-22 15:55:49 +00:00
2014-12-14 16:10:09 -08:00
2014-12-14 16:10:09 -08:00
2015-06-22 12:25:01 +01:00
2014-11-25 16:18:58 +00:00
2014-12-14 16:10:09 -08:00
2015-03-03 16:41:15 +00:00
2014-03-19 08:58:34 +00:00
2014-07-25 15:31:47 +01:00
2014-06-03 08:11:27 +01:00
2015-06-22 12:25:01 +01:00
2015-04-09 10:26:40 +01:00
2014-11-25 16:18:53 +00:00
2015-01-22 16:03:46 +00:00
2015-01-22 16:03:34 +00:00
2014-09-26 08:15:48 +01:00
2014-10-20 16:20:53 +02:00
2014-07-28 08:10:06 +01:00
2014-10-20 16:20:53 +02:00
2015-06-22 12:25:23 +01:00
2015-06-22 12:25:04 +01:00
2015-06-22 12:25:01 +01:00
2015-03-30 12:39:22 +01:00
2015-01-22 16:03:48 +00:00
2015-06-18 14:03:08 +02:00
2015-03-03 16:41:14 +00:00
2014-11-25 16:18:42 +00:00
2015-06-22 12:25:25 +01:00
2015-06-22 12:25:01 +01:00
2015-04-09 10:26:48 +01:00
2014-11-25 16:18:56 +00:00
2015-06-22 12:25:26 +01:00
2014-07-25 15:31:42 +01:00
2014-07-22 13:17:05 +01:00
2014-06-03 08:11:34 +01:00
2015-01-22 15:56:03 +00:00
2015-06-22 12:25:01 +01:00
2014-09-26 08:15:35 +01:00
2014-11-25 16:18:55 +00:00