Skip to contentSkip to conversation

mfd: Add support for COMe-cSL6 and COMe-mAL10 to Kontron PLD driver

PATCH Superseded Michael Brunner 3 participants 3 messages Feb 17, 2016 – Feb 18, 2016 Multifunction devices (MFD)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mfd: Add support for COMe-cSL6 and COMe-mAL10 to Kontron PLD driver

This patch adds the DMI system ID of the Kontron COMe-cSL6 and COME-mAL10 boards to the Kontron PLD driver. The list of supported products in the module description is also updated.

---
 drivers/mfd/Kconfig       |  2 ++
 drivers/mfd/kempld-core.c | 16 ++++++++++++++++
 2 files changed, 18 insertions(+)
drivers/mfd/Kconfig +2 -0
index 9ca66de..aab58b6 100644
@@ -435,6 +435,8 @@ config MFD_KEMPLD
 		* COMe-cDC2 (microETXexpress-DC)
 		* COMe-cHL6
 		* COMe-cPC2 (microETXexpress-PC)
+		* COMe-cSL6
+		* COMe-mAL10
 		* COMe-mBT10
 		* COMe-mCT10
 		* COMe-mTT10 (nanoETXexpress-TT)
drivers/mfd/kempld-core.c +16 -0
index 05b9245..da5722d 100644
@@ -624,6 +624,14 @@ static struct dmi_system_id kempld_dmi_table[] __initdata = {
 		.driver_data = (void *)&kempld_platform_data_generic,
 		.callback = kempld_create_platform_device,
 	}, {
+		.ident = "CSL6",
+		.matches = {
+			DMI_MATCH(DMI_BOARD_VENDOR, "Kontron"),
+			DMI_MATCH(DMI_BOARD_NAME, "COMe-cSL6"),
+		},
+		.driver_data = (void *)&kempld_platform_data_generic,
+		.callback = kempld_create_platform_device,
+	}, {
 		.ident = "CVV6",
 		.matches = {
 			DMI_MATCH(DMI_BOARD_VENDOR, "Kontron"),
@@ -647,6 +655,14 @@ static struct dmi_system_id kempld_dmi_table[] __initdata = {
 		.driver_data = (void *)&kempld_platform_data_generic,
 		.callback = kempld_create_platform_device,
 	}, {
+		.ident = "MAL1",
+		.matches = {
+			DMI_MATCH(DMI_BOARD_VENDOR, "Kontron"),
+			DMI_MATCH(DMI_BOARD_NAME, "COMe-mAL10"),
+		},
+		.driver_data = (void *)&kempld_platform_data_generic,
+		.callback = kempld_create_platform_device,
+	}, {
 		.ident = "MBR1",
 		.matches = {
 			DMI_MATCH(DMI_BOARD_VENDOR, "Kontron"),
Signature · 1 line
2.5.0
Acked-by on v1 1/1
#1 lore raw
Quoted 6 lines · Michael Brunner

This patch adds the DMI system ID of the Kontron COMe-cSL6 and COME-mAL10 boards to the Kontron PLD driver. The list of supported products in the module description is also updated.

Quoted 53 lines
---
  drivers/mfd/Kconfig       |  2 ++
  drivers/mfd/kempld-core.c | 16 ++++++++++++++++
  2 files changed, 18 insertions(+)
drivers/mfd/Kconfig +2 -0
index 9ca66de..aab58b6 100644
@@ -435,6 +435,8 @@ config MFD_KEMPLD
  		* COMe-cDC2 (microETXexpress-DC)
  		* COMe-cHL6
  		* COMe-cPC2 (microETXexpress-PC)
+		* COMe-cSL6
+		* COMe-mAL10
  		* COMe-mBT10
  		* COMe-mCT10
  		* COMe-mTT10 (nanoETXexpress-TT)
drivers/mfd/kempld-core.c +16 -0
index 05b9245..da5722d 100644
@@ -624,6 +624,14 @@ static struct dmi_system_id kempld_dmi_table[] __initdata = {
  		.driver_data = (void *)&kempld_platform_data_generic,
  		.callback = kempld_create_platform_device,
  	}, {
+		.ident = "CSL6",
+		.matches = {
+			DMI_MATCH(DMI_BOARD_VENDOR, "Kontron"),
+			DMI_MATCH(DMI_BOARD_NAME, "COMe-cSL6"),
+		},
+		.driver_data = (void *)&kempld_platform_data_generic,
+		.callback = kempld_create_platform_device,
+	}, {
  		.ident = "CVV6",
  		.matches = {
  			DMI_MATCH(DMI_BOARD_VENDOR, "Kontron"),
@@ -647,6 +655,14 @@ static struct dmi_system_id kempld_dmi_table[] __initdata = {
  		.driver_data = (void *)&kempld_platform_data_generic,
  		.callback = kempld_create_platform_device,
  	}, {
+		.ident = "MAL1",
+		.matches = {
+			DMI_MATCH(DMI_BOARD_VENDOR, "Kontron"),
+			DMI_MATCH(DMI_BOARD_NAME, "COMe-mAL10"),
+		},
+		.driver_data = (void *)&kempld_platform_data_generic,
+		.callback = kempld_create_platform_device,
+	}, {
  		.ident = "MBR1",
  		.matches = {
  			DMI_MATCH(DMI_BOARD_VENDOR, "Kontron"),
Reviewed-by on v1 1/1
#2 lore raw
In reply to Michael Brunner
Quoted 6 lines · Michael Brunner

This patch adds the DMI system ID of the Kontron COMe-cSL6 and COME-mAL10 boards to the Kontron PLD driver. The list of supported products in the module description is also updated.

Consistent with established practice for this driver.

Signature · 2 lines
Darren Hart
Intel Open Source Technology Center