[PATCH v3] mfd: cgbc-core: Add support for conga-PA7

From: Markus Haberlander via B4 Relay

Date: Wed Dec 02 2026 - 11:06:50 EST


From: Markus Haberlander <markus.haberlander@xxxxxxxxxxxxxxx>

The conga-PA7 is a Pico-ITX board with an Intel Elkhart Lake SoC, like
the conga-SA7 SMARC module. Its board controller is of the same
generation and is accessed through the same I/O ports, so the existing
driver works with it once the board is matched.

Match the board vendor and name.

Tested on a conga-PA7 (board revision A.2, BIOS PA70R026): the core
driver loads through its DMI alias and adds its GPIO, I2C and hwmon
cells.

Cc: stable@xxxxxxxxxxxxxxx # 6.13.x
Signed-off-by: Markus Haberlander <markus.haberlander@xxxxxxxxxxxxxxx>
---
Hi Lee,

sorry for the confusion, and thanks for looking at this. I am new to
kernel contributions and tried to follow the rules as closely as I
could. Since the Assisted-by tag was dropped (1e035297ffd, "docs:
remove Assisted-by references"), I understood
Documentation/process/generated-content.rst as asking for a note on
tool use "in cover letters and changelogs", so I put one in the commit
message to be on the safe side. I have removed it in v3, as you asked.

I added Cc: stable because the patch only adds the board to the DMI
table, and the stable rules mention device ID additions; without it,
the driver, which is already in the stable kernels, does not load on
this board. As a new board ID has no Fixes: tag, stable-kernel-rules.rst
suggests giving the first version instead, so that the stable team
knows which trees to apply it to. That is why I added 6.13, the first
release with cgbc-core. If you would rather not have it in stable,
please just drop the tag, or I will send a v4 without it.
---
Changes in v3:
- Remove the note on tool use from the commit message (Lee Jones)
- Link to v2: https://patch.msgid.link/20261124-cgbc-conga-pa7-v2-1-18a114b1801c@xxxxxxxxxxxxxxx

Changes in v2:
- Drop the remark on the empty system vendor and product name from the
commit message (as requested by Thomas Richard)
- Link to v1: https://patch.msgid.link/20261123-cgbc-conga-pa7-v1-1-f3d17fb02e43@xxxxxxxxxxxxxxx
---
drivers/mfd/cgbc-core.c | 7 +++++++
1 file changed, 7 insertions(+)

diff --git a/drivers/mfd/cgbc-core.c b/drivers/mfd/cgbc-core.c
index 8a63923d1..cd68d396d 100644
--- a/drivers/mfd/cgbc-core.c
+++ b/drivers/mfd/cgbc-core.c
@@ -379,6 +379,13 @@ static struct platform_driver cgbc_driver = {
};

static const struct dmi_system_id cgbc_dmi_table[] __initconst = {
+ {
+ .ident = "PA7",
+ .matches = {
+ DMI_MATCH(DMI_BOARD_VENDOR, "congatec"),
+ DMI_MATCH(DMI_BOARD_NAME, "conga-PA7"),
+ },
+ },
{
.ident = "SA7",
.matches = {

---
base-commit: 1cb7268b6638c411fc32f373e965eb8ba9e9b2b4
change-id: 20261123-cgbc-conga-pa7-dc67d3e2ed36

Best regards,
--
Markus Haberlander <markus.haberlander@xxxxxxxxxxxxxxx>