mb/starlabs/starbook: 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 starbook_mtl, verify LED control via CFR Change-Id: I7e1fe4efaab4327c8b95b108a9014e50058d6ed4 Signed-off-by: Matt DeVillier <matt.devillier@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/90564 Reviewed-by: Sean Rhodes <sean@starlabs.systems> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Paul Menzel <paulepanter@mailbox.org>
This commit is contained in:
parent
84ff3d3d12
commit
ab2c69c4f3
1 changed files with 2 additions and 0 deletions
|
|
@ -38,6 +38,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
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue