mfd: Add support for COMe-bBL6 and COMe-cBW6 to Kontron PLD driver
PATCH 1/1 mfd: 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 <[email protected]>
Acked-by Christian Rauch <[email protected]>
--- drivers/mfd/Kconfig | 2 ++ drivers/mfd/kempld-core.c | 16 ++++++++++++++++ 2 files changed, 18 insertions(+)
drivers/mfd/Kconfig +2 -0
@@ -375,12 +375,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
drivers/mfd/kempld-core.c +16 -0
@@ -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" ),
@@ -517,6 +525,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 = { DMI_MATCH(DMI_BOARD_VENDOR, "Kontron"),
Signature · 1 line
1.8.5.1
Quoted 6 lines · Michael Brunner
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 <[email protected]>Acked-by Christian Rauch <[email protected]>
Reviewed-by Guenter Roeck <[email protected]>
Lee Jones
AppliedQuoted 10 lines · Michael Brunner
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 <[email protected]>Acked-by Christian Rauch <[email protected]>--- drivers/mfd/Kconfig | 2 ++ drivers/mfd/kempld-core.c | 16 ++++++++++++++++ 2 files changed, 18 insertions(+)
Applied, thanks.
Quoted 53 lines
drivers/mfd/Kconfig +2
-0@@ -375,12 +375,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-cHL6drivers/mfd/kempld-core.c +16
-0@@ -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" ),@@ -517,6 +525,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 = { DMI_MATCH(DMI_BOARD_VENDOR, "Kontron"),
Signature · 4 lines
Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog