diff options
author | Matt DeVillier <matt.devillier@puri.sm> | 2022-04-20 13:52:44 -0500 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2022-04-22 21:37:28 +0000 |
commit | f759a6257c0de47a579ec5fdfbd9d88f063669ec (patch) | |
tree | c19c08e819351a97414e799d0b66c47b69ed95b1 /src/soc/intel | |
parent | 5b58902749196787f881dd06bc109cca24dbe073 (diff) |
mb/purism/librem_mini: Rework front status LED to show all disk activity
The front status LED on the Librem Mini is driven by the SATALED# GPIO
line configured for native function, so only shows disk activity for
SATA drives, but not NVMe. To allow it to show disk activity for NVMe
drives as well, reconfigure the GPIO as GPIO-OUT (rather than native
function), and configure it via ACPI so that the linux gpio-leds
driver will attach and use it accordingly.
This has the added benefit of allowing the user to reconfigure the
LED as they see fit via sysfs.
Test: boot Linux (PureOS) on Librem Mini v2 with NVMe drive, observe status
LED blinks during periods of disk activity (tested via 'stress').
Change-Id: I34c2a5f3fd1038266f4514544abfc1020da6f85b
Signed-off-by: Matt DeVillier <matt.devillier@puri.sm>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/63749
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Diffstat (limited to 'src/soc/intel')
0 files changed, 0 insertions, 0 deletions