Commit b3ba31f8 authored by Mrton Nmeth's avatar Mrton Nmeth Committed by Richard Purdie

leds: Add mail LED support for "Clevo D400P"

The leds-clevo-mail module also works with model "Clevo D400P",
add this model to the white list.
Signed-off-by: default avatarMrton Nmeth <nm127@freemail.hu>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarRichard Purdie <rpurdie@rpsys.net>
parent b69d3987
...@@ -127,6 +127,7 @@ config LEDS_CLEVO_MAIL ...@@ -127,6 +127,7 @@ config LEDS_CLEVO_MAIL
This module can drive the mail LED for the following notebooks: This module can drive the mail LED for the following notebooks:
Clevo D400P
Clevo D410J Clevo D410J
Clevo D410V Clevo D410V
Clevo D400V/D470V (not tested, but might work) Clevo D400V/D470V (not tested, but might work)
...@@ -134,6 +135,9 @@ config LEDS_CLEVO_MAIL ...@@ -134,6 +135,9 @@ config LEDS_CLEVO_MAIL
Clevo M5x0N (not tested, but might work) Clevo M5x0N (not tested, but might work)
Positivo Mobile (Clevo M5x0V) Positivo Mobile (Clevo M5x0V)
If your model is not listed here you can try the "nodetect"
module paramter.
To compile this driver as a module, choose M here: the To compile this driver as a module, choose M here: the
module will be called leds-clevo-mail. module will be called leds-clevo-mail.
......
...@@ -67,6 +67,16 @@ static struct dmi_system_id __initdata mail_led_whitelist[] = { ...@@ -67,6 +67,16 @@ static struct dmi_system_id __initdata mail_led_whitelist[] = {
DMI_MATCH(DMI_PRODUCT_VERSION, "VT6198") DMI_MATCH(DMI_PRODUCT_VERSION, "VT6198")
} }
}, },
{
.callback = clevo_mail_led_dmi_callback,
.ident = "Clevo D400P",
.matches = {
DMI_MATCH(DMI_BOARD_VENDOR, "Clevo"),
DMI_MATCH(DMI_BOARD_NAME, "D400P"),
DMI_MATCH(DMI_BOARD_VERSION, "Rev.A"),
DMI_MATCH(DMI_PRODUCT_VERSION, "0106")
}
},
{ {
.callback = clevo_mail_led_dmi_callback, .callback = clevo_mail_led_dmi_callback,
.ident = "Clevo D410V", .ident = "Clevo D410V",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment