coreboot-kgpe-d16/src
Matt DeVillier f759a6257c 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>
2022-04-22 21:37:28 +00:00
..
acpi src/acpi/device: Early return in _ON if device already enabled 2022-04-14 22:30:05 +00:00
arch x86/mtrr: Print address ranges inclusive to be more consistent 2022-04-14 15:43:27 +00:00
commonlib commonlib/coreboot_tables.h: Don't pack structs 2022-04-20 14:45:17 +00:00
console src/console/Kconfig: Add option to disable loglevel prefix 2022-03-30 00:02:34 +00:00
cpu cpu/x86/fpu_enable.inc: Remove file used by romcc 2022-04-21 12:30:47 +00:00
device device/i2c_bus: Constify i2c_busdev and i2c_link 2022-04-01 22:17:58 +00:00
drivers tpm: Refactor TPM Kconfig dimensions 2022-04-21 23:07:20 +00:00
ec ec/google/chromeec: Drop _PRS from static devices 2022-04-20 10:03:35 +00:00
include cpu/x86: Add function to set put_back_original_solution variable 2022-04-13 21:28:10 +00:00
lib lib/coreboot_table.c: Use align macro 2022-04-20 14:43:50 +00:00
mainboard mb/purism/librem_mini: Rework front status LED to show all disk activity 2022-04-22 21:37:28 +00:00
northbridge nb/intel/i945/memmap.c: Fix TOLUD bit field mask 2022-04-22 21:35:35 +00:00
security tpm: Refactor TPM Kconfig dimensions 2022-04-21 23:07:20 +00:00
soc soc/intel/jasperlake: CNVi: Enable fewer wakeups to reduce SoC power consumption 2022-04-22 21:36:34 +00:00
southbridge sb/amd/hudson/spi.c: Use C over CPP conditional 2022-03-25 20:06:57 +00:00
superio superio/smsc/mec1308: Drop _PRS from static devices 2022-04-20 10:02:17 +00:00
vendorcode tpm: Refactor TPM Kconfig dimensions 2022-04-21 23:07:20 +00:00
Kconfig Kconfig: Make HAVE_EM100_SUPPORT invisible 2022-04-19 13:04:25 +00:00