Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1323728 > unrolled thread
| Started by | Mario Limonciello <mario_limonciello@dell.com> |
|---|---|
| First post | 2016-02-02 03:40 +0100 |
| Last post | 2016-02-02 18:40 +0100 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
[PATCH v2 5/5] Add support for two new systems: ASM200 and ASM201. Mario Limonciello <mario_limonciello@dell.com> - 2016-02-02 03:40 +0100
Re: [PATCH v2 5/5] Add support for two new systems: ASM200 and ASM201. Darren Hart <dvhart@infradead.org> - 2016-02-02 18:40 +0100
| From | Mario Limonciello <mario_limonciello@dell.com> |
|---|---|
| Date | 2016-02-02 03:40 +0100 |
| Subject | [PATCH v2 5/5] Add support for two new systems: ASM200 and ASM201. |
| Message-ID | <qXz2P-3Wf-39@gated-at.bofh.it> |
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.
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
[toc] | [next] | [standalone]
| From | Darren Hart <dvhart@infradead.org> |
|---|---|
| Date | 2016-02-02 18:40 +0100 |
| Subject | Re: [PATCH v2 5/5] Add support for two new systems: ASM200 and ASM201. |
| Message-ID | <qXN5M-6qA-17@gated-at.bofh.it> |
| In reply to | #1323728 |
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
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web