Evgeny Zinoviev has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/80437?usp=email )
Change subject: ec/lenovo/h8/acpi: Support pulsing LEDLOGO on Haswell ThinkPads ......................................................................
ec/lenovo/h8/acpi: Support pulsing LEDLOGO on Haswell ThinkPads
Change-Id: I85fb69c8c1bed8635a1b31e9b8385c7036bb46dd Signed-off-by: Evgeny Zinoviev me@ch1p.io --- M src/ec/lenovo/h8/acpi/systemstatus.asl M src/mainboard/lenovo/haswell/acpi/ec.asl 2 files changed, 18 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/37/80437/1
diff --git a/src/ec/lenovo/h8/acpi/systemstatus.asl b/src/ec/lenovo/h8/acpi/systemstatus.asl index 7598154..c002b34 100644 --- a/src/ec/lenovo/h8/acpi/systemstatus.asl +++ b/src/ec/lenovo/h8/acpi/systemstatus.asl @@ -12,6 +12,10 @@ _SB.PCI0.LPCB.EC.TLED(0x00) /* suspend TLED off */ _SB.PCI0.LPCB.EC.TLED(0x07) +#if defined(H8_HAS_LEDLOGO) + /* logo TLED off */ + _SB.PCI0.LPCB.EC.TLED(0x0a) +#endif }
If (Arg0 == 1) { @@ -21,6 +25,10 @@ _SB.PCI0.LPCB.EC.TLED(0x80) /* suspend TLED off */ _SB.PCI0.LPCB.EC.TLED(0x07) +#if defined(H8_HAS_LEDLOGO) + /* logo TLED on */ + _SB.PCI0.LPCB.EC.TLED(0x8a) +#endif }
If (Arg0 == 2) { @@ -30,6 +38,10 @@ _SB.PCI0.LPCB.EC.TLED(0x80) /* suspend LED blinking */ _SB.PCI0.LPCB.EC.TLED(0xc7) +#if defined(H8_HAS_LEDLOGO) + /* logo TLED blinking */ + _SB.PCI0.LPCB.EC.TLED(0xca) +#endif }
If (Arg0 == 3) { @@ -39,6 +51,10 @@ _SB.PCI0.LPCB.EC.TLED(0xa0) /* suspend TLED on */ _SB.PCI0.LPCB.EC.TLED(0x87) +#if defined(H8_HAS_LEDLOGO) + /* logo TLED pulsing */ + _SB.PCI0.LPCB.EC.TLED(0xaa) +#endif } } } diff --git a/src/mainboard/lenovo/haswell/acpi/ec.asl b/src/mainboard/lenovo/haswell/acpi/ec.asl index 8dea152..cf15c47 100644 --- a/src/mainboard/lenovo/haswell/acpi/ec.asl +++ b/src/mainboard/lenovo/haswell/acpi/ec.asl @@ -1,4 +1,6 @@ /* SPDX-License-Identifier: GPL-2.0-or-later */
+#define H8_HAS_LEDLOGO + #include <ec/lenovo/h8/acpi/ec.asl> #include <ec/lenovo/h8/acpi/thinkpad_bat_thresholds_b0.asl>