All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chris Blake <chrisrblake93@gmail.com>
To: ptyser@xes-inc.com, lee.jones@linaro.org,
	linux-kernel@vger.kernel.org, chunkeey@gmail.com,
	linux-gpio@vger.kernel.org
Cc: Chris Blake <chrisrblake93@gmail.com>
Subject: [PATCH v2] mfd: lpc_ich: Enable GPIO driver for DH89xxCC
Date: Sun,  6 Jun 2021 17:50:37 -0500	[thread overview]
Message-ID: <20210606225037.26130-1-chrisrblake93@gmail.com> (raw)

Based on the Intel Datasheet for the DH89xxCC PCH, the GPIO driver
is the same as ICH_v5_GPIO, minus the fact the DH89xxCC also has
blink support. However, blink support isn't supported by the GPIO
driver so we should use ICH_v5_GPIO. Tested and working on a Meraki
MX100-HW.

V2: Updated commit message, and added Christian Lamparter as a
contributor.

Signed-off-by: Chris Blake <chrisrblake93@gmail.com>
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
---
 drivers/mfd/lpc_ich.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/mfd/lpc_ich.c b/drivers/mfd/lpc_ich.c
index 3bbb29a7e7a5..f10e53187f67 100644
--- a/drivers/mfd/lpc_ich.c
+++ b/drivers/mfd/lpc_ich.c
@@ -489,6 +489,7 @@ static struct lpc_ich_info lpc_chipset_info[] = {
 	[LPC_DH89XXCC] = {
 		.name = "DH89xxCC",
 		.iTCO_version = 2,
+		.gpio_version = ICH_V5_GPIO,
 	},
 	[LPC_PPT] = {
 		.name = "Panther Point",
-- 
2.25.1


             reply	other threads:[~2021-06-06 22:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-06 22:50 Chris Blake [this message]
2021-06-07 11:57 ` [PATCH v2] mfd: lpc_ich: Enable GPIO driver for DH89xxCC Andy Shevchenko

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=20210606225037.26130-1-chrisrblake93@gmail.com \
    --to=chrisrblake93@gmail.com \
    --cc=chunkeey@gmail.com \
    --cc=lee.jones@linaro.org \
    --cc=linux-gpio@vger.kernel.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 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.