The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: Dan Gora <dg@adax.com>
To: Peter Tyser <ptyser@xes-inc.com>,
	Lee Jones <lee.jones@linaro.org>,
	linux-kernel@vger.kernel.org
Subject: [PATCH 1/1] mfd: Use gpio-ich driver for 8-series and 9-series Intel PCH devices
Date: Wed, 6 Jul 2016 22:35:02 -0300 (BRT)	[thread overview]
Message-ID: <alpine.LSU.2.11.1607062228580.18590@speedy.local.lan> (raw)


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

             reply	other threads:[~2016-07-07  1:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-07  1:35 Dan Gora [this message]
2016-08-05 12:45 ` [PATCH 1/1] mfd: Use gpio-ich driver for 8-series and 9-series Intel PCH devices Lee Jones

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.LSU.2.11.1607062228580.18590@speedy.local.lan \
    --to=dg@adax.com \
    --cc=lee.jones@linaro.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=ptyser@xes-inc.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox