zephyr/drivers/led/Kconfig.pca9633
Ulf Magnusson d1684a83a4 Kconfig: Clean up some symbol definitions
- Remove redundant 'n' defaults. 'n' is the default value for bool
  symbols.

  This makes the auto-generated documentation clearer as well: You get
  "implicitly defaults to n" instead of
  "- n if <propagated dependencies>".

- Shorten

      <type>
      prompt "foo"

  to

      <type> "foo"

  This works for all types, not just bool.

- Various formatting nits.

Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
2018-08-01 12:47:17 -04:00

37 lines
794 B
Text

#
# 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_DEVICE
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