coreboot/src/ec
Nicola Corna 20cc5e66c7 UPSTREAM: ec/lenovo/h8: Fix mute LEDs
thinkpad_acpi expects a SSMS method to turn on/off the mute LED
and a MMTS method to turn on/off the microphone mute LED. With
these methods implemented the driver can correctly sync the LEDs
with the corresponding statuses.

There seems to be two different bits to mute the audio in the
Lenovo H8 EC:
 * AMUT, used internally (for example to disable the audio before
    entering S3).
 * ALMT, controllable by the OS, which also toggles the mute LED
    (if present).

Tested on a X220T and on a X201.

BUG=none
BRANCH=none
TEST=none

Change-Id: I6a33511266f67aa2337b83673ea7a990f33df6a9
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Original-Commit-Id: 068edc1c52
Original-Change-Id: I578f95f9619a53fd35f8a8bfe5564aeb6c789212
Original-Signed-off-by: Nicola Corna <nicola@corna.info>
Original-Reviewed-on: https://review.coreboot.org/18329
Original-Reviewed-by: Alexander Couzens <lynxis@fe80.eu>
Original-Tested-by: build bot (Jenkins)
Reviewed-on: https://chromium-review.googlesource.com/449819
2017-03-06 07:04:30 -08:00
..
acpi UPSTREAM: ec/acpi: Include ec.c unconditionally in romstage 2016-11-10 18:31:06 -08:00
compal/ene932 UPSTREAM: ec/ene932: correct ACPI battery data fed into ToString() 2016-12-16 07:51:42 -08:00
google/chromeec UPSTREAM: ec/google/chromeec: let platform prepare for reboot when resetting EC 2017-02-08 07:27:11 -08:00
kontron/it8516e UPSTREAM: sio/acpi: Add more magic bytes to ENTER/EXIT_CONFIG_MODE 2016-12-08 22:46:20 -08:00
lenovo UPSTREAM: ec/lenovo/h8: Fix mute LEDs 2017-03-06 07:04:30 -08:00
purism/librem ec: Add support for EC used on Purism Librem laptops 2016-01-21 02:31:34 +01:00
quanta UPSTREAM: src/ec: Improve code formatting 2016-09-07 21:31:50 -07:00
roda/it8518 UPSTREAM: ec/roda/it8518: Add another embedded controller 2016-11-21 11:54:13 -08:00
smsc/mec1308 Workaround for unused variable warning. 2016-02-09 19:58:14 +01:00
ec.h UPSTREAM: mainboards,ec: provide common declaration for mainboard_ec_init() 2016-09-28 05:49:31 -07:00