All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 0/3] iTCO_wdt: Add support for Intel Sunrisepoint
@ 2015-08-06 12:46 Matt Fleming
  2015-08-06 12:46 ` [PATCH v4 1/3] iTCO_wdt: Expose watchdog properties using platform data Matt Fleming
                   ` (3 more replies)
  0 siblings, 4 replies; 14+ messages in thread
From: Matt Fleming @ 2015-08-06 12:46 UTC (permalink / raw)
  To: Wim Van Sebroeck
  Cc: linux-kernel, linux-watchdog, Mika Westerberg, Andy Shevchenko,
	Jean Delvare, Wolfram Sang, Lee Jones, Guenter Roeck, Darren Hart,
	Matt Fleming

From: Matt Fleming <matt.fleming@intel.com>

Starting with Intel Sunrisepoint (Skylake PCH) the TCO watchdog device
is now on the SMBUS, whereas for previous ICH/PCH it was on the LPC bus.

Because iTCO_wdt devices may now appear on either the LPC bus or the
SMBUS we need to abstract the bus information into an agnostic structure
instead of the existing 'lpc_ich_info' which tightly integrates both the
lpc_ich and iTCO_wdt drivers.

The first patch introduces a platform data structure to handle this and
shuffles the existing code around. The other patches add the
device-specific information to the i2c-i801 and iTCO_wdt drivers.

Patches based against v4.2-rc4, if there's some other tree I should base
this on, please let me know.

Comments welcome!

Changes in v4:

 - Added Darren's ACK for PATCH 1
 - Explicitly list versions in iTCO_wdt_probe()
 - Delete superfluous 'ret' variable in iTCO_wdt_unset_NO_REBOOT_bit()

Changes in v3:

 - Added Ack/Review tags to patches

Changes in v2:

 - Use lowercase for all new files and data structures
 - Allocate platform data with devm_kzalloc()
 - Move Kconfig changes to final patch and use 'select', not 'depends'
 - Swap strcpy() for strlcpy()
 - Fixup use of lpc_ich_info in intel_pmc_ipc which was missed in v1
 - Don't use bitops in i2c-i801
 - Remove superfluous NULL checks in i2c-i801
 - Explicitly list reboot bit versions in no_reboot_bit()
 - Use switch/case construst instead of crazy if else
 - Fold original fixups from PATCH 4 and 5 into PATCH 1 and 2

Matt Fleming (2):
  iTCO_wdt: Expose watchdog properties using platform data
  iTCO_wdt: Add support for TCO on Intel Sunrisepoint

Mika Westerberg (1):
  i2c: i801: Create iTCO device on newer Intel PCHs

 drivers/i2c/busses/i2c-i801.c          | 120 ++++++++++++++++++++++++++++++++-
 drivers/mfd/lpc_ich.c                  |  32 ++++++++-
 drivers/platform/x86/intel_pmc_ipc.c   |   9 ++-
 drivers/watchdog/Kconfig               |   3 +-
 drivers/watchdog/iTCO_wdt.c            |  82 +++++++++++++---------
 include/linux/mfd/lpc_ich.h            |   6 --
 include/linux/platform_data/itco_wdt.h |  19 ++++++
 7 files changed, 222 insertions(+), 49 deletions(-)
 create mode 100644 include/linux/platform_data/itco_wdt.h

-- 
2.1.0

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2015-08-12  8:26 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-06 12:46 [PATCH v4 0/3] iTCO_wdt: Add support for Intel Sunrisepoint Matt Fleming
2015-08-06 12:46 ` [PATCH v4 1/3] iTCO_wdt: Expose watchdog properties using platform data Matt Fleming
2015-08-07 15:30   ` Guenter Roeck
2015-08-11 14:14   ` Lee Jones
     [not found] ` <1438865186-25794-1-git-send-email-matt-mF/unelCI9GS6iBeEJttW/XRex20P6io@public.gmane.org>
2015-08-06 12:46   ` [PATCH v4 2/3] i2c: i801: Create iTCO device on newer Intel PCHs Matt Fleming
2015-08-06 12:46     ` Matt Fleming
     [not found]     ` <1438865186-25794-3-git-send-email-matt-mF/unelCI9GS6iBeEJttW/XRex20P6io@public.gmane.org>
2015-08-07 15:55       ` Wolfram Sang
2015-08-07 15:55         ` Wolfram Sang
2015-08-07 16:27         ` Guenter Roeck
2015-08-11 14:14       ` Lee Jones
2015-08-11 14:14         ` Lee Jones
2015-08-06 12:46 ` [PATCH v4 3/3] iTCO_wdt: Add support for TCO on Intel Sunrisepoint Matt Fleming
2015-08-11 14:15   ` Lee Jones
2015-08-12  8:26 ` [GIT PULL] Immutable branch between MFD, I2C, X86 and Watchdog due for v4.3 Lee Jones

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.