bb394bbafb
Add support for Texas Instruments LP3943 - 16 channel LED driver. Supported blinking period: 0 to 1600ms Supported brightness value: 0 to 100% This driver supports the following APIs: 1. led_blink 2. led_set_brightness 3. led_on 4. led_off Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
47 lines
876 B
Plaintext
47 lines
876 B
Plaintext
#
|
|
# Copyright (c) 2018 Linaro Limited
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
# Top-level configuration file for LED drivers.
|
|
|
|
menuconfig LED
|
|
bool "LED drivers"
|
|
default n
|
|
help
|
|
Include LED drivers in the system configuration.
|
|
|
|
if LED
|
|
|
|
config SYS_LOG_LED_LEVEL
|
|
int "LED system log level"
|
|
depends on SYS_LOG
|
|
default 0
|
|
range 0 4
|
|
help
|
|
Sets the log level for LED drivers. You must have
|
|
system logging enabled.
|
|
|
|
Levels are:
|
|
|
|
- 0 OFF, do not write
|
|
|
|
- 1 ERROR, only write SYS_LOG_ERR
|
|
|
|
- 2 WARNING, write SYS_LOG_WRN in addition to previous level
|
|
|
|
- 3 INFO, write SYS_LOG_INF in addition to previous levels
|
|
|
|
- 4 DEBUG, write SYS_LOG_DBG in addition to previous levels
|
|
|
|
config LED_INIT_PRIORITY
|
|
int "LED initialization priority"
|
|
default 90
|
|
help
|
|
System initialization priority for LED drivers.
|
|
|
|
source "drivers/led/Kconfig.lp3943"
|
|
|
|
endif # LED
|