public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] mfd: Add support for COMe-bHL6 and COMe-cTH6 to Kontron PLD driver
@ 2013-08-09 15:33 Michael Brunner
  2013-08-09 19:25 ` Guenter Roeck
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Michael Brunner @ 2013-08-09 15:33 UTC (permalink / raw)
  To: linux-kernel@vger.kernel.org
  Cc: Guenter Roeck, Kevin Strasser, Darren Hart, Samuel Ortiz,
	Michael Brunner, Chris Healy, Lee Jones

This patch adds DMI system IDs for the new Kontron modules COMe-bHL6 and
COMe-cTH6 to the Kontron PLD driver.

Signed-off-by: Michael Brunner <michael.brunner@kontron.com>
---
 drivers/mfd/kempld-core.c |   18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/drivers/mfd/kempld-core.c b/drivers/mfd/kempld-core.c
index 686a456..ee28e76 100644
--- a/drivers/mfd/kempld-core.c
+++ b/drivers/mfd/kempld-core.c
@@ -413,6 +413,15 @@ static struct platform_driver kempld_driver = {
 
 static struct dmi_system_id __initdata kempld_dmi_table[] = {
 	{
+		.ident = "BHL6",
+		.matches = {
+			DMI_MATCH(DMI_BOARD_VENDOR, "Kontron"),
+			DMI_MATCH(DMI_BOARD_NAME, "COMe-bHL6"),
+		},
+		.driver_data = (void *)&kempld_platform_data_generic,
+		.callback = kempld_create_platform_device,
+	},
+	{
 		.ident = "CCR2",
 		.matches = {
 			DMI_MATCH(DMI_BOARD_VENDOR, "Kontron"),
@@ -596,6 +605,15 @@ static struct dmi_system_id __initdata kempld_dmi_table[] = {
 		.driver_data = (void *)&kempld_platform_data_generic,
 		.callback = kempld_create_platform_device,
 	},
+	{
+		.ident = "UTH6",
+		.matches = {
+			DMI_MATCH(DMI_BOARD_VENDOR, "Kontron"),
+			DMI_MATCH(DMI_BOARD_NAME, "COMe-cTH6"),
+		},
+		.driver_data = (void *)&kempld_platform_data_generic,
+		.callback = kempld_create_platform_device,
+	},
 	{}
 };
 MODULE_DEVICE_TABLE(dmi, kempld_dmi_table);

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] mfd: Add support for COMe-bHL6 and COMe-cTH6 to Kontron PLD driver
  2013-08-09 15:33 [PATCH] mfd: Add support for COMe-bHL6 and COMe-cTH6 to Kontron PLD driver Michael Brunner
@ 2013-08-09 19:25 ` Guenter Roeck
  2013-08-10 22:13 ` Kevin Strasser
  2013-08-12 16:31 ` Lee Jones
  2 siblings, 0 replies; 4+ messages in thread
From: Guenter Roeck @ 2013-08-09 19:25 UTC (permalink / raw)
  To: Michael Brunner
  Cc: linux-kernel@vger.kernel.org, Kevin Strasser, Darren Hart,
	Samuel Ortiz, Michael Brunner, Chris Healy, Lee Jones

On Fri, Aug 09, 2013 at 05:33:43PM +0200, Michael Brunner wrote:
> This patch adds DMI system IDs for the new Kontron modules COMe-bHL6 and
> COMe-cTH6 to the Kontron PLD driver.
> 
> Signed-off-by: Michael Brunner <michael.brunner@kontron.com>

Reviewed-by: Guenter Roeck <linux@roeck-us.net>

> ---
>  drivers/mfd/kempld-core.c |   18 ++++++++++++++++++
>  1 file changed, 18 insertions(+)
> 
> diff --git a/drivers/mfd/kempld-core.c b/drivers/mfd/kempld-core.c
> index 686a456..ee28e76 100644
> --- a/drivers/mfd/kempld-core.c
> +++ b/drivers/mfd/kempld-core.c
> @@ -413,6 +413,15 @@ static struct platform_driver kempld_driver = {
>  
>  static struct dmi_system_id __initdata kempld_dmi_table[] = {
>  	{
> +		.ident = "BHL6",
> +		.matches = {
> +			DMI_MATCH(DMI_BOARD_VENDOR, "Kontron"),
> +			DMI_MATCH(DMI_BOARD_NAME, "COMe-bHL6"),
> +		},
> +		.driver_data = (void *)&kempld_platform_data_generic,
> +		.callback = kempld_create_platform_device,
> +	},
> +	{
>  		.ident = "CCR2",
>  		.matches = {
>  			DMI_MATCH(DMI_BOARD_VENDOR, "Kontron"),
> @@ -596,6 +605,15 @@ static struct dmi_system_id __initdata kempld_dmi_table[] = {
>  		.driver_data = (void *)&kempld_platform_data_generic,
>  		.callback = kempld_create_platform_device,
>  	},
> +	{
> +		.ident = "UTH6",
> +		.matches = {
> +			DMI_MATCH(DMI_BOARD_VENDOR, "Kontron"),
> +			DMI_MATCH(DMI_BOARD_NAME, "COMe-cTH6"),
> +		},
> +		.driver_data = (void *)&kempld_platform_data_generic,
> +		.callback = kempld_create_platform_device,
> +	},
>  	{}
>  };
>  MODULE_DEVICE_TABLE(dmi, kempld_dmi_table);
> 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] mfd: Add support for COMe-bHL6 and COMe-cTH6 to Kontron PLD driver
  2013-08-09 15:33 [PATCH] mfd: Add support for COMe-bHL6 and COMe-cTH6 to Kontron PLD driver Michael Brunner
  2013-08-09 19:25 ` Guenter Roeck
@ 2013-08-10 22:13 ` Kevin Strasser
  2013-08-12 16:31 ` Lee Jones
  2 siblings, 0 replies; 4+ messages in thread
From: Kevin Strasser @ 2013-08-10 22:13 UTC (permalink / raw)
  To: Michael Brunner
  Cc: linux-kernel@vger.kernel.org, Guenter Roeck, Darren Hart,
	Samuel Ortiz, Michael Brunner, Chris Healy, Lee Jones

On Fri, Aug 09, 2013 at 05:33:43PM +0200, Michael Brunner wrote:
> This patch adds DMI system IDs for the new Kontron modules COMe-bHL6 and
> COMe-cTH6 to the Kontron PLD driver.
> 
> Signed-off-by: Michael Brunner <michael.brunner@kontron.com>

Acked-by: Kevin Strasser <strassek@engr.orst.edu>

> ---
>  drivers/mfd/kempld-core.c |   18 ++++++++++++++++++
>  1 file changed, 18 insertions(+)
> 
> diff --git a/drivers/mfd/kempld-core.c b/drivers/mfd/kempld-core.c
> index 686a456..ee28e76 100644
> --- a/drivers/mfd/kempld-core.c
> +++ b/drivers/mfd/kempld-core.c
> @@ -413,6 +413,15 @@ static struct platform_driver kempld_driver = {
>  
>  static struct dmi_system_id __initdata kempld_dmi_table[] = {
>  	{
> +		.ident = "BHL6",
> +		.matches = {
> +			DMI_MATCH(DMI_BOARD_VENDOR, "Kontron"),
> +			DMI_MATCH(DMI_BOARD_NAME, "COMe-bHL6"),
> +		},
> +		.driver_data = (void *)&kempld_platform_data_generic,
> +		.callback = kempld_create_platform_device,
> +	},
> +	{
>  		.ident = "CCR2",
>  		.matches = {
>  			DMI_MATCH(DMI_BOARD_VENDOR, "Kontron"),
> @@ -596,6 +605,15 @@ static struct dmi_system_id __initdata kempld_dmi_table[] = {
>  		.driver_data = (void *)&kempld_platform_data_generic,
>  		.callback = kempld_create_platform_device,
>  	},
> +	{
> +		.ident = "UTH6",
> +		.matches = {
> +			DMI_MATCH(DMI_BOARD_VENDOR, "Kontron"),
> +			DMI_MATCH(DMI_BOARD_NAME, "COMe-cTH6"),
> +		},
> +		.driver_data = (void *)&kempld_platform_data_generic,
> +		.callback = kempld_create_platform_device,
> +	},
>  	{}
>  };
>  MODULE_DEVICE_TABLE(dmi, kempld_dmi_table);

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] mfd: Add support for COMe-bHL6 and COMe-cTH6 to Kontron PLD driver
  2013-08-09 15:33 [PATCH] mfd: Add support for COMe-bHL6 and COMe-cTH6 to Kontron PLD driver Michael Brunner
  2013-08-09 19:25 ` Guenter Roeck
  2013-08-10 22:13 ` Kevin Strasser
@ 2013-08-12 16:31 ` Lee Jones
  2 siblings, 0 replies; 4+ messages in thread
From: Lee Jones @ 2013-08-12 16:31 UTC (permalink / raw)
  To: Michael Brunner
  Cc: linux-kernel@vger.kernel.org, Guenter Roeck, Kevin Strasser,
	Darren Hart, Samuel Ortiz, Michael Brunner, Chris Healy

On Fri, 09 Aug 2013, Michael Brunner wrote:

> This patch adds DMI system IDs for the new Kontron modules COMe-bHL6 and
> COMe-cTH6 to the Kontron PLD driver.
> 
> Signed-off-by: Michael Brunner <michael.brunner@kontron.com>
> ---
>  drivers/mfd/kempld-core.c |   18 ++++++++++++++++++
>  1 file changed, 18 insertions(+)

Applied with Kevin's Ack, thanks.

> diff --git a/drivers/mfd/kempld-core.c b/drivers/mfd/kempld-core.c
> index 686a456..ee28e76 100644
> --- a/drivers/mfd/kempld-core.c
> +++ b/drivers/mfd/kempld-core.c
> @@ -413,6 +413,15 @@ static struct platform_driver kempld_driver = {
>  
>  static struct dmi_system_id __initdata kempld_dmi_table[] = {
>  	{
> +		.ident = "BHL6",
> +		.matches = {
> +			DMI_MATCH(DMI_BOARD_VENDOR, "Kontron"),
> +			DMI_MATCH(DMI_BOARD_NAME, "COMe-bHL6"),
> +		},
> +		.driver_data = (void *)&kempld_platform_data_generic,
> +		.callback = kempld_create_platform_device,
> +	},
> +	{
>  		.ident = "CCR2",
>  		.matches = {
>  			DMI_MATCH(DMI_BOARD_VENDOR, "Kontron"),
> @@ -596,6 +605,15 @@ static struct dmi_system_id __initdata kempld_dmi_table[] = {
>  		.driver_data = (void *)&kempld_platform_data_generic,
>  		.callback = kempld_create_platform_device,
>  	},
> +	{
> +		.ident = "UTH6",
> +		.matches = {
> +			DMI_MATCH(DMI_BOARD_VENDOR, "Kontron"),
> +			DMI_MATCH(DMI_BOARD_NAME, "COMe-cTH6"),
> +		},
> +		.driver_data = (void *)&kempld_platform_data_generic,
> +		.callback = kempld_create_platform_device,
> +	},
>  	{}
>  };
>  MODULE_DEVICE_TABLE(dmi, kempld_dmi_table);

-- 
Lee Jones
Linaro ST-Ericsson Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-08-12 16:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-09 15:33 [PATCH] mfd: Add support for COMe-bHL6 and COMe-cTH6 to Kontron PLD driver Michael Brunner
2013-08-09 19:25 ` Guenter Roeck
2013-08-10 22:13 ` Kevin Strasser
2013-08-12 16:31 ` Lee Jones

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox