Skip to contentSkip to conversation

mfd: lpc_ich: Enable GPIO driver for DH89xxCC

PATCH Applied Chris Blake 2 participants 4 messages Jun 7, 2021 – Jul 20, 2021

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH v3 1/1 mfd: lpc_ich: Enable GPIO driver for DH89xxCC

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.

---

Changelog:
V3: Update commit message format and update contributor message.
V2: Updated commit message, and added Christian Lamparter as a contributor.
V1: Initial Patch

 drivers/mfd/lpc_ich.c | 1 +
 1 file changed, 1 insertion(+)
drivers/mfd/lpc_ich.c +1 -0
index 3bbb29a7e7a5..f10e53187f67 100644
@@ -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",
Signature · 1 line
2.25.1
author
#1 lore raw
Quoted 33 lines · Chris Blake

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.

---

Changelog:
V3: Update commit message format and update contributor message.
V2: Updated commit message, and added Christian Lamparter as a contributor.
V1: Initial Patch

 drivers/mfd/lpc_ich.c | 1 +
 1 file changed, 1 insertion(+)
drivers/mfd/lpc_ich.c +1 -1
index 3bbb29a7e7a5..f10e53187f67 100644
@@ -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",
--
Quoted 2 lines

2.25.1

Hello,

Just curious if there's anything I can do to help get this reviewed for merge, thanks.

Regards,
Chris B

#2 lore raw
Quoted 37 lines · Chris
Quoted 26 lines · Chris Blake

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.

---

Changelog:
V3: Update commit message format and update contributor message.
V2: Updated commit message, and added Christian Lamparter as a contributor.
V1: Initial Patch

 drivers/mfd/lpc_ich.c | 1 +
 1 file changed, 1 insertion(+)
drivers/mfd/lpc_ich.c +0 -0
index 3bbb29a7e7a5..f10e53187f67 100644

drivers/mfd/lpc_ich.c static struct lpc_ich_info lpc_chipset_info[] = { · line 495

Quoted 7 lines
drivers/mfd/lpc_ich.c +1 -0
@@ -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",

Hello,

Quoted 2 lines

Just curious if there's anything I can do to help get this reviewed for merge, thanks.

Apologies, this had slipped through the gaps.

Looks simple enough. I'll review it for v5.15 once -rc1 is out.

Signature · 4 lines
Lee Jones [李琼斯]
Senior Technical Lead - Developer Services
Linaro.org │ Open source software for Arm SoCs
Follow Linaro: Facebook | Twitter | Blog
Applied
#3 lore raw
In reply to Chris Blake
Quoted 10 lines · Chris Blake

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.

---

Quoted 8 lines

Changelog:
V3: Update commit message format and update contributor message.
V2: Updated commit message, and added Christian Lamparter as a contributor.
V1: Initial Patch

 drivers/mfd/lpc_ich.c | 1 +
 1 file changed, 1 insertion(+)

Applied, thanks.

Signature · 4 lines
Lee Jones [李琼斯]
Senior Technical Lead - Developer Services
Linaro.org │ Open source software for Arm SoCs
Follow Linaro: Facebook | Twitter | Blog