]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/blob - releases/3.10.30/mfd-lpc_ich-add-support-for-intel-avoton-soc.patch
5.1-stable patches
[thirdparty/kernel/stable-queue.git] / releases / 3.10.30 / mfd-lpc_ich-add-support-for-intel-avoton-soc.patch
1 From 8477128fe0c3c455e9dfb1ba7ad7e6d09489d33c Mon Sep 17 00:00:00 2001
2 From: James Ralston <james.d.ralston@intel.com>
3 Date: Thu, 9 May 2013 12:38:53 -0700
4 Subject: mfd: lpc_ich: Add support for Intel Avoton SoC
5
6 From: James Ralston <james.d.ralston@intel.com>
7
8 commit 8477128fe0c3c455e9dfb1ba7ad7e6d09489d33c upstream.
9
10 This patch adds the LPC Controller Device IDs for Watchdog and GPIO for
11 Intel Avoton SoC, to the lpc_ich driver.
12
13 Signed-off-by: James Ralston <james.d.ralston@intel.com>
14 Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
15 Cc: "Chan, Wei Sern" <wei.sern.chan@intel.com>
16 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
17
18 ---
19 drivers/mfd/lpc_ich.c | 10 ++++++++++
20 1 file changed, 10 insertions(+)
21
22 --- a/drivers/mfd/lpc_ich.c
23 +++ b/drivers/mfd/lpc_ich.c
24 @@ -51,6 +51,7 @@
25 * document number TBD : Lynx Point
26 * document number TBD : Lynx Point-LP
27 * document number TBD : Wellsburg
28 + * document number TBD : Avoton SoC
29 */
30
31 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
32 @@ -207,6 +208,7 @@ enum lpc_chipsets {
33 LPC_LPT, /* Lynx Point */
34 LPC_LPT_LP, /* Lynx Point-LP */
35 LPC_WBG, /* Wellsburg */
36 + LPC_AVN, /* Avoton SoC */
37 };
38
39 struct lpc_ich_info lpc_chipset_info[] = {
40 @@ -491,6 +493,10 @@ struct lpc_ich_info lpc_chipset_info[] =
41 .name = "Wellsburg",
42 .iTCO_version = 2,
43 },
44 + [LPC_AVN] = {
45 + .name = "Avoton SoC",
46 + .iTCO_version = 1,
47 + },
48 };
49
50 /*
51 @@ -704,6 +710,10 @@ static DEFINE_PCI_DEVICE_TABLE(lpc_ich_i
52 { PCI_VDEVICE(INTEL, 0x8d5d), LPC_WBG},
53 { PCI_VDEVICE(INTEL, 0x8d5e), LPC_WBG},
54 { PCI_VDEVICE(INTEL, 0x8d5f), LPC_WBG},
55 + { PCI_VDEVICE(INTEL, 0x1f38), LPC_AVN},
56 + { PCI_VDEVICE(INTEL, 0x1f39), LPC_AVN},
57 + { PCI_VDEVICE(INTEL, 0x1f3a), LPC_AVN},
58 + { PCI_VDEVICE(INTEL, 0x1f3b), LPC_AVN},
59 { 0, }, /* End of list */
60 };
61 MODULE_DEVICE_TABLE(pci, lpc_ich_ids);