linux/drivers/platform/x86
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
..
acer-wmi.c acer-wmi: Port to new backlight interface selection API 2015-06-19 01:11:18 +02:00
acerhdf.c thermal: of: fix cooling device weights in device tree 2015-05-04 21:27:50 -07:00
alienware-wmi.c
amilo-rfkill.c
apple-gmux.c apple-gmux: Port to new backlight interface selection API 2015-06-19 01:11:25 +02:00
asus-laptop.c asus-laptop: Port to new backlight interface selection API 2015-06-19 01:11:30 +02:00
asus-nb-wmi.c
asus-wmi.c platform-drivers-x86 got 4.2 2015-07-01 18:55:34 -07:00
asus-wmi.h
classmate-laptop.c
compal-laptop.c compal-laptop: Port to new backlight interface selection API 2015-06-19 01:11:41 +02:00
dell-laptop.c platform-drivers-x86 for 4.2-2 2015-07-05 10:54:09 -07:00
dell-rbtn.c dell-rbtn: Export notifier for other kernel modules 2015-06-10 22:04:11 -07:00
dell-rbtn.h dell-rbtn: Export notifier for other kernel modules 2015-06-10 22:04:11 -07:00
dell-smo8800.c
dell-wmi-aio.c
dell-wmi.c dell-wmi: Port to new backlight interface selection API 2015-06-19 01:11:51 +02:00
eeepc-laptop.c eeepc-laptop: Port to new backlight interface selection API 2015-06-19 01:11:56 +02:00
eeepc-wmi.c
fujitsu-laptop.c fujitsu-laptop: Port to new backlight interface selection API 2015-06-19 01:12:01 +02:00
fujitsu-tablet.c
hdaps.c
hp_accel.c
hp-wireless.c
hp-wmi.c
ibm_rtl.c
ideapad-laptop.c platform-drivers-x86 got 4.2 2015-07-01 18:55:34 -07:00
intel_ips.c
intel_ips.h
intel_menlow.c
intel_mid_powerbtn.c
intel_mid_thermal.c
intel_oaktrail.c intel-oaktrail: Port to new backlight interface selection API 2015-06-19 01:12:11 +02:00
intel_pmc_ipc.c mfd: watchdog: iTCO_wdt: Expose watchdog properties using platform data 2015-08-11 15:03:21 +01:00
intel_pmic_gpio.c
intel_scu_ipc.c
intel_scu_ipcutil.c
intel-rst.c
intel-smartconnect.c
Kconfig platform-drivers-x86 for 4.2-2 2015-07-05 10:54:09 -07:00
Makefile intel_pmc_ipc: Add Intel Apollo Lake PMC IPC driver 2015-06-29 15:28:14 -07:00
msi-laptop.c msi-laptop: Port to new backlight interface selection API 2015-06-19 01:12:16 +02:00
msi-wmi.c msi-wmi: Port to new backlight interface selection API 2015-06-19 01:12:20 +02:00
mxm-wmi.c
panasonic-laptop.c
pvpanic.c pvpanic: handle missing _STA correctly 2015-06-07 21:30:12 -07:00
samsung-laptop.c samsung-laptop: Port to new backlight interface selection API 2015-06-19 01:12:25 +02:00
samsung-q10.c
sony-laptop.c sony-laptop: Port to new backlight interface selection API 2015-06-19 01:12:31 +02:00
tc1100-wmi.c tc1100-wmi: Delete an unnecessary check before the function call "kfree" 2015-06-26 15:55:51 -07:00
thinkpad_acpi.c thinkpad-acpi: Port to new backlight interface selection API 2015-06-19 01:12:36 +02:00
topstar-laptop.c
toshiba_acpi.c platform-drivers-x86 got 4.2 2015-07-01 18:55:34 -07:00
toshiba_bluetooth.c toshiba_bluetooth: Change BT status message to debug 2015-05-11 10:38:18 -07:00
toshiba_haps.c toshiba_haps: Make use of DEVICE_ATTR_{RW, WO} macros 2015-05-11 10:38:22 -07:00
wmi.c
xo1-rfkill.c
xo15-ebook.c