Commit 1b31e9b76ef8c62291e698dfdb973499986a7f68

Authored by Chew, Kean ho
Committed by Wolfram Sang
1 parent 089c729ae4

i2c: i801: enable Intel BayTrail SMBUS

Add Device ID of Intel BayTrail SMBus Controller.

Signed-off-by: Chew, Kean ho <kean.ho.chew@intel.com>
Signed-off-by: Chew, Chiau Ee <chiau.ee.chew@intel.com>
Reviewed-by: Jean Delvare <jdelvare@suse.de>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>

Showing 3 changed files with 5 additions and 0 deletions Side-by-side Diff

Documentation/i2c/busses/i2c-i801
... ... @@ -26,6 +26,7 @@
26 26 * Intel Wellsburg (PCH)
27 27 * Intel Coleto Creek (PCH)
28 28 * Intel Wildcat Point-LP (PCH)
  29 + * Intel BayTrail (SOC)
29 30 Datasheets: Publicly available at the Intel website
30 31  
31 32 On Intel Patsburg and later chipsets, both the normal host SMBus controller
drivers/i2c/busses/Kconfig
... ... @@ -110,6 +110,7 @@
110 110 Wellsburg (PCH)
111 111 Coleto Creek (PCH)
112 112 Wildcat Point-LP (PCH)
  113 + BayTrail (SOC)
113 114  
114 115 This driver can also be built as a module. If so, the module
115 116 will be called i2c-i801.
drivers/i2c/busses/i2c-i801.c
... ... @@ -60,6 +60,7 @@
60 60 Wellsburg (PCH) MS 0x8d7f 32 hard yes yes yes
61 61 Coleto Creek (PCH) 0x23b0 32 hard yes yes yes
62 62 Wildcat Point-LP (PCH) 0x9ca2 32 hard yes yes yes
  63 + BayTrail (SOC) 0x0f12 32 hard yes yes yes
63 64  
64 65 Features supported by this driver:
65 66 Software PEC no
... ... @@ -161,6 +162,7 @@
161 162 STATUS_ERROR_FLAGS)
162 163  
163 164 /* Older devices have their ID defined in <linux/pci_ids.h> */
  165 +#define PCI_DEVICE_ID_INTEL_BAYTRAIL_SMBUS 0x0f12
164 166 #define PCI_DEVICE_ID_INTEL_COUGARPOINT_SMBUS 0x1c22
165 167 #define PCI_DEVICE_ID_INTEL_PATSBURG_SMBUS 0x1d22
166 168 /* Patsburg also has three 'Integrated Device Function' SMBus controllers */
... ... @@ -822,6 +824,7 @@
822 824 { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_WELLSBURG_SMBUS_MS2) },
823 825 { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_COLETOCREEK_SMBUS) },
824 826 { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_WILDCATPOINT_LP_SMBUS) },
  827 + { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_BAYTRAIL_SMBUS) },
825 828 { 0, }
826 829 };
827 830