x86: add support for Meraki MX100
[openwrt/staging/stintel.git] / target / linux / x86 / patches-5.10 / 101-v5.15-mfd-lpc_ich-Enable-GPIO-driver-for-DH89xxCC.patch
1 From ef0eea5b151aefe1efea78e2fa7c507ff3c56bf0 Mon Sep 17 00:00:00 2001
2 From: Chris Blake <chrisrblake93@gmail.com>
3 Date: Mon, 7 Jun 2021 18:35:35 -0500
4 Subject: mfd: lpc_ich: Enable GPIO driver for DH89xxCC
5
6 Based on the Intel Datasheet for the DH89xxCC PCH, the GPIO driver
7 is the same as ICH_v5_GPIO, minus the fact the DH89xxCC also has
8 blink support. However, blink support isn't supported by the GPIO
9 driver so we should use ICH_v5_GPIO. Tested and working on a Meraki
10 MX100-HW.
11
12 Signed-off-by: Chris Blake <chrisrblake93@gmail.com>
13 Co-developed-by: Christian Lamparter <chunkeey@gmail.com>
14 Signed-off-by: Lee Jones <lee.jones@linaro.org>
15 ---
16 drivers/mfd/lpc_ich.c | 1 +
17 1 file changed, 1 insertion(+)
18
19 diff --git a/drivers/mfd/lpc_ich.c b/drivers/mfd/lpc_ich.c
20 index 3bbb29a7e7a57..f10e53187f67a 100644
21 --- a/drivers/mfd/lpc_ich.c
22 +++ b/drivers/mfd/lpc_ich.c
23 @@ -489,6 +489,7 @@ static struct lpc_ich_info lpc_chipset_info[] = {
24 [LPC_DH89XXCC] = {
25 .name = "DH89xxCC",
26 .iTCO_version = 2,
27 + .gpio_version = ICH_V5_GPIO,
28 },
29 [LPC_PPT] = {
30 .name = "Panther Point",
31 --
32 cgit 1.2.3-1.el7