drivers: led: Add public API for LED drivers
Add support for LED APIs for controlling the LED devices. This API can be used by the LED devices present on the chip and connected externally via buses like I2C, SPI etc... Following APIs are currently supported: 1. led_blink 2. led_set_brightness 3. led_on 4. led_off Driver support using these APIs will be added in subsequent patches. Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
This commit is contained in:
parent
c7d808f965
commit
94bba071d6
6 changed files with 213 additions and 0 deletions
|
@ -14,6 +14,7 @@ add_subdirectory_if_kconfig(i2c)
|
|||
add_subdirectory_if_kconfig(i2s)
|
||||
add_subdirectory_if_kconfig(ieee802154)
|
||||
add_subdirectory_if_kconfig(ipm)
|
||||
add_subdirectory_if_kconfig(led)
|
||||
add_subdirectory_if_kconfig(led_strip)
|
||||
add_subdirectory_if_kconfig(pci)
|
||||
add_subdirectory_if_kconfig(pinmux)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue