public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Darren Hart <dvhart@infradead.org>
To: Mario Limonciello <mario_limonciello@dell.com>
Cc: LKML <linux-kernel@vger.kernel.org>, platform-driver-x86@vger.kernel.org
Subject: Re: [PATCH v2 5/5] Add support for two new systems: ASM200 and ASM201.
Date: Tue, 2 Feb 2016 09:38:42 -0800	[thread overview]
Message-ID: <20160202173842.GD1779@malice.jf.intel.com> (raw)
In-Reply-To: <1454380131-24662-6-git-send-email-mario_limonciello@dell.com>

On Mon, Feb 01, 2016 at 08:28:51PM -0600, Mario Limonciello wrote:
> Both of these systems support:
> * 2 lighting control zones
> * HDMI mux control
> * deep sleep control (to enable wakup from controller)
> 
> The ASM201 also supports the external graphics amplifier.

Nit on the subject:

[file|platform]: subject

e.g.

alienware-wmi: Add support for two new systems: ASM200 and ASM201

This keeps the log consistent and aligns with Linus' merge comments.

> 
> Signed-off-by: Mario Limonciello <mario_limonciello@dell.com>
> ---
>  drivers/platform/x86/alienware-wmi.c | 32 ++++++++++++++++++++++++++++++++
>  1 file changed, 32 insertions(+)
> 
> diff --git a/drivers/platform/x86/alienware-wmi.c b/drivers/platform/x86/alienware-wmi.c
> index f5ebcae..577fefa 100644
> --- a/drivers/platform/x86/alienware-wmi.c
> +++ b/drivers/platform/x86/alienware-wmi.c
> @@ -97,6 +97,20 @@ static struct quirk_entry quirk_asm100 = {
>  	.deepslp = 0,
>  };
>  
> +static struct quirk_entry quirk_asm200 = {
> +	.num_zones = 2,
> +	.hdmi_mux = 1,
> +	.amplifier = 0,
> +	.deepslp = 1,
> +};
> +
> +static struct quirk_entry quirk_asm201 = {
> +	.num_zones = 2,
> +	.hdmi_mux = 1,
> +	.amplifier = 1,
> +	.deepslp = 1,
> +};
> +
>  static int __init dmi_matched(const struct dmi_system_id *dmi)
>  {
>  	quirks = dmi->driver_data;
> @@ -140,6 +154,24 @@ static const struct dmi_system_id alienware_quirks[] __initconst = {
>  		     },
>  	 .driver_data = &quirk_asm100,
>  	 },
> +	{
> +	 .callback = dmi_matched,
> +	 .ident = "Alienware ASM200",
> +	 .matches = {
> +		     DMI_MATCH(DMI_SYS_VENDOR, "Alienware"),
> +		     DMI_MATCH(DMI_PRODUCT_NAME, "ASM200"),
> +		     },
> +	 .driver_data = &quirk_asm200,
> +	 },
> +	{
> +	 .callback = dmi_matched,
> +	 .ident = "Alienware ASM201",
> +	 .matches = {
> +		     DMI_MATCH(DMI_SYS_VENDOR, "Alienware"),
> +		     DMI_MATCH(DMI_PRODUCT_NAME, "ASM201"),
> +		     },
> +	 .driver_data = &quirk_asm201,
> +	 },
>  	{}
>  };
>  
> -- 
> 1.9.1
> 
> 

-- 
Darren Hart
Intel Open Source Technology Center

  reply	other threads:[~2016-02-02 17:38 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-02  2:28 [PATCH v2 0/5] alienware-wmi new platform and feature support Mario Limonciello
2016-02-02  2:28 ` [PATCH v2 1/5] Clean up whitespace for ASM100 platform Mario Limonciello
2016-02-02  2:28 ` [PATCH v2 2/5] Add support for new platform: X51-R3 Mario Limonciello
2016-02-02  2:28 ` [PATCH v2 3/5] Add initial support for alienware graphics amplifier Mario Limonciello
2016-02-02 17:24   ` Darren Hart
2016-02-02 18:06     ` Mario Limonciello
2016-02-02  2:28 ` [PATCH v2 4/5] Add support for deep sleep control Mario Limonciello
2016-02-02 17:32   ` Darren Hart
2016-02-02 18:09     ` Mario Limonciello
2016-02-02 20:47       ` Darren Hart
2016-02-02  2:28 ` [PATCH v2 5/5] Add support for two new systems: ASM200 and ASM201 Mario Limonciello
2016-02-02 17:38   ` Darren Hart [this message]
2016-02-02 17:39 ` [PATCH v2 0/5] alienware-wmi new platform and feature support Darren Hart

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160202173842.GD1779@malice.jf.intel.com \
    --to=dvhart@infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mario_limonciello@dell.com \
    --cc=platform-driver-x86@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox