i2c: i801: Create iTCO device on newer Intel PCHs
authorMika Westerberg <mika.westerberg@linux.intel.com>
Thu, 6 Aug 2015 12:46:25 +0000 (13:46 +0100)
committerLee Jones <lee.jones@linaro.org>
Tue, 11 Aug 2015 14:03:51 +0000 (15:03 +0100)
commit9424693035a57961a8eb09e96aab315a7096535d
tree7a511ef866ed52578a3ebaaf97f3c900871f8a96
parent420b54de25828c45f3fc1f12d52d9657f5e90a53
i2c: i801: Create iTCO device on newer Intel PCHs

Starting from Intel Sunrisepoint (Skylake PCH) the iTCO watchdog resources
have been moved to reside under the i801 SMBus host controller whereas
previously they were under the LPC device.

In order to support the iTCO watchdog on newer PCHs we need to create the
platform device here in the SMBus driver and pass all known resources using
platform data.

Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Acked-by: Wolfram Sang <wsa@the-dreams.de>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/i2c/busses/i2c-i801.c