mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] mfd: lpc_ich: Add PCI ID for Intel Braswell
@ 2014-08-19 15:39 Mika Westerberg
  2014-08-20 15:56 ` Lee Jones
  0 siblings, 1 reply; 2+ messages in thread
From: Mika Westerberg @ 2014-08-19 15:39 UTC (permalink / raw)
  To: linux-kernel
  Cc: Peter Tyser, Samuel Ortiz, Lee Jones, Alan Cox, Mika Westerberg

From: Alan Cox <alan@linux.intel.com>

This is the same as used in Baytrail so add the new PCI ID to the driver's
list of supported IDs.

Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
---
 drivers/mfd/lpc_ich.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/drivers/mfd/lpc_ich.c b/drivers/mfd/lpc_ich.c
index 7d8482ff5868..597f5f495d49 100644
--- a/drivers/mfd/lpc_ich.c
+++ b/drivers/mfd/lpc_ich.c
@@ -216,6 +216,7 @@ enum lpc_chipsets {
 	LPC_BAYTRAIL,   /* Bay Trail SoC */
 	LPC_COLETO,	/* Coleto Creek */
 	LPC_WPT_LP,	/* Wildcat Point-LP */
+	LPC_BRASWELL,	/* Braswell SoC */
 };
 
 static struct lpc_ich_info lpc_chipset_info[] = {
@@ -519,6 +520,10 @@ static struct lpc_ich_info lpc_chipset_info[] = {
 		.name = "Wildcat Point_LP",
 		.iTCO_version = 2,
 	},
+	[LPC_BRASWELL] = {
+		.name = "Braswell SoC",
+		.iTCO_version = 3,
+	},
 };
 
 /*
@@ -745,6 +750,7 @@ static const struct pci_device_id lpc_ich_ids[] = {
 	{ PCI_VDEVICE(INTEL, 0x9cc6), LPC_WPT_LP},
 	{ PCI_VDEVICE(INTEL, 0x9cc7), LPC_WPT_LP},
 	{ PCI_VDEVICE(INTEL, 0x9cc9), LPC_WPT_LP},
+	{ PCI_VDEVICE(INTEL, 0x229C), LPC_BRASWELL},
 	{ 0, },			/* End of list */
 };
 MODULE_DEVICE_TABLE(pci, lpc_ich_ids);
-- 
2.1.0


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] mfd: lpc_ich: Add PCI ID for Intel Braswell
  2014-08-19 15:39 [PATCH] mfd: lpc_ich: Add PCI ID for Intel Braswell Mika Westerberg
@ 2014-08-20 15:56 ` Lee Jones
  0 siblings, 0 replies; 2+ messages in thread
From: Lee Jones @ 2014-08-20 15:56 UTC (permalink / raw)
  To: Mika Westerberg; +Cc: linux-kernel, Peter Tyser, Samuel Ortiz, Alan Cox

On Tue, 19 Aug 2014, Mika Westerberg wrote:

> From: Alan Cox <alan@linux.intel.com>
> 
> This is the same as used in Baytrail so add the new PCI ID to the driver's
> list of supported IDs.
> 
> Signed-off-by: Alan Cox <alan@linux.intel.com>
> Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
> ---
>  drivers/mfd/lpc_ich.c | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/drivers/mfd/lpc_ich.c b/drivers/mfd/lpc_ich.c
> index 7d8482ff5868..597f5f495d49 100644
> --- a/drivers/mfd/lpc_ich.c
> +++ b/drivers/mfd/lpc_ich.c
> @@ -216,6 +216,7 @@ enum lpc_chipsets {
>  	LPC_BAYTRAIL,   /* Bay Trail SoC */
>  	LPC_COLETO,	/* Coleto Creek */
>  	LPC_WPT_LP,	/* Wildcat Point-LP */
> +	LPC_BRASWELL,	/* Braswell SoC */
>  };
>  
>  static struct lpc_ich_info lpc_chipset_info[] = {
> @@ -519,6 +520,10 @@ static struct lpc_ich_info lpc_chipset_info[] = {
>  		.name = "Wildcat Point_LP",
>  		.iTCO_version = 2,
>  	},
> +	[LPC_BRASWELL] = {
> +		.name = "Braswell SoC",
> +		.iTCO_version = 3,
> +	},
>  };
>  
>  /*
> @@ -745,6 +750,7 @@ static const struct pci_device_id lpc_ich_ids[] = {
>  	{ PCI_VDEVICE(INTEL, 0x9cc6), LPC_WPT_LP},
>  	{ PCI_VDEVICE(INTEL, 0x9cc7), LPC_WPT_LP},
>  	{ PCI_VDEVICE(INTEL, 0x9cc9), LPC_WPT_LP},
> +	{ PCI_VDEVICE(INTEL, 0x229C), LPC_BRASWELL},

Nit: All the other numbers are in lower case.

Please fix and re-send.

>  	{ 0, },			/* End of list */
>  };
>  MODULE_DEVICE_TABLE(pci, lpc_ich_ids);

-- 
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-08-20 15:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-19 15:39 [PATCH] mfd: lpc_ich: Add PCI ID for Intel Braswell Mika Westerberg
2014-08-20 15:56 ` Lee Jones

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome