diff mbox series

[v1] i2c: ismt: Add support for Intel Emmitsburg PCH

Message ID 20200615161001.12817-1-andriy.shevchenko@linux.intel.com
State Accepted
Headers show
Series [v1] i2c: ismt: Add support for Intel Emmitsburg PCH | expand

Commit Message

Andy Shevchenko June 15, 2020, 4:10 p.m. UTC
Add PCI ID for the Intel Emmitsburg PCH iSMT SMBus controller.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
 drivers/i2c/busses/i2c-ismt.c | 2 ++
 1 file changed, 2 insertions(+)

Comments

Wolfram Sang Aug. 5, 2020, 9:39 a.m. UTC | #1
On Mon, Jun 15, 2020 at 07:10:01PM +0300, Andy Shevchenko wrote:
> Add PCI ID for the Intel Emmitsburg PCH iSMT SMBus controller.
> 
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
> ---

Seth, Neil?

>  drivers/i2c/busses/i2c-ismt.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/drivers/i2c/busses/i2c-ismt.c b/drivers/i2c/busses/i2c-ismt.c
> index 2f95e25a10f7..cdba77f9ecb1 100644
> --- a/drivers/i2c/busses/i2c-ismt.c
> +++ b/drivers/i2c/busses/i2c-ismt.c
> @@ -77,6 +77,7 @@
>  #define PCI_DEVICE_ID_INTEL_S1200_SMT1	0x0c5a
>  #define PCI_DEVICE_ID_INTEL_CDF_SMT	0x18ac
>  #define PCI_DEVICE_ID_INTEL_DNV_SMT	0x19ac
> +#define PCI_DEVICE_ID_INTEL_EBG_SMT	0x1bff
>  #define PCI_DEVICE_ID_INTEL_AVOTON_SMT	0x1f15
>  
>  #define ISMT_DESC_ENTRIES	2	/* number of descriptor entries */
> @@ -184,6 +185,7 @@ static const struct pci_device_id ismt_ids[] = {
>  	{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_S1200_SMT1) },
>  	{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_CDF_SMT) },
>  	{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_DNV_SMT) },
> +	{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_EBG_SMT) },
>  	{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_AVOTON_SMT) },
>  	{ 0, }
>  };
> -- 
> 2.27.0.rc2
>
Andy Shevchenko Aug. 28, 2020, 3:02 p.m. UTC | #2
On Mon, Jun 15, 2020 at 07:10:01PM +0300, Andy Shevchenko wrote:
> Add PCI ID for the Intel Emmitsburg PCH iSMT SMBus controller.

Seth, Neil, any tag for this?
Wolfram, this is an ID and I don't think silence from maintainers prevent us to
add it. What do you think?
Seth Heasley (Linux) Sept. 14, 2020, 9:43 a.m. UTC | #3
Hi Andy,

Sorry for the slow response.

> Add PCI ID for the Intel Emmitsburg PCH iSMT SMBus controller.
> 
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
  Signed-off-by: Seth Heasley <seth.heasley@linux.intel.com>
> ---
>  drivers/i2c/busses/i2c-ismt.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/drivers/i2c/busses/i2c-ismt.c b/drivers/i2c/busses/i2c-
> ismt.c
> index 2f95e25a10f7..cdba77f9ecb1 100644
> --- a/drivers/i2c/busses/i2c-ismt.c
> +++ b/drivers/i2c/busses/i2c-ismt.c
> @@ -77,6 +77,7 @@
>  #define PCI_DEVICE_ID_INTEL_S1200_SMT1	0x0c5a
>  #define PCI_DEVICE_ID_INTEL_CDF_SMT	0x18ac
>  #define PCI_DEVICE_ID_INTEL_DNV_SMT	0x19ac
> +#define PCI_DEVICE_ID_INTEL_EBG_SMT	0x1bff
>  #define PCI_DEVICE_ID_INTEL_AVOTON_SMT	0x1f15
>  
>  #define ISMT_DESC_ENTRIES	2	/* number of descriptor entries */
> @@ -184,6 +185,7 @@ static const struct pci_device_id ismt_ids[] = {
>  	{ PCI_DEVICE(PCI_VENDOR_ID_INTEL,
> PCI_DEVICE_ID_INTEL_S1200_SMT1) },
>  	{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_CDF_SMT)
> },
>  	{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_DNV_SMT)
> },
> +	{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_EBG_SMT)
> },
>  	{ PCI_DEVICE(PCI_VENDOR_ID_INTEL,
> PCI_DEVICE_ID_INTEL_AVOTON_SMT) },
>  	{ 0, }
>  };

-Seth
Wolfram Sang Sept. 21, 2020, 10 a.m. UTC | #4
On Mon, Jun 15, 2020 at 07:10:01PM +0300, Andy Shevchenko wrote:
> Add PCI ID for the Intel Emmitsburg PCH iSMT SMBus controller.
> 
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>

Applied to for-next, thanks!
Wolfram Sang Sept. 21, 2020, 10:03 a.m. UTC | #5
On Fri, Aug 28, 2020 at 06:02:39PM +0300, Andy Shevchenko wrote:
> On Mon, Jun 15, 2020 at 07:10:01PM +0300, Andy Shevchenko wrote:
> > Add PCI ID for the Intel Emmitsburg PCH iSMT SMBus controller.
> 
> Seth, Neil, any tag for this?
> Wolfram, this is an ID and I don't think silence from maintainers prevent us to
> add it. What do you think?

Only as a very last resort. If there are dedicated driver maintainers,
the drivers are their authority. If I apply trivial patches on my own,
then there may be confusion about what is a trivial patch.
Wolfram Sang Sept. 21, 2020, 10:05 a.m. UTC | #6
On Mon, Sep 14, 2020 at 02:43:56AM -0700, Seth Heasley (Linux) wrote:
> Hi Andy,
> 
> Sorry for the slow response.
> 
> > Add PCI ID for the Intel Emmitsburg PCH iSMT SMBus controller.
> > 
> > Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
>   Signed-off-by: Seth Heasley <seth.heasley@linux.intel.com>

Thanks! One favor I am asking: Would you mind using "Reviewed-by" in the
future? It is more apropriate and also for easier for my tools to detect
when a patch was reviewed.
diff mbox series

Patch

diff --git a/drivers/i2c/busses/i2c-ismt.c b/drivers/i2c/busses/i2c-ismt.c
index 2f95e25a10f7..cdba77f9ecb1 100644
--- a/drivers/i2c/busses/i2c-ismt.c
+++ b/drivers/i2c/busses/i2c-ismt.c
@@ -77,6 +77,7 @@ 
 #define PCI_DEVICE_ID_INTEL_S1200_SMT1	0x0c5a
 #define PCI_DEVICE_ID_INTEL_CDF_SMT	0x18ac
 #define PCI_DEVICE_ID_INTEL_DNV_SMT	0x19ac
+#define PCI_DEVICE_ID_INTEL_EBG_SMT	0x1bff
 #define PCI_DEVICE_ID_INTEL_AVOTON_SMT	0x1f15
 
 #define ISMT_DESC_ENTRIES	2	/* number of descriptor entries */
@@ -184,6 +185,7 @@  static const struct pci_device_id ismt_ids[] = {
 	{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_S1200_SMT1) },
 	{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_CDF_SMT) },
 	{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_DNV_SMT) },
+	{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_EBG_SMT) },
 	{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_AVOTON_SMT) },
 	{ 0, }
 };