Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ui: reduce idle brightness of the status led #53

Merged
merged 1 commit into from
Dec 7, 2023

Conversation

hnez
Copy link
Member

@hnez hnez commented Dec 7, 2023

The first hardware samples of LXA TACs with status LEDs showed them to be far to bright. Since then we have reduced the current through the "normal" (non-pwm) status LEDs by a factor of 33 in hardware. The brightness of the pwm LEDs was only reduced in hardware by a factor of 7.5. This allows us to still make them light up quite brightly if we want them to.

In the idle state their brightness should however match the brightness of the other LEDs.

Dim them in software by a factor of 33/7.5 = 4.4.

The first hardware samples of LXA TACs with status LEDs showed them
to be far to bright.
Since then we have reduced the current through the "normal" (non-pwm)
status LEDs by a factor of 33 in hardware.
The brightness of the pwm LEDs was only reduced in hardware by a factor
of 7.5. This allows us to still make them light up quite brightly if
we want them to.

In the idle state their brightness should however match the brightness
of the other LEDs.

Dim them in software by a factor of 33/7.5 = 4.4.

Signed-off-by: Leonard Göhrs <l.goehrs@pengutronix.de>
@hnez hnez requested a review from KarlK90 December 7, 2023 09:51
@hnez hnez merged commit 909ac07 into linux-automation:main Dec 7, 2023
10 checks passed
@hnez hnez deleted the status-led-dim branch December 7, 2023 10:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants