Commit 38f4658
fwk: main: add auto brightness fpled and keyboard backlight
follow UI ERS to implement auto brightness, according to the ALS spec to modify the lux range
fpled and keyboard backlight will follow lux to auto setting the brightness.
BRANCH=fwk-main
BUG=[86eracn43](https://app.clickup.com/t/86eracn43)
TEST= test on marigold, set fp led control(3e0e) to auto(0xff), monitor the als lux
, and check when lux changes, fp led will change.
TEST= test on marigold, press hotkey(fn+space) switch kbbl level to 5, monitor the als lux
, and check when lux changes, kbbl led will change.
Co-authored-by: LeoCX_Tsai <LeoCX_Tsai@compal.com>
Co-authored-by: Daniel Schaefer <dhs@frame.work>
Change-Id: I9e122d7860c1ebce2a9fbfe622a57693f4426c32
Signed-off-by: LeoCX_Tsai <LeoCX_Tsai@compal.com>
(cherry picked from commit ee827d24ba5916e53d7eba51a538cd417d74fd99)1 parent 9936b83 commit 38f4658
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
| 26 | + | |
25 | 27 | | |
0 commit comments