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

Markus Haberlander via B4 Relay posted 1 patch 2 hours ago
drivers/mfd/cgbc-core.c | 7 +++++++
1 file changed, 7 insertions(+)
[PATCH v2] mfd: cgbc-core: Add support for conga-PA7
Posted by Markus Haberlander via B4 Relay 2 hours ago
From: Markus Haberlander <markus.haberlander@rosenberger.com>

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.

The patch and this changelog were drafted with the help of Claude
Opus 5.5 and reviewed and tested by me.

Cc: stable@vger.kernel.org # 6.13.x
Signed-off-by: Markus Haberlander <markus.haberlander@rosenberger.com>
---
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@rosenberger.com
---
 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@rosenberger.com>