mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-02 02:12:40 +00:00
Every board that uses dts-enabled i2c drivers has a board-level dts, so there is no need to have separate configs HAS_DTS_I2C_DEVICE and HAS_DTS_I2C. Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
38 lines
787 B
Plaintext
38 lines
787 B
Plaintext
#
|
|
# Copyright (c) 2018 Savoir-Faire Linux
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
menuconfig PCA9633
|
|
bool "PCA9633 LED driver"
|
|
depends on I2C
|
|
help
|
|
Enable LED driver for PCA9633.
|
|
|
|
PCA9633 LED driver has 4 channels each with multi-programmable
|
|
states. Each channel can drive up to 25 mA per LED.
|
|
|
|
if !HAS_DTS_I2C
|
|
|
|
config PCA9633_DEV_NAME
|
|
string "PCA9633 device name"
|
|
default "PCA9633"
|
|
help
|
|
Device name for PCA9633 LED driver.
|
|
|
|
config PCA9633_I2C_ADDRESS
|
|
hex "PCA9633 I2C slave address"
|
|
default 0x62
|
|
help
|
|
Specify the I2C slave address for the PCA9633 LED driver.
|
|
|
|
config PCA9633_I2C_MASTER_DEV_NAME
|
|
string "I2C master where PCA9633 is connected"
|
|
default "I2C_1"
|
|
help
|
|
Specify the device name of the I2C master device to which
|
|
PCA9633 is connected.
|
|
|
|
endif
|