Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753377AbbGNLVH (ORCPT ); Tue, 14 Jul 2015 07:21:07 -0400 Received: from mout.gmx.net ([212.227.17.20]:64712 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751782AbbGNLVE (ORCPT ); Tue, 14 Jul 2015 07:21:04 -0400 Date: Tue, 14 Jul 2015 13:20:50 +0200 From: Michael Brunner To: "linux-kernel@vger.kernel.org" , Samuel Ortiz , Lee Jones Cc: Darren Hart , Kevin Strasser , Michael Brunner , Christian Rauch , Guenter Roeck Subject: [PATCH] mfd: Add support for COMe-bBL6 and COMe-cBW6 to Kontron PLD driver Message-ID: <20150714132050.686597b6@hyperion> X-Mailer: Claws Mail 3.9.2 (GTK+ 2.24.22; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:tbnYBki2ZT12m2/W6pMD8pix9D4DHzjsJUMv4rFJR9/kiknpe4y 6TqUNTUnntONypsvRZ2N7LS7w3WjijH78r+4eW4Zq+KHdKBNWatEJxyaEoMynJj/ZQFIO07 QOarjddz2ezquclB2LlOYBPRA5ddublqtj7LpnUcQ4fLmlolre8qMDwDe5W40m8I1hbXVQt TOFdD+ZYh1xCfMJdXJVSw== X-UI-Out-Filterresults: notjunk:1;V01:K0:Gl9zN0rvr6Y=:D5whvP59a/woVi4n856G7b dEd/Yyv09ro+Qv32BYPb5cvQGQJLNpgrMF6BqXs4sUyPbvfX5EavwGzEQjsfeWZl8FkCfSv2m weV1OH5JaiBDnt2vRrpvV6BTRjMR8sYYRUvI8GQ3hfcV156lPiktHDqVnHblIW01o/OLFgebA /bnmcXCFpFdi7gk1KskEoNsqSoX7npocLCb6mmi9RZtHA9DnNUz3B//vz9fDQm4oaDJdAHayu rU8VR2FGqmbZrlZGqswD2o99EGg19ktKZcXnWLKd+F6rQXcpB8AR93RS6yqGqhaoaDwRXIMCA OVHWjDYXMIgW+6ulqeDqCrfqHV+xBTEIK2jEu3wuADMLlnKZOqAvcxcc1u7wQBRrbamFRfGwk XYn4nntNebDI2ly30yeh4/h0Xw97XsDXMsOpLXqSqxn5tnfM/IVw9/VkZAuzQusqy7p5vDMq9 Vl7W9dJTTV3fdkNTJfgxHgG+L3oLl8LavEAXHXgo+vidm8s/sfI3eDoxeCDP7M7+H+vQRQEd+ Z1i4JD+iOU8Sg+iuz0USGwwBuIxlJI1OP323vxPRZuN6SS1IV16P0rBfUyW3iy7FwYtBHDpEk y81xLLI4fqZCZHbGWVIZkW7+TwHE1z6hLTtbDAEqzdYzKoOdM2sWBJ1fFj2+jdermjpDgtObp bc3WEGwovr3fp/A17T6izRxvKz8veBevOouBIMXX4VUEKdNHR66QoaqeF0ekzYqTOYEk= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2327 Lines: 72 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 Acked-by: Christian Rauch --- drivers/mfd/Kconfig | 2 ++ drivers/mfd/kempld-core.c | 16 ++++++++++++++++ 2 files changed, 18 insertions(+) diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig index 6538159..51809e2 100644 --- a/drivers/mfd/Kconfig +++ b/drivers/mfd/Kconfig @@ -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 diff --git a/drivers/mfd/kempld-core.c b/drivers/mfd/kempld-core.c index 8057849..463f4ea 100644 --- a/drivers/mfd/kempld-core.c +++ b/drivers/mfd/kempld-core.c @@ -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"), -- 1.8.5.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/