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

lights: Add LP5562 RGBLED driver #21649

Merged
merged 1 commit into from
Jun 6, 2023
Merged

lights: Add LP5562 RGBLED driver #21649

merged 1 commit into from
Jun 6, 2023

Commits on Jun 5, 2023

  1. lights: Add LP5562 RGBLED driver

    This adds support for the TI LP5562 RGB LED driver.
    
    Things to note:
    - The driver is initialized in simple PWM mode using its internal clock,
      for R,G,B, but not for W(hite).
    - The chip doesn't have a WHO_AM_I or DEVICE_ID register to check.
      Instead we read the W_CURRENT register that we're generally not using
      and therefore doesn't get changed.
    - The current is left at the default 17.5 mA but could be changed using
      the command line argument.
    
    Datasheet:
    https://www.ti.com/lit/ds/symlink/lp5562.pdf
    
    Signed-off-by: Julian Oes <julian@oes.ch>
    julianoes committed Jun 5, 2023
    Configuration menu
    Copy the full SHA
    f97b8c6 View commit details
    Browse the repository at this point in the history