From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753621AbdAZUhT (ORCPT ); Thu, 26 Jan 2017 15:37:19 -0500 Received: from bh-25.webhostbox.net ([208.91.199.152]:53864 "EHLO bh-25.webhostbox.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753274AbdAZUhS (ORCPT ); Thu, 26 Jan 2017 15:37:18 -0500 Date: Thu, 26 Jan 2017 11:27:00 -0800 From: Guenter Roeck To: Michael Brunner Cc: Lee Jones , "linux-kernel@vger.kernel.org" , Christian Rauch , Michael Brunner , Darren Hart , Kevin Strasser Subject: Re: [PATCH] mfd: Add support for several boards to Kontron PLD driver Message-ID: <20170126192700.GA10759@roeck-us.net> References: <20170126174546.5a36b6cd@mail.gmx.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170126174546.5a36b6cd@mail.gmx.de> User-Agent: Mutt/1.5.24 (2015-08-30) X-Authenticated_sender: guenter@roeck-us.net X-OutGoing-Spam-Status: No, score=-1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - bh-25.webhostbox.net X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - roeck-us.net X-Get-Message-Sender-Via: bh-25.webhostbox.net: authenticated_id: guenter@roeck-us.net X-Authenticated-Sender: bh-25.webhostbox.net: guenter@roeck-us.net X-Source: X-Source-Args: X-Source-Dir: Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jan 26, 2017 at 05:45:46PM +0100, Michael Brunner wrote: > 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 > Acked-by: Christian Rauch Reviewed-by: Guenter Roeck > --- > drivers/mfd/Kconfig | 5 +++++ > drivers/mfd/kempld-core.c | 40 ++++++++++++++++++++++++++++++++++++++++ > 2 files changed, 45 insertions(+) > > diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig > index 4ce3b6f..5394125 100644 > --- a/drivers/mfd/Kconfig > +++ b/drivers/mfd/Kconfig > @@ -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 > diff --git a/drivers/mfd/kempld-core.c b/drivers/mfd/kempld-core.c > index da5722d..895f655 100644 > --- a/drivers/mfd/kempld-core.c > +++ b/drivers/mfd/kempld-core.c > @@ -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"), > -- > 2.7.4