mfd: lpc_ich: Add support for Intel Avoton SoC

This patch adds the LPC Controller Device IDs for Watchdog and GPIO for
Intel Avoton SoC, to the lpc_ich driver.

Signed-off-by: James Ralston <james.d.ralston@intel.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
This commit is contained in:
James Ralston 2013-05-09 12:38:53 -07:00 committed by Samuel Ortiz
parent 032fa16d45
commit 8477128fe0

View File

@ -51,6 +51,7 @@
* document number TBD : Lynx Point * document number TBD : Lynx Point
* document number TBD : Lynx Point-LP * document number TBD : Lynx Point-LP
* document number TBD : Wellsburg * document number TBD : Wellsburg
* document number TBD : Avoton SoC
*/ */
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
@ -207,6 +208,7 @@ enum lpc_chipsets {
LPC_LPT, /* Lynx Point */ LPC_LPT, /* Lynx Point */
LPC_LPT_LP, /* Lynx Point-LP */ LPC_LPT_LP, /* Lynx Point-LP */
LPC_WBG, /* Wellsburg */ LPC_WBG, /* Wellsburg */
LPC_AVN, /* Avoton SoC */
}; };
struct lpc_ich_info lpc_chipset_info[] = { struct lpc_ich_info lpc_chipset_info[] = {
@ -491,6 +493,10 @@ struct lpc_ich_info lpc_chipset_info[] = {
.name = "Wellsburg", .name = "Wellsburg",
.iTCO_version = 2, .iTCO_version = 2,
}, },
[LPC_AVN] = {
.name = "Avoton SoC",
.iTCO_version = 1,
},
}; };
/* /*
@ -704,6 +710,10 @@ static DEFINE_PCI_DEVICE_TABLE(lpc_ich_ids) = {
{ PCI_VDEVICE(INTEL, 0x8d5d), LPC_WBG}, { PCI_VDEVICE(INTEL, 0x8d5d), LPC_WBG},
{ PCI_VDEVICE(INTEL, 0x8d5e), LPC_WBG}, { PCI_VDEVICE(INTEL, 0x8d5e), LPC_WBG},
{ PCI_VDEVICE(INTEL, 0x8d5f), LPC_WBG}, { PCI_VDEVICE(INTEL, 0x8d5f), LPC_WBG},
{ PCI_VDEVICE(INTEL, 0x1f38), LPC_AVN},
{ PCI_VDEVICE(INTEL, 0x1f39), LPC_AVN},
{ PCI_VDEVICE(INTEL, 0x1f3a), LPC_AVN},
{ PCI_VDEVICE(INTEL, 0x1f3b), LPC_AVN},
{ 0, }, /* End of list */ { 0, }, /* End of list */
}; };
MODULE_DEVICE_TABLE(pci, lpc_ich_ids); MODULE_DEVICE_TABLE(pci, lpc_ich_ids);