mfd: Add support for several boards to Kontron PLD driver
PATCH 1/1 mfd: Add support for several boards to Kontron PLD driver
This patch adds the DMI system ID of the Kontron COMe-bBD#, COMe-bKL6, COMe-cKL6, COMe-bSL6 and COMe-cAL6 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 | 5 +++++ drivers/mfd/kempld-core.c | 40 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 45 insertions(+)
drivers/mfd/Kconfig +5 -0
@@ -506,17 +506,22 @@ config MFD_KEMPLD device may provide functions like watchdog, GPIO, UART and I2C bus. The following modules are supported: + * COMe-bBD# * COMe-bBL6 * COMe-bHL6 + * COMe-bSL6 * COMe-bIP# + * COMe-bKL6 * COMe-bPC2 (ETXexpress-PC) * COMe-bSC# (ETXexpress-SC T#) + * COMe-cAL6 * COMe-cBL6 * COMe-cBT6 * COMe-cBW6 * COMe-cCT6 * COMe-cDC2 (microETXexpress-DC) * COMe-cHL6 + * COMe-cKL6 * COMe-cPC2 (microETXexpress-PC) * COMe-cSL6 * COMe-mAL10
drivers/mfd/kempld-core.c +40 -0
@@ -496,6 +496,14 @@ static struct platform_driver kempld_driver = {static struct dmi_system_id kempld_dmi_table[]__initdata = { { + .ident ="BBD6" , + .matches = { +DMI_MATCH (DMI_BOARD_VENDOR ,"Kontron" ), +DMI_MATCH (DMI_BOARD_NAME ,"COMe-bBD" ), + }, + .driver_data = (void *)&kempld_platform_data_generic, + .callback = kempld_create_platform_device, + }, { .ident ="BBL6" , .matches = {DMI_MATCH (DMI_BOARD_VENDOR ,"Kontron" ),
@@ -512,6 +520,30 @@ static struct dmi_system_id kempld_dmi_table[] __initdata = { .driver_data = (void *)&kempld_platform_data_generic, .callback = kempld_create_platform_device, }, { + .ident = "BKL6", + .matches = { +DMI_MATCH (DMI_BOARD_VENDOR ,"Kontron" ), + DMI_MATCH(DMI_BOARD_NAME, "COMe-bKL6"), + }, + .driver_data = (void *)&kempld_platform_data_generic, + .callback = kempld_create_platform_device, + }, { + .ident ="BSL6" , + .matches = { +DMI_MATCH (DMI_BOARD_VENDOR ,"Kontron" ), + DMI_MATCH(DMI_BOARD_NAME, "COMe-bSL6"), + }, + .driver_data = (void *)&kempld_platform_data_generic, + .callback = kempld_create_platform_device, + }, { + .ident ="CAL6" , + .matches = { +DMI_MATCH (DMI_BOARD_VENDOR ,"Kontron" ), + DMI_MATCH(DMI_BOARD_NAME, "COMe-cAL"), + }, + .driver_data = (void *)&kempld_platform_data_generic, + .callback = kempld_create_platform_device, + }, { .ident ="CBL6" , .matches = { DMI_MATCH(DMI_BOARD_VENDOR, "Kontron"),
@@ -600,6 +632,14 @@ static struct dmi_system_id kempld_dmi_table[] __initdata = { .driver_data = (void *)&kempld_platform_data_generic, .callback = kempld_create_platform_device, }, { + .ident = "CKL6", + .matches = { +DMI_MATCH (DMI_BOARD_VENDOR ,"Kontron" ), + DMI_MATCH(DMI_BOARD_NAME, "COMe-cKL6"), + }, + .driver_data = (void *)&kempld_platform_data_generic, + .callback = kempld_create_platform_device, + }, { .ident ="CNTG" , .matches = { DMI_MATCH(DMI_BOARD_VENDOR, "Kontron"),
Signature · 1 line
2.7.4
Quoted 6 lines · Michael Brunner
This patch adds the DMI system ID of the Kontron COMe-bBD#, COMe-bKL6, COMe-cKL6, COMe-bSL6 and COMe-cAL6 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]>
Quoted 99 lines
--- drivers/mfd/Kconfig | 5 +++++ drivers/mfd/kempld-core.c | 40 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 45 insertions(+)drivers/mfd/Kconfig +5
-0@@ -506,17 +506,22 @@ config MFD_KEMPLD device may provide functions like watchdog, GPIO, UART and I2C bus. The following modules are supported: + * COMe-bBD# * COMe-bBL6 * COMe-bHL6 + * COMe-bSL6 * COMe-bIP# + * COMe-bKL6 * COMe-bPC2 (ETXexpress-PC) * COMe-bSC# (ETXexpress-SC T#) + * COMe-cAL6 * COMe-cBL6 * COMe-cBT6 * COMe-cBW6 * COMe-cCT6 * COMe-cDC2 (microETXexpress-DC) * COMe-cHL6 + * COMe-cKL6 * COMe-cPC2 (microETXexpress-PC) * COMe-cSL6 * COMe-mAL10drivers/mfd/kempld-core.c +40
-0@@ -496,6 +496,14 @@ static struct platform_driver kempld_driver = {static struct dmi_system_id kempld_dmi_table[]__initdata = { { + .ident ="BBD6" , + .matches = { +DMI_MATCH (DMI_BOARD_VENDOR ,"Kontron" ), +DMI_MATCH (DMI_BOARD_NAME ,"COMe-bBD" ), + }, + .driver_data = (void *)&kempld_platform_data_generic, + .callback = kempld_create_platform_device, + }, { .ident ="BBL6" , .matches = {DMI_MATCH (DMI_BOARD_VENDOR ,"Kontron" ),@@ -512,6 +520,30 @@ static struct dmi_system_id kempld_dmi_table[] __initdata = { .driver_data = (void *)&kempld_platform_data_generic, .callback = kempld_create_platform_device, }, { + .ident = "BKL6", + .matches = { +DMI_MATCH (DMI_BOARD_VENDOR ,"Kontron" ), + DMI_MATCH(DMI_BOARD_NAME, "COMe-bKL6"), + }, + .driver_data = (void *)&kempld_platform_data_generic, + .callback = kempld_create_platform_device, + }, { + .ident ="BSL6" , + .matches = { +DMI_MATCH (DMI_BOARD_VENDOR ,"Kontron" ), + DMI_MATCH(DMI_BOARD_NAME, "COMe-bSL6"), + }, + .driver_data = (void *)&kempld_platform_data_generic, + .callback = kempld_create_platform_device, + }, { + .ident ="CAL6" , + .matches = { +DMI_MATCH (DMI_BOARD_VENDOR ,"Kontron" ), + DMI_MATCH(DMI_BOARD_NAME, "COMe-cAL"), + }, + .driver_data = (void *)&kempld_platform_data_generic, + .callback = kempld_create_platform_device, + }, { .ident ="CBL6" , .matches = { DMI_MATCH(DMI_BOARD_VENDOR, "Kontron"),@@ -600,6 +632,14 @@ static struct dmi_system_id kempld_dmi_table[] __initdata = { .driver_data = (void *)&kempld_platform_data_generic, .callback = kempld_create_platform_device, }, { + .ident = "CKL6", + .matches = { +DMI_MATCH (DMI_BOARD_VENDOR ,"Kontron" ), + DMI_MATCH(DMI_BOARD_NAME, "COMe-cKL6"), + }, + .driver_data = (void *)&kempld_platform_data_generic, + .callback = kempld_create_platform_device, + }, { .ident ="CNTG" , .matches = { DMI_MATCH(DMI_BOARD_VENDOR, "Kontron"),Signature · 1 line
2.7.4
Lee Jones
AppliedQuoted 10 lines · Michael Brunner
This patch adds the DMI system ID of the Kontron COMe-bBD#, COMe-bKL6, COMe-cKL6, COMe-bSL6 and COMe-cAL6 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 | 5 +++++ drivers/mfd/kempld-core.c | 40 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 45 insertions(+)
Applied, thanks.
Quoted 92 lines
drivers/mfd/Kconfig +5
-0@@ -506,17 +506,22 @@ config MFD_KEMPLD device may provide functions like watchdog, GPIO, UART and I2C bus. The following modules are supported: + * COMe-bBD# * COMe-bBL6 * COMe-bHL6 + * COMe-bSL6 * COMe-bIP# + * COMe-bKL6 * COMe-bPC2 (ETXexpress-PC) * COMe-bSC# (ETXexpress-SC T#) + * COMe-cAL6 * COMe-cBL6 * COMe-cBT6 * COMe-cBW6 * COMe-cCT6 * COMe-cDC2 (microETXexpress-DC) * COMe-cHL6 + * COMe-cKL6 * COMe-cPC2 (microETXexpress-PC) * COMe-cSL6 * COMe-mAL10drivers/mfd/kempld-core.c +40
-0@@ -496,6 +496,14 @@ static struct platform_driver kempld_driver = {static struct dmi_system_id kempld_dmi_table[]__initdata = { { + .ident ="BBD6" , + .matches = { +DMI_MATCH (DMI_BOARD_VENDOR ,"Kontron" ), +DMI_MATCH (DMI_BOARD_NAME ,"COMe-bBD" ), + }, + .driver_data = (void *)&kempld_platform_data_generic, + .callback = kempld_create_platform_device, + }, { .ident ="BBL6" , .matches = {DMI_MATCH (DMI_BOARD_VENDOR ,"Kontron" ),@@ -512,6 +520,30 @@ static struct dmi_system_id kempld_dmi_table[] __initdata = { .driver_data = (void *)&kempld_platform_data_generic, .callback = kempld_create_platform_device, }, { + .ident = "BKL6", + .matches = { +DMI_MATCH (DMI_BOARD_VENDOR ,"Kontron" ), + DMI_MATCH(DMI_BOARD_NAME, "COMe-bKL6"), + }, + .driver_data = (void *)&kempld_platform_data_generic, + .callback = kempld_create_platform_device, + }, { + .ident ="BSL6" , + .matches = { +DMI_MATCH (DMI_BOARD_VENDOR ,"Kontron" ), + DMI_MATCH(DMI_BOARD_NAME, "COMe-bSL6"), + }, + .driver_data = (void *)&kempld_platform_data_generic, + .callback = kempld_create_platform_device, + }, { + .ident ="CAL6" , + .matches = { +DMI_MATCH (DMI_BOARD_VENDOR ,"Kontron" ), + DMI_MATCH(DMI_BOARD_NAME, "COMe-cAL"), + }, + .driver_data = (void *)&kempld_platform_data_generic, + .callback = kempld_create_platform_device, + }, { .ident ="CBL6" , .matches = { DMI_MATCH(DMI_BOARD_VENDOR, "Kontron"),@@ -600,6 +632,14 @@ static struct dmi_system_id kempld_dmi_table[] __initdata = { .driver_data = (void *)&kempld_platform_data_generic, .callback = kempld_create_platform_device, }, { + .ident = "CKL6", + .matches = { +DMI_MATCH (DMI_BOARD_VENDOR ,"Kontron" ), + DMI_MATCH(DMI_BOARD_NAME, "COMe-cKL6"), + }, + .driver_data = (void *)&kempld_platform_data_generic, + .callback = kempld_create_platform_device, + }, { .ident ="CNTG" , .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