summaryrefslogtreecommitdiff
path: root/src/ec
diff options
context:
space:
mode:
Diffstat (limited to 'src/ec')
-rw-r--r--src/ec/lenovo/h8/Kconfig4
-rw-r--r--src/ec/lenovo/h8/acpi/systemstatus.asl16
2 files changed, 20 insertions, 0 deletions
diff --git a/src/ec/lenovo/h8/Kconfig b/src/ec/lenovo/h8/Kconfig
index 57d7da6c69..6311d54163 100644
--- a/src/ec/lenovo/h8/Kconfig
+++ b/src/ec/lenovo/h8/Kconfig
@@ -52,6 +52,10 @@ config H8_HAS_PRIMARY_FN_KEYS
bool
default n
+config H8_HAS_LEDLOGO
+ bool
+ default n
+
config THINKPADEC_HKEY_EISAID
string
default "IBM0068"
diff --git a/src/ec/lenovo/h8/acpi/systemstatus.asl b/src/ec/lenovo/h8/acpi/systemstatus.asl
index 7598154282..80544499ee 100644
--- a/src/ec/lenovo/h8/acpi/systemstatus.asl
+++ b/src/ec/lenovo/h8/acpi/systemstatus.asl
@@ -12,6 +12,10 @@ Scope (\_SI)
\_SB.PCI0.LPCB.EC.TLED(0x00)
/* suspend TLED off */
\_SB.PCI0.LPCB.EC.TLED(0x07)
+#if CONFIG(H8_HAS_LEDLOGO)
+ /* logo TLED off */
+ \_SB.PCI0.LPCB.EC.TLED(0x0a)
+#endif
}
If (Arg0 == 1) {
@@ -21,6 +25,10 @@ Scope (\_SI)
\_SB.PCI0.LPCB.EC.TLED(0x80)
/* suspend TLED off */
\_SB.PCI0.LPCB.EC.TLED(0x07)
+#if CONFIG(H8_HAS_LEDLOGO)
+ /* logo TLED on */
+ \_SB.PCI0.LPCB.EC.TLED(0x8a)
+#endif
}
If (Arg0 == 2) {
@@ -30,6 +38,10 @@ Scope (\_SI)
\_SB.PCI0.LPCB.EC.TLED(0x80)
/* suspend LED blinking */
\_SB.PCI0.LPCB.EC.TLED(0xc7)
+#if CONFIG(H8_HAS_LEDLOGO)
+ /* logo TLED on */
+ \_SB.PCI0.LPCB.EC.TLED(0x8a)
+#endif
}
If (Arg0 == 3) {
@@ -39,6 +51,10 @@ Scope (\_SI)
\_SB.PCI0.LPCB.EC.TLED(0xa0)
/* suspend TLED on */
\_SB.PCI0.LPCB.EC.TLED(0x87)
+#if CONFIG(H8_HAS_LEDLOGO)
+ /* logo TLED pulsing */
+ \_SB.PCI0.LPCB.EC.TLED(0xaa)
+#endif
}
}
}