]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/leds/Kconfig
Merge tag 'gpio-for-linus' of git://git.secretlab.ca/git/linux
[karo-tx-linux.git] / drivers / leds / Kconfig
index ec50824c02ec614635695a9a45974a505a8bb06f..ef992293598a6d71296c28209e116cbbea75b026 100644 (file)
@@ -173,7 +173,7 @@ config LEDS_PCA9532_GPIO
 config LEDS_GPIO
        tristate "LED Support for GPIO connected LEDs"
        depends on LEDS_CLASS
-       depends on GENERIC_GPIO
+       depends on GPIOLIB
        help
          This option enables support for the LEDs connected to GPIO
          outputs. To be useful the particular board must have LEDs
@@ -194,8 +194,8 @@ config LEDS_LP3944
          module will be called leds-lp3944.
 
 config LEDS_LP55XX_COMMON
-       tristate "Common Driver for TI/National LP5521 and LP5523/55231"
-       depends on LEDS_LP5521 || LEDS_LP5523
+       tristate "Common Driver for TI/National LP5521, LP5523/55231 and LP5562"
+       depends on LEDS_LP5521 || LEDS_LP5523 || LEDS_LP5562
        select FW_LOADER
        help
          This option supports common operations for LP5521 and LP5523/55231
@@ -222,6 +222,16 @@ config LEDS_LP5523
          Driver provides direct control via LED class and interface for
          programming the engines.
 
+config LEDS_LP5562
+       tristate "LED Support for TI LP5562 LED driver chip"
+       depends on LEDS_CLASS && I2C
+       select LEDS_LP55XX_COMMON
+       help
+         If you say yes here you get support for TI LP5562 LED driver.
+         It is 4 channels chip with programmable engines.
+         Driver provides direct control via LED class and interface for
+         programming the engines.
+
 config LEDS_LP8788
        tristate "LED support for the TI LP8788 PMIC"
        depends on LEDS_CLASS
@@ -352,7 +362,7 @@ config LEDS_INTEL_SS4200
 config LEDS_LT3593
        tristate "LED driver for LT3593 controllers"
        depends on LEDS_CLASS
-       depends on GENERIC_GPIO
+       depends on GPIOLIB
        help
          This option enables support for LEDs driven by a Linear Technology
          LT3593 controller. This controller uses a special one-wire pulse
@@ -421,7 +431,7 @@ config LEDS_ASIC3
 
 config LEDS_RENESAS_TPU
        bool "LED support for Renesas TPU"
-       depends on LEDS_CLASS=y && HAVE_CLK && GENERIC_GPIO
+       depends on LEDS_CLASS=y && HAVE_CLK && GPIOLIB
        help
          This option enables build of the LED TPU platform driver,
          suitable to drive any TPU channel on newer Renesas SoCs.
@@ -469,106 +479,7 @@ config LEDS_BLINKM
          This option enables support for the BlinkM RGB LED connected
          through I2C. Say Y to enable support for the BlinkM LED.
 
-config LEDS_TRIGGERS
-       bool "LED Trigger support"
-       depends on LEDS_CLASS
-       help
-         This option enables trigger support for the leds class.
-         These triggers allow kernel events to drive the LEDs and can
-         be configured via sysfs. If unsure, say Y.
-
 comment "LED Triggers"
-
-config LEDS_TRIGGER_TIMER
-       tristate "LED Timer Trigger"
-       depends on LEDS_TRIGGERS
-       help
-         This allows LEDs to be controlled by a programmable timer
-         via sysfs. Some LED hardware can be programmed to start
-         blinking the LED without any further software interaction.
-         For more details read Documentation/leds/leds-class.txt.
-
-         If unsure, say Y.
-
-config LEDS_TRIGGER_ONESHOT
-       tristate "LED One-shot Trigger"
-       depends on LEDS_TRIGGERS
-       help
-         This allows LEDs to blink in one-shot pulses with parameters
-         controlled via sysfs.  It's useful to notify the user on
-         sporadic events, when there are no clear begin and end trap points,
-         or on dense events, where this blinks the LED at constant rate if
-         rearmed continuously.
-
-         It also shows how to use the led_blink_set_oneshot() function.
-
-         If unsure, say Y.
-
-config LEDS_TRIGGER_IDE_DISK
-       bool "LED IDE Disk Trigger"
-       depends on IDE_GD_ATA
-       depends on LEDS_TRIGGERS
-       help
-         This allows LEDs to be controlled by IDE disk activity.
-         If unsure, say Y.
-
-config LEDS_TRIGGER_HEARTBEAT
-       tristate "LED Heartbeat Trigger"
-       depends on LEDS_TRIGGERS
-       help
-         This allows LEDs to be controlled by a CPU load average.
-         The flash frequency is a hyperbolic function of the 1-minute
-         load average.
-         If unsure, say Y.
-
-config LEDS_TRIGGER_BACKLIGHT
-       tristate "LED backlight Trigger"
-       depends on LEDS_TRIGGERS
-       help
-         This allows LEDs to be controlled as a backlight device: they
-         turn off and on when the display is blanked and unblanked.
-
-         If unsure, say N.
-
-config LEDS_TRIGGER_CPU
-       bool "LED CPU Trigger"
-       depends on LEDS_TRIGGERS
-       help
-         This allows LEDs to be controlled by active CPUs. This shows
-         the active CPUs across an array of LEDs so you can see which
-         CPUs are active on the system at any given moment.
-
-         If unsure, say N.
-
-config LEDS_TRIGGER_GPIO
-       tristate "LED GPIO Trigger"
-       depends on LEDS_TRIGGERS
-       depends on GPIOLIB
-       help
-         This allows LEDs to be controlled by gpio events. It's good
-         when using gpios as switches and triggering the needed LEDs
-         from there. One use case is n810's keypad LEDs that could
-         be triggered by this trigger when user slides up to show
-         keypad.
-
-         If unsure, say N.
-
-config LEDS_TRIGGER_DEFAULT_ON
-       tristate "LED Default ON Trigger"
-       depends on LEDS_TRIGGERS
-       help
-         This allows LEDs to be initialised in the ON state.
-         If unsure, say Y.
-
-comment "iptables trigger is under Netfilter config (LED target)"
-       depends on LEDS_TRIGGERS
-
-config LEDS_TRIGGER_TRANSIENT
-       tristate "LED Transient Trigger"
-       depends on LEDS_TRIGGERS
-       help
-         This allows one time activation of a transient state on
-         GPIO/PWM based hardware.
-         If unsure, say Y.
+source "drivers/leds/trigger/Kconfig"
 
 endif # NEW_LEDS