Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

mfd: kempld-core: Add support for COMe-bBL6 and COMe-cBW6 to Kontron PLD driver

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

Signed-off-by: Michael Brunner <michael.brunner@kontron.com>
Acked-by: Christian Rauch <christian.rauch@kontron.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Lee Jones <lee.jones@linaro.org>

authored by

Michael Brunner and committed by
Lee Jones
18ca2ba5 13e72a49

+18
+2
drivers/mfd/Kconfig
··· 410 410 device may provide functions like watchdog, GPIO, UART and I2C bus. 411 411 412 412 The following modules are supported: 413 + * COMe-bBL6 413 414 * COMe-bHL6 414 415 * COMe-bIP# 415 416 * COMe-bPC2 (ETXexpress-PC) 416 417 * COMe-bSC# (ETXexpress-SC T#) 417 418 * COMe-cBL6 418 419 * COMe-cBT6 420 + * COMe-cBW6 419 421 * COMe-cCT6 420 422 * COMe-cDC2 (microETXexpress-DC) 421 423 * COMe-cHL6
+16
drivers/mfd/kempld-core.c
··· 501 501 502 502 static struct dmi_system_id kempld_dmi_table[] __initdata = { 503 503 { 504 + .ident = "BBL6", 505 + .matches = { 506 + DMI_MATCH(DMI_BOARD_VENDOR, "Kontron"), 507 + DMI_MATCH(DMI_BOARD_NAME, "COMe-bBL6"), 508 + }, 509 + .driver_data = (void *)&kempld_platform_data_generic, 510 + .callback = kempld_create_platform_device, 511 + }, { 504 512 .ident = "BHL6", 505 513 .matches = { 506 514 DMI_MATCH(DMI_BOARD_VENDOR, "Kontron"), ··· 521 513 .matches = { 522 514 DMI_MATCH(DMI_BOARD_VENDOR, "Kontron"), 523 515 DMI_MATCH(DMI_BOARD_NAME, "COMe-cBL6"), 516 + }, 517 + .driver_data = (void *)&kempld_platform_data_generic, 518 + .callback = kempld_create_platform_device, 519 + }, { 520 + .ident = "CBW6", 521 + .matches = { 522 + DMI_MATCH(DMI_BOARD_VENDOR, "Kontron"), 523 + DMI_MATCH(DMI_BOARD_NAME, "COMe-cBW6"), 524 524 }, 525 525 .driver_data = (void *)&kempld_platform_data_generic, 526 526 .callback = kempld_create_platform_device,