mb/starlabs/starfighter: Add CFR options for power/charge LED brightness

Add CFR options to expose EC controls to set the brightness of the
power and charge LEDs (normal/dim/off).

TEST=build/boot starfighter_mtl, verify LED control via CFR

Change-Id: I2af8372f923f92af62e48da77d4bddb87ab1eba0
Signed-off-by: Matt DeVillier <matt.devillier@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/90565
Reviewed-by: Sean Rhodes <sean@starlabs.systems>
Reviewed-by: Paul Menzel <paulepanter@mailbox.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Matt DeVillier 2025-12-01 18:14:45 -06:00
commit 951c28c1bf

View file

@ -37,6 +37,8 @@ static struct sm_obj_form power = {
#if CONFIG(EC_STARLABS_CHARGING_SPEED)
&charging_speed,
#endif
&power_led,
&charge_led,
&power_on_after_fail_bool,
NULL
},