diff options
author | Michael Brunner <mibru@gmx.de> | 2014-02-24 02:53:46 -0500 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2014-03-19 04:58:24 -0400 |
commit | a3ee75092e3722e3ca03060d6f5671906b69fad4 (patch) | |
tree | 727c62558572a9f1b2add91b3c482e2e1b19bbd5 /drivers/mfd | |
parent | 3b9231893e5731e2212645a92f1d3d0776c58e1a (diff) |
mfd: kempld: Add support for COMe-mBT10, COMe-cBT6 and COMe-cHL6 to Kontron PLD driver
This patch adds DMI system IDs for the Kontron modules COMe-mBT10, COMe-cBT6
and COMe-cHL6 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>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd')
-rw-r--r-- | drivers/mfd/Kconfig | 5 | ||||
-rw-r--r-- | drivers/mfd/kempld-core.c | 24 |
2 files changed, 29 insertions, 0 deletions
diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig index 09fb5706208f..d93d1183991b 100644 --- a/drivers/mfd/Kconfig +++ b/drivers/mfd/Kconfig | |||
@@ -270,13 +270,18 @@ config MFD_KEMPLD | |||
270 | device may provide functions like watchdog, GPIO, UART and I2C bus. | 270 | device may provide functions like watchdog, GPIO, UART and I2C bus. |
271 | 271 | ||
272 | The following modules are supported: | 272 | The following modules are supported: |
273 | * COMe-bHL6 | ||
273 | * COMe-bIP# | 274 | * COMe-bIP# |
274 | * COMe-bPC2 (ETXexpress-PC) | 275 | * COMe-bPC2 (ETXexpress-PC) |
275 | * COMe-bSC# (ETXexpress-SC T#) | 276 | * COMe-bSC# (ETXexpress-SC T#) |
277 | * COMe-cBT6 | ||
276 | * COMe-cCT6 | 278 | * COMe-cCT6 |
277 | * COMe-cDC2 (microETXexpress-DC) | 279 | * COMe-cDC2 (microETXexpress-DC) |
280 | * COMe-cHL6 | ||
278 | * COMe-cPC2 (microETXexpress-PC) | 281 | * COMe-cPC2 (microETXexpress-PC) |
282 | * COMe-mBT10 | ||
279 | * COMe-mCT10 | 283 | * COMe-mCT10 |
284 | * COMe-mTT10 (nanoETXexpress-TT) | ||
280 | * ETX-OH | 285 | * ETX-OH |
281 | 286 | ||
282 | This driver can also be built as a module. If so, the module | 287 | This driver can also be built as a module. If so, the module |
diff --git a/drivers/mfd/kempld-core.c b/drivers/mfd/kempld-core.c index d3e23278d299..20a6afcfb36c 100644 --- a/drivers/mfd/kempld-core.c +++ b/drivers/mfd/kempld-core.c | |||
@@ -438,6 +438,14 @@ static struct dmi_system_id __initdata kempld_dmi_table[] = { | |||
438 | .driver_data = (void *)&kempld_platform_data_generic, | 438 | .driver_data = (void *)&kempld_platform_data_generic, |
439 | .callback = kempld_create_platform_device, | 439 | .callback = kempld_create_platform_device, |
440 | }, { | 440 | }, { |
441 | .ident = "CHL6", | ||
442 | .matches = { | ||
443 | DMI_MATCH(DMI_BOARD_VENDOR, "Kontron"), | ||
444 | DMI_MATCH(DMI_BOARD_NAME, "COMe-cHL6"), | ||
445 | }, | ||
446 | .driver_data = (void *)&kempld_platform_data_generic, | ||
447 | .callback = kempld_create_platform_device, | ||
448 | }, { | ||
441 | .ident = "CHR2", | 449 | .ident = "CHR2", |
442 | .matches = { | 450 | .matches = { |
443 | DMI_MATCH(DMI_BOARD_VENDOR, "Kontron"), | 451 | DMI_MATCH(DMI_BOARD_VENDOR, "Kontron"), |
@@ -510,6 +518,14 @@ static struct dmi_system_id __initdata kempld_dmi_table[] = { | |||
510 | .driver_data = (void *)&kempld_platform_data_generic, | 518 | .driver_data = (void *)&kempld_platform_data_generic, |
511 | .callback = kempld_create_platform_device, | 519 | .callback = kempld_create_platform_device, |
512 | }, { | 520 | }, { |
521 | .ident = "CVV6", | ||
522 | .matches = { | ||
523 | DMI_MATCH(DMI_BOARD_VENDOR, "Kontron"), | ||
524 | DMI_MATCH(DMI_BOARD_NAME, "COMe-cBT"), | ||
525 | }, | ||
526 | .driver_data = (void *)&kempld_platform_data_generic, | ||
527 | .callback = kempld_create_platform_device, | ||
528 | }, { | ||
513 | .ident = "FRI2", | 529 | .ident = "FRI2", |
514 | .matches = { | 530 | .matches = { |
515 | DMI_MATCH(DMI_BOARD_VENDOR, "Kontron"), | 531 | DMI_MATCH(DMI_BOARD_VENDOR, "Kontron"), |
@@ -533,6 +549,14 @@ static struct dmi_system_id __initdata kempld_dmi_table[] = { | |||
533 | .driver_data = (void *)&kempld_platform_data_generic, | 549 | .driver_data = (void *)&kempld_platform_data_generic, |
534 | .callback = kempld_create_platform_device, | 550 | .callback = kempld_create_platform_device, |
535 | }, { | 551 | }, { |
552 | .ident = "MVV1", | ||
553 | .matches = { | ||
554 | DMI_MATCH(DMI_BOARD_VENDOR, "Kontron"), | ||
555 | DMI_MATCH(DMI_BOARD_NAME, "COMe-mBT"), | ||
556 | }, | ||
557 | .driver_data = (void *)&kempld_platform_data_generic, | ||
558 | .callback = kempld_create_platform_device, | ||
559 | }, { | ||
536 | .ident = "NTC1", | 560 | .ident = "NTC1", |
537 | .matches = { | 561 | .matches = { |
538 | DMI_MATCH(DMI_BOARD_VENDOR, "Kontron"), | 562 | DMI_MATCH(DMI_BOARD_VENDOR, "Kontron"), |