From 6111ec70357022ccd037399c13f69900431850b4 Mon Sep 17 00:00:00 2001
From: Peter Tyser <ptyser@xes-inc.com>
Date: Mon, 10 Mar 2014 16:34:58 -0500
Subject: [PATCH] mfd: lpc_ich: Add support for Intel Bay Trail SoC
Git-commit: 6111ec70357022ccd037399c13f69900431850b4
Patch-mainline: 3.15-rc1
References: bnc#908012,FATE#317358

This patch adds the LPC Controller Device IDs for Watchdog and GPIO for
the Intel Bay Trail Atom SoC.

[The patch is heavily modified to be applied to iTCO_wdt.c instead of
 mfd/lpc_ich.c -- tiwai]

Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>

---
 drivers/watchdog/iTCO_wdt.c |    3 +++
 1 file changed, 3 insertions(+)

--- a/drivers/watchdog/iTCO_wdt.c
+++ b/drivers/watchdog/iTCO_wdt.c
@@ -133,6 +133,7 @@ enum iTCO_chipsets {
 	TCO_LPT_LP,	/* Lynx Point-LP */
 	TCO_WBG,        /* Wellsburg */
 	TCO_AVN,        /* Avoton SoC */
+	TCO_BAYTRAIL,   /* Bay Trail SoC */
 };
 
 static struct {
@@ -200,6 +201,7 @@ static struct {
 	{"Lynx Point_LP", 2},
 	{"Wellsburg", 2},
 	{"Avoton SoC", 3},
+	{"Bay Trail SoC", 3},
 	{NULL, 0}
 };
 
@@ -418,6 +420,7 @@ static DEFINE_PCI_DEVICE_TABLE(iTCO_wdt_
 	{ PCI_VDEVICE(INTEL, 0x1f39), TCO_AVN},
 	{ PCI_VDEVICE(INTEL, 0x1f3a), TCO_AVN},
 	{ PCI_VDEVICE(INTEL, 0x1f3b), TCO_AVN},
+	{ PCI_VDEVICE(INTEL, 0x0f1c), TCO_BAYTRAIL},
 	{ 0, },			/* End of list */
 };
 MODULE_DEVICE_TABLE(pci, iTCO_wdt_pci_tbl);
