mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-24 21:54:01 +00:00
f9dc67d18e
Driver for the TI LP5562 4 channel LED controller. Supports independent on/off control of all 4 channels. Supports LED_BLINK on 3 independent channels: blue/green/red. The white channel can blink, but shares the blue channel blink rate. Heavily based on patch originally from Doug Zobel [1]. I have modified it so it matches the DT bindings in the linux tree, and also follows the linux driver implementation more closely. This should address Tom's concerns, and also matches my goal of making the U-Boot driver work with our existing .dts which is known to work in linux. As our boards only have the R,G,B outputs connected, I have not actually tested how the white channel behaves, but the R,G,B work exactly as expected. [1] https://lore.kernel.org/u-boot/1547150757-1561-1-git-send-email-douglas.zobel@climate.com/ Cc: Doug Zobel <douglas.zobel@climate.com> Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
14 lines
473 B
Makefile
14 lines
473 B
Makefile
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
# Copyright (c) 2015 Google, Inc
|
|
# Written by Simon Glass <sjg@chromium.org>
|
|
|
|
obj-y += led-uclass.o
|
|
obj-$(CONFIG_LED_BCM6328) += led_bcm6328.o
|
|
obj-$(CONFIG_LED_BCM6358) += led_bcm6358.o
|
|
obj-$(CONFIG_LED_BCM6753) += led_bcm6753.o
|
|
obj-$(CONFIG_LED_BCM6858) += led_bcm6858.o
|
|
obj-$(CONFIG_LED_PWM) += led_pwm.o
|
|
obj-$(CONFIG_$(SPL_)LED_GPIO) += led_gpio.o
|
|
obj-$(CONFIG_LED_CORTINA) += led_cortina.o
|
|
obj-$(CONFIG_LED_LP5562) += led_lp5562.o
|