summaryrefslogtreecommitdiff
path: root/src/mainboard/lenovo/t530
diff options
context:
space:
mode:
authorStefan Ott <stefan@ott.net>2020-04-22 23:20:03 +0200
committerAlexander Couzens <lynxis@fe80.eu>2020-05-22 09:48:12 +0000
commit020f5a79bf32d46b01f6a333332b85f9bad03571 (patch)
tree184d8de5ee02d6d8cd4f58e99f002c0ea89d5b93 /src/mainboard/lenovo/t530
parent4e448fb79b426c6f7bdd0aa6fe2c4d0394e7de7c (diff)
mb/lenovo/t530: Add support for ThinkLight
With this patch, the ThinkLight on the ThinkPad T530 can be controlled through the OS. The same change was done for the ThinkPad X200 in b45912f4: mb/lenovo/x200: Add support for ThinkLight After applying this patch, the light can be controlled like this: echo on >/proc/acpi/ibm/light echo off >/proc/acpi/ibm/light Or through sysfs at /sys/class/leds/tpacpi::thinklight Unfortunately I do not own a T530 to test this. Change-Id: I94d239b65e6e8546a27f751d569681a4e68a4109 Signed-off-by: Stefan Ott <stefan@ott.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/40719 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Alexander Couzens <lynxis@fe80.eu>
Diffstat (limited to 'src/mainboard/lenovo/t530')
-rw-r--r--src/mainboard/lenovo/t530/dsdt.asl1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mainboard/lenovo/t530/dsdt.asl b/src/mainboard/lenovo/t530/dsdt.asl
index f0964d3561..b83fe38daa 100644
--- a/src/mainboard/lenovo/t530/dsdt.asl
+++ b/src/mainboard/lenovo/t530/dsdt.asl
@@ -35,4 +35,5 @@ DefinitionBlock(
}
#include <southbridge/intel/common/acpi/sleepstates.asl>
+ #include <ec/lenovo/h8/acpi/thinklight.asl>
}