Skip to content

Commit

Permalink
mfd: kempld-core: Add support for COMe-bBL6 and COMe-cBW6 to Kontron …
Browse files Browse the repository at this point in the history
…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>
  • Loading branch information
mibrunner authored and Lee Jones committed Aug 11, 2015
1 parent 13e72a4 commit 18ca2ba
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/mfd/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -410,12 +410,14 @@ config MFD_KEMPLD
device may provide functions like watchdog, GPIO, UART and I2C bus.

The following modules are supported:
* COMe-bBL6
* COMe-bHL6
* COMe-bIP#
* COMe-bPC2 (ETXexpress-PC)
* COMe-bSC# (ETXexpress-SC T#)
* COMe-cBL6
* COMe-cBT6
* COMe-cBW6
* COMe-cCT6
* COMe-cDC2 (microETXexpress-DC)
* COMe-cHL6
Expand Down
16 changes: 16 additions & 0 deletions drivers/mfd/kempld-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -501,6 +501,14 @@ static struct platform_driver kempld_driver = {

static struct dmi_system_id kempld_dmi_table[] __initdata = {
{
.ident = "BBL6",
.matches = {
DMI_MATCH(DMI_BOARD_VENDOR, "Kontron"),
DMI_MATCH(DMI_BOARD_NAME, "COMe-bBL6"),
},
.driver_data = (void *)&kempld_platform_data_generic,
.callback = kempld_create_platform_device,
}, {
.ident = "BHL6",
.matches = {
DMI_MATCH(DMI_BOARD_VENDOR, "Kontron"),
Expand All @@ -516,6 +524,14 @@ static struct dmi_system_id kempld_dmi_table[] __initdata = {
},
.driver_data = (void *)&kempld_platform_data_generic,
.callback = kempld_create_platform_device,
}, {
.ident = "CBW6",
.matches = {
DMI_MATCH(DMI_BOARD_VENDOR, "Kontron"),
DMI_MATCH(DMI_BOARD_NAME, "COMe-cBW6"),
},
.driver_data = (void *)&kempld_platform_data_generic,
.callback = kempld_create_platform_device,
}, {
.ident = "CCR2",
.matches = {
Expand Down

0 comments on commit 18ca2ba

Please sign in to comment.