diff options
author | Kuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com> | 2013-11-14 17:15:05 -0500 |
---|---|---|
committer | Matthew Garrett <matthew.garrett@nebula.com> | 2013-11-20 18:51:28 -0500 |
commit | 7f95afb317d94f383877e67dc52fda17dc37fa21 (patch) | |
tree | d9b1e44041459600fdaefedc373c2d76ea38deb8 /drivers/platform/x86 | |
parent | e97a1c981723f3b7620b124859383a457b12f06f (diff) |
ipc: Enabled ipc support for additional intel platforms
Enabled ipc support for penwell, clovertrail & tangier platforms.
Signed-off-by: Kuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com>
Cc: David Cohen <david.a.cohen@linux.intel.com>
Signed-off-by: Matthew Garrett <matthew.garrett@nebula.com>
Diffstat (limited to 'drivers/platform/x86')
-rw-r--r-- | drivers/platform/x86/intel_scu_ipc.c | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/drivers/platform/x86/intel_scu_ipc.c b/drivers/platform/x86/intel_scu_ipc.c index 39ff57bdf18f..86b6ce2a7a47 100644 --- a/drivers/platform/x86/intel_scu_ipc.c +++ b/drivers/platform/x86/intel_scu_ipc.c | |||
@@ -63,6 +63,9 @@ | |||
63 | 63 | ||
64 | enum { | 64 | enum { |
65 | SCU_IPC_LINCROFT, | 65 | SCU_IPC_LINCROFT, |
66 | SCU_IPC_PENWELL, | ||
67 | SCU_IPC_CLOVERVIEW, | ||
68 | SCU_IPC_TANGIER, | ||
66 | }; | 69 | }; |
67 | 70 | ||
68 | /* intel scu ipc driver data*/ | 71 | /* intel scu ipc driver data*/ |
@@ -80,6 +83,24 @@ static struct intel_scu_ipc_pdata_t intel_scu_ipc_pdata[] = { | |||
80 | .ipc_len = 0x100, | 83 | .ipc_len = 0x100, |
81 | .i2c_len = 0x10, | 84 | .i2c_len = 0x10, |
82 | }, | 85 | }, |
86 | [SCU_IPC_PENWELL] = { | ||
87 | .ipc_base = 0xff11c000, | ||
88 | .i2c_base = 0xff12b000, | ||
89 | .ipc_len = 0x100, | ||
90 | .i2c_len = 0x10, | ||
91 | }, | ||
92 | [SCU_IPC_CLOVERVIEW] = { | ||
93 | .ipc_base = 0xff11c000, | ||
94 | .i2c_base = 0xff12b000, | ||
95 | .ipc_len = 0x100, | ||
96 | .i2c_len = 0x10, | ||
97 | }, | ||
98 | [SCU_IPC_TANGIER] = { | ||
99 | .ipc_base = 0xff009000, | ||
100 | .i2c_base = 0xff00d000, | ||
101 | .ipc_len = 0x100, | ||
102 | .i2c_len = 0x10, | ||
103 | }, | ||
83 | }; | 104 | }; |
84 | 105 | ||
85 | static int ipc_probe(struct pci_dev *dev, const struct pci_device_id *id); | 106 | static int ipc_probe(struct pci_dev *dev, const struct pci_device_id *id); |
@@ -586,6 +607,9 @@ static void ipc_remove(struct pci_dev *pdev) | |||
586 | 607 | ||
587 | static DEFINE_PCI_DEVICE_TABLE(pci_ids) = { | 608 | static DEFINE_PCI_DEVICE_TABLE(pci_ids) = { |
588 | {PCI_VDEVICE(INTEL, 0x082a), SCU_IPC_LINCROFT}, | 609 | {PCI_VDEVICE(INTEL, 0x082a), SCU_IPC_LINCROFT}, |
610 | {PCI_VDEVICE(INTEL, 0x080e), SCU_IPC_PENWELL}, | ||
611 | {PCI_VDEVICE(INTEL, 0x08ea), SCU_IPC_CLOVERVIEW}, | ||
612 | {PCI_VDEVICE(INTEL, 0x11a0), SCU_IPC_TANGIER}, | ||
589 | { 0,} | 613 | { 0,} |
590 | }; | 614 | }; |
591 | MODULE_DEVICE_TABLE(pci, pci_ids); | 615 | MODULE_DEVICE_TABLE(pci, pci_ids); |