]> git.karo-electronics.de Git - linux-beck.git/commitdiff
mfd: Add support for COMe-cSL6 and COMe-mAL10 to Kontron PLD driver
authorMichael Brunner <mibru@gmx.de>
Sun, 19 Jun 2016 08:48:20 +0000 (10:48 +0200)
committerLee Jones <lee.jones@linaro.org>
Wed, 29 Jun 2016 09:16:36 +0000 (10:16 +0100)
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>
drivers/mfd/Kconfig
drivers/mfd/kempld-core.c

index 48ed14ae9651fe16e1a0e2334b5925353d52751f..2d1fb64205924de8ab87e14608004fc169557cea 100644 (file)
@@ -491,6 +491,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)
index 05b924542ee2b1118635e90348a6a8a8e8a6d603..da5722d7c540b7e39295b506367b888ea4cd68f1 100644 (file)
@@ -623,6 +623,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 = {
@@ -646,6 +654,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 = {