* [PATCH 1/1] i2c-i801: Add Device IDs for Intel Wellsburg PCH
@ 2013-02-12 22:04 James Ralston
2013-02-13 21:48 ` Jean Delvare
0 siblings, 1 reply; 2+ messages in thread
From: James Ralston @ 2013-02-12 22:04 UTC (permalink / raw)
To: Jean Delvare, Wolfram Sang
Cc: linux-i2c-u79uwXL29TY76Z2rM5mHXA,
linux-doc-u79uwXL29TY76Z2rM5mHXA, Seth Heasley, James Ralston
This patch adds the SMBus Device IDs for the Intel Wellsburg PCH
Signed-off-by: James Ralston <james.d.ralston-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
---
Change notes for v2:
* Rebased on [PATCH v2] i2c-i801: SMBus patch for Intel Avoton DeviceIDs
* Added 3 Device IDs for additional SMBus Devices
Documentation/i2c/busses/i2c-i801 | 1 +
drivers/i2c/busses/Kconfig | 1 +
drivers/i2c/busses/i2c-i801.c | 12 ++++++++++++
3 files changed, 14 insertions(+), 0 deletions(-)
diff --git a/Documentation/i2c/busses/i2c-i801 b/Documentation/i2c/busses/i2c-i801
index 8d71d57..d55b8ab 100644
--- a/Documentation/i2c/busses/i2c-i801
+++ b/Documentation/i2c/busses/i2c-i801
@@ -23,6 +23,7 @@ Supported adapters:
* Intel Lynx Point (PCH)
* Intel Lynx Point-LP (PCH)
* Intel Avoton (SOC)
+ * Intel Wellsburg (PCH)
Datasheets: Publicly available at the Intel website
On Intel Patsburg and later chipsets, both the normal host SMBus controller
diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig
index 77d2887..059a481 100644
--- a/drivers/i2c/busses/Kconfig
+++ b/drivers/i2c/busses/Kconfig
@@ -107,6 +107,7 @@ config I2C_I801
Lynx Point (PCH)
Lynx Point-LP (PCH)
Avoton (SOC)
+ Wellsburg (PCH)
This driver can also be built as a module. If so, the module
will be called i2c-i801.
diff --git a/drivers/i2c/busses/i2c-i801.c b/drivers/i2c/busses/i2c-i801.c
index b00c29d..c257a16 100644
--- a/drivers/i2c/busses/i2c-i801.c
+++ b/drivers/i2c/busses/i2c-i801.c
@@ -54,6 +54,10 @@
Lynx Point (PCH) 0x8c22 32 hard yes yes yes
Lynx Point-LP (PCH) 0x9c22 32 hard yes yes yes
Avoton (SOC) 0x1f3c 32 hard yes yes yes
+ Wellsburg (PCH) 0x8d22 32 hard yes yes yes
+ Wellsburg (PCH) 0x8d7d 32 hard yes yes yes
+ Wellsburg (PCH) 0x8d7e 32 hard yes yes yes
+ Wellsburg (PCH) 0x8d7f 32 hard yes yes yes
Features supported by this driver:
Software PEC no
@@ -167,6 +171,10 @@
#define PCI_DEVICE_ID_INTEL_DH89XXCC_SMBUS 0x2330
#define PCI_DEVICE_ID_INTEL_5_3400_SERIES_SMBUS 0x3b30
#define PCI_DEVICE_ID_INTEL_LYNXPOINT_SMBUS 0x8c22
+#define PCI_DEVICE_ID_INTEL_WELLSBURG_SMBUS0 0x8d22
+#define PCI_DEVICE_ID_INTEL_WELLSBURG_SMBUS1 0x8d7d
+#define PCI_DEVICE_ID_INTEL_WELLSBURG_SMBUS2 0x8d7e
+#define PCI_DEVICE_ID_INTEL_WELLSBURG_SMBUS3 0x8d7f
#define PCI_DEVICE_ID_INTEL_LYNXPOINT_LP_SMBUS 0x9c22
struct i801_mux_config {
@@ -801,6 +809,10 @@ static DEFINE_PCI_DEVICE_TABLE(i801_ids) = {
{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_LYNXPOINT_SMBUS) },
{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_LYNXPOINT_LP_SMBUS) },
{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_AVOTON_SMBUS) },
+ { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_WELLSBURG_SMBUS0) },
+ { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_WELLSBURG_SMBUS1) },
+ { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_WELLSBURG_SMBUS2) },
+ { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_WELLSBURG_SMBUS3) },
{ 0, }
};
--
1.7.7.6
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH 1/1] i2c-i801: Add Device IDs for Intel Wellsburg PCH
2013-02-12 22:04 [PATCH 1/1] i2c-i801: Add Device IDs for Intel Wellsburg PCH James Ralston
@ 2013-02-13 21:48 ` Jean Delvare
0 siblings, 0 replies; 2+ messages in thread
From: Jean Delvare @ 2013-02-13 21:48 UTC (permalink / raw)
To: James Ralston; +Cc: Wolfram Sang, linux-i2c, linux-doc, Seth Heasley
Hi James,
On Tue, 12 Feb 2013 14:04:02 -0800, James Ralston wrote:
> This patch adds the SMBus Device IDs for the Intel Wellsburg PCH
>
> Signed-off-by: James Ralston <james.d.ralston@intel.com>
> ---
> Change notes for v2:
> * Rebased on [PATCH v2] i2c-i801: SMBus patch for Intel Avoton DeviceIDs
Thanks, this applies fine now.
> * Added 3 Device IDs for additional SMBus Devices
>
> Documentation/i2c/busses/i2c-i801 | 1 +
> drivers/i2c/busses/Kconfig | 1 +
> drivers/i2c/busses/i2c-i801.c | 12 ++++++++++++
> 3 files changed, 14 insertions(+), 0 deletions(-)
>
> diff --git a/Documentation/i2c/busses/i2c-i801 b/Documentation/i2c/busses/i2c-i801
> index 8d71d57..d55b8ab 100644
> --- a/Documentation/i2c/busses/i2c-i801
> +++ b/Documentation/i2c/busses/i2c-i801
> @@ -23,6 +23,7 @@ Supported adapters:
> * Intel Lynx Point (PCH)
> * Intel Lynx Point-LP (PCH)
> * Intel Avoton (SOC)
> + * Intel Wellsburg (PCH)
> Datasheets: Publicly available at the Intel website
>
> On Intel Patsburg and later chipsets, both the normal host SMBus controller
> diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig
> index 77d2887..059a481 100644
> --- a/drivers/i2c/busses/Kconfig
> +++ b/drivers/i2c/busses/Kconfig
> @@ -107,6 +107,7 @@ config I2C_I801
> Lynx Point (PCH)
> Lynx Point-LP (PCH)
> Avoton (SOC)
> + Wellsburg (PCH)
>
> This driver can also be built as a module. If so, the module
> will be called i2c-i801.
> diff --git a/drivers/i2c/busses/i2c-i801.c b/drivers/i2c/busses/i2c-i801.c
> index b00c29d..c257a16 100644
> --- a/drivers/i2c/busses/i2c-i801.c
> +++ b/drivers/i2c/busses/i2c-i801.c
> @@ -54,6 +54,10 @@
> Lynx Point (PCH) 0x8c22 32 hard yes yes yes
> Lynx Point-LP (PCH) 0x9c22 32 hard yes yes yes
> Avoton (SOC) 0x1f3c 32 hard yes yes yes
> + Wellsburg (PCH) 0x8d22 32 hard yes yes yes
> + Wellsburg (PCH) 0x8d7d 32 hard yes yes yes
> + Wellsburg (PCH) 0x8d7e 32 hard yes yes yes
> + Wellsburg (PCH) 0x8d7f 32 hard yes yes yes
>
> Features supported by this driver:
> Software PEC no
> @@ -167,6 +171,10 @@
> #define PCI_DEVICE_ID_INTEL_DH89XXCC_SMBUS 0x2330
> #define PCI_DEVICE_ID_INTEL_5_3400_SERIES_SMBUS 0x3b30
> #define PCI_DEVICE_ID_INTEL_LYNXPOINT_SMBUS 0x8c22
> +#define PCI_DEVICE_ID_INTEL_WELLSBURG_SMBUS0 0x8d22
> +#define PCI_DEVICE_ID_INTEL_WELLSBURG_SMBUS1 0x8d7d
> +#define PCI_DEVICE_ID_INTEL_WELLSBURG_SMBUS2 0x8d7e
> +#define PCI_DEVICE_ID_INTEL_WELLSBURG_SMBUS3 0x8d7f
Are these 3 extra channels like Patsburg's "IDF" channels? If so, then
please name them accordingly and make sure to set flag FEATURE_IDF on
them, as is done for PCI_DEVICE_ID_INTEL_PATSBURG_SMBUS_IDF*.
> #define PCI_DEVICE_ID_INTEL_LYNXPOINT_LP_SMBUS 0x9c22
>
> struct i801_mux_config {
> @@ -801,6 +809,10 @@ static DEFINE_PCI_DEVICE_TABLE(i801_ids) = {
> { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_LYNXPOINT_SMBUS) },
> { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_LYNXPOINT_LP_SMBUS) },
> { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_AVOTON_SMBUS) },
> + { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_WELLSBURG_SMBUS0) },
> + { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_WELLSBURG_SMBUS1) },
> + { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_WELLSBURG_SMBUS2) },
> + { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_WELLSBURG_SMBUS3) },
> { 0, }
> };
>
--
Jean Delvare
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-02-13 21:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-12 22:04 [PATCH 1/1] i2c-i801: Add Device IDs for Intel Wellsburg PCH James Ralston
2013-02-13 21:48 ` Jean Delvare
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).