All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/1] mfd: Use gpio-ich driver for 8-series and 9-series Intel PCH devices
@ 2016-07-07  1:35 Dan Gora
  2016-08-05 12:45 ` Lee Jones
  0 siblings, 1 reply; 2+ messages in thread
From: Dan Gora @ 2016-07-07  1:35 UTC (permalink / raw)
  To: Peter Tyser, Lee Jones, linux-kernel


The Intel 8-series and 9-series PCH devices, described by the descriptors
LPC_LPT and LPC_9S although codenamed 'lynxpoint' do not use the same GPIO
register layout which is used by the gpio-lynxpoint driver.  They use the
same ICH_V5_GPIO layout as the gpio-ich driver.

See:
http://www.intel.com/content/www/us/en/chipsets/8-series-chipset-pch-datasheet.html
http://www.intel.com/content/www/us/en/chipsets/9-series-chipset-pch-datasheet.html

The devices described by "Mobile 4th Generation Intel Core Processor
Family I/O" manual use the gpio-lynxpoint driver and are described by the
LPC_LPT_LP descriptor.

See:
http://www.intel.com/content/www/us/en/processors/core/4th-gen-core-family-mobile-i-o-datasheet.html

Signed-off-by: Dan Gora <dg@adax.com>
---
  drivers/mfd/lpc_ich.c | 2 ++
  1 file changed, 2 insertions(+)

diff --git a/drivers/mfd/lpc_ich.c b/drivers/mfd/lpc_ich.c
index bd3aa45..66f72ad 100644
--- a/drivers/mfd/lpc_ich.c
+++ b/drivers/mfd/lpc_ich.c
@@ -493,6 +493,7 @@ static struct lpc_ich_info lpc_chipset_info[] = {
  	[LPC_LPT] = {
  		.name = "Lynx Point",
  		.iTCO_version = 2,
+		.gpio_version = ICH_V5_GPIO,
  	},
  	[LPC_LPT_LP] = {
  		.name = "Lynx Point_LP",
@@ -530,6 +531,7 @@ static struct lpc_ich_info lpc_chipset_info[] = {
  	[LPC_9S] = {
  		.name = "9 Series",
  		.iTCO_version = 2,
+		.gpio_version = ICH_V5_GPIO,
  	},
  };

-- 
2.8.0

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

* Re: [PATCH 1/1] mfd: Use gpio-ich driver for 8-series and 9-series Intel PCH devices
  2016-07-07  1:35 [PATCH 1/1] mfd: Use gpio-ich driver for 8-series and 9-series Intel PCH devices Dan Gora
@ 2016-08-05 12:45 ` Lee Jones
  0 siblings, 0 replies; 2+ messages in thread
From: Lee Jones @ 2016-08-05 12:45 UTC (permalink / raw)
  To: Dan Gora; +Cc: Peter Tyser, linux-kernel

On Wed, 06 Jul 2016, Dan Gora wrote:

> 
> The Intel 8-series and 9-series PCH devices, described by the descriptors
> LPC_LPT and LPC_9S although codenamed 'lynxpoint' do not use the same GPIO
> register layout which is used by the gpio-lynxpoint driver.  They use the
> same ICH_V5_GPIO layout as the gpio-ich driver.
> 
> See:
> http://www.intel.com/content/www/us/en/chipsets/8-series-chipset-pch-datasheet.html
> http://www.intel.com/content/www/us/en/chipsets/9-series-chipset-pch-datasheet.html
> 
> The devices described by "Mobile 4th Generation Intel Core Processor
> Family I/O" manual use the gpio-lynxpoint driver and are described by the
> LPC_LPT_LP descriptor.
> 
> See:
> http://www.intel.com/content/www/us/en/processors/core/4th-gen-core-family-mobile-i-o-datasheet.html
> 
> Signed-off-by: Dan Gora <dg@adax.com>
> ---
>  drivers/mfd/lpc_ich.c | 2 ++
>  1 file changed, 2 insertions(+)

Applied, thanks.

> diff --git a/drivers/mfd/lpc_ich.c b/drivers/mfd/lpc_ich.c
> index bd3aa45..66f72ad 100644
> --- a/drivers/mfd/lpc_ich.c
> +++ b/drivers/mfd/lpc_ich.c
> @@ -493,6 +493,7 @@ static struct lpc_ich_info lpc_chipset_info[] = {
>  	[LPC_LPT] = {
>  		.name = "Lynx Point",
>  		.iTCO_version = 2,
> +		.gpio_version = ICH_V5_GPIO,
>  	},
>  	[LPC_LPT_LP] = {
>  		.name = "Lynx Point_LP",
> @@ -530,6 +531,7 @@ static struct lpc_ich_info lpc_chipset_info[] = {
>  	[LPC_9S] = {
>  		.name = "9 Series",
>  		.iTCO_version = 2,
> +		.gpio_version = ICH_V5_GPIO,
>  	},
>  };
> 

-- 
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:[~2016-08-05 12:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-07  1:35 [PATCH 1/1] mfd: Use gpio-ich driver for 8-series and 9-series Intel PCH devices Dan Gora
2016-08-05 12:45 ` Lee Jones

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.