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

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

This is an unmodified resend of the patch already been sent on
February 17 as it seems to have fallen through the net.

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.

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

authored by

Michael Brunner and committed by
Lee Jones
1db3ba28 7e28abda

+18
+2
drivers/mfd/Kconfig
··· 491 491 * COMe-cDC2 (microETXexpress-DC) 492 492 * COMe-cHL6 493 493 * COMe-cPC2 (microETXexpress-PC) 494 + * COMe-cSL6 495 + * COMe-mAL10 494 496 * COMe-mBT10 495 497 * COMe-mCT10 496 498 * COMe-mTT10 (nanoETXexpress-TT)
+16
drivers/mfd/kempld-core.c
··· 624 624 .driver_data = (void *)&kempld_platform_data_generic, 625 625 .callback = kempld_create_platform_device, 626 626 }, { 627 + .ident = "CSL6", 628 + .matches = { 629 + DMI_MATCH(DMI_BOARD_VENDOR, "Kontron"), 630 + DMI_MATCH(DMI_BOARD_NAME, "COMe-cSL6"), 631 + }, 632 + .driver_data = (void *)&kempld_platform_data_generic, 633 + .callback = kempld_create_platform_device, 634 + }, { 627 635 .ident = "CVV6", 628 636 .matches = { 629 637 DMI_MATCH(DMI_BOARD_VENDOR, "Kontron"), ··· 651 643 .ident = "FRI2", 652 644 .matches = { 653 645 DMI_MATCH(DMI_PRODUCT_NAME, "Fish River Island II"), 646 + }, 647 + .driver_data = (void *)&kempld_platform_data_generic, 648 + .callback = kempld_create_platform_device, 649 + }, { 650 + .ident = "MAL1", 651 + .matches = { 652 + DMI_MATCH(DMI_BOARD_VENDOR, "Kontron"), 653 + DMI_MATCH(DMI_BOARD_NAME, "COMe-mAL10"), 654 654 }, 655 655 .driver_data = (void *)&kempld_platform_data_generic, 656 656 .callback = kempld_create_platform_device,