2006-03-31 14:31:04 +04:00
|
|
|
|
|
|
|
# LED Core
|
|
|
|
obj-$(CONFIG_NEW_LEDS) += led-core.o
|
|
|
|
obj-$(CONFIG_LEDS_CLASS) += led-class.o
|
2015-01-09 18:22:51 +03:00
|
|
|
obj-$(CONFIG_LEDS_CLASS_FLASH) += led-class-flash.o
|
2006-03-31 14:31:05 +04:00
|
|
|
obj-$(CONFIG_LEDS_TRIGGERS) += led-triggers.o
|
2006-03-31 14:31:07 +04:00
|
|
|
|
2006-03-31 14:31:09 +04:00
|
|
|
# LED Platform Drivers
|
2010-01-07 01:10:09 +03:00
|
|
|
obj-$(CONFIG_LEDS_88PM860X) += leds-88pm860x.o
|
2015-04-30 13:34:57 +03:00
|
|
|
obj-$(CONFIG_LEDS_AAT1290) += leds-aat1290.o
|
2015-04-28 19:50:50 +03:00
|
|
|
obj-$(CONFIG_LEDS_BCM6328) += leds-bcm6328.o
|
2015-05-21 20:11:10 +03:00
|
|
|
obj-$(CONFIG_LEDS_BCM6358) += leds-bcm6358.o
|
2009-03-04 22:59:29 +03:00
|
|
|
obj-$(CONFIG_LEDS_BD2802) += leds-bd2802.o
|
2006-03-31 14:31:10 +04:00
|
|
|
obj-$(CONFIG_LEDS_LOCOMO) += leds-locomo.o
|
2011-03-23 02:30:16 +03:00
|
|
|
obj-$(CONFIG_LEDS_LM3530) += leds-lm3530.o
|
2012-05-30 02:07:31 +04:00
|
|
|
obj-$(CONFIG_LEDS_LM3533) += leds-lm3533.o
|
2012-09-12 16:05:50 +04:00
|
|
|
obj-$(CONFIG_LEDS_LM3642) += leds-lm3642.o
|
2009-01-22 21:35:48 +03:00
|
|
|
obj-$(CONFIG_LEDS_MIKROTIK_RB532) += leds-rb532.o
|
2006-04-11 09:54:00 +04:00
|
|
|
obj-$(CONFIG_LEDS_S3C24XX) += leds-s3c24xx.o
|
2006-07-10 15:45:34 +04:00
|
|
|
obj-$(CONFIG_LEDS_NET48XX) += leds-net48xx.o
|
2006-12-07 07:37:28 +03:00
|
|
|
obj-$(CONFIG_LEDS_WRAP) += leds-wrap.o
|
2007-09-21 03:02:47 +04:00
|
|
|
obj-$(CONFIG_LEDS_COBALT_QUBE) += leds-cobalt-qube.o
|
2007-09-27 12:51:05 +04:00
|
|
|
obj-$(CONFIG_LEDS_COBALT_RAQ) += leds-cobalt-raq.o
|
2008-09-01 07:26:48 +04:00
|
|
|
obj-$(CONFIG_LEDS_SUNFIRE) += leds-sunfire.o
|
2008-05-31 17:43:41 +04:00
|
|
|
obj-$(CONFIG_LEDS_PCA9532) += leds-pca9532.o
|
2011-05-25 04:13:29 +04:00
|
|
|
obj-$(CONFIG_LEDS_GPIO_REGISTER) += leds-gpio-register.o
|
2007-02-27 22:49:53 +03:00
|
|
|
obj-$(CONFIG_LEDS_GPIO) += leds-gpio.o
|
2009-06-19 15:55:42 +04:00
|
|
|
obj-$(CONFIG_LEDS_LP3944) += leds-lp3944.o
|
2016-07-11 13:48:49 +03:00
|
|
|
obj-$(CONFIG_LEDS_LP3952) += leds-lp3952.o
|
2013-02-05 13:01:23 +04:00
|
|
|
obj-$(CONFIG_LEDS_LP55XX_COMMON) += leds-lp55xx-common.o
|
2010-11-12 01:05:23 +03:00
|
|
|
obj-$(CONFIG_LEDS_LP5521) += leds-lp5521.o
|
|
|
|
obj-$(CONFIG_LEDS_LP5523) += leds-lp5523.o
|
2013-02-19 09:10:14 +04:00
|
|
|
obj-$(CONFIG_LEDS_LP5562) += leds-lp5562.o
|
2013-07-09 13:11:37 +04:00
|
|
|
obj-$(CONFIG_LEDS_LP8501) += leds-lp8501.o
|
2012-07-20 12:43:59 +04:00
|
|
|
obj-$(CONFIG_LEDS_LP8788) += leds-lp8788.o
|
2014-11-19 15:48:35 +03:00
|
|
|
obj-$(CONFIG_LEDS_LP8860) += leds-lp8860.o
|
2012-01-11 03:09:40 +04:00
|
|
|
obj-$(CONFIG_LEDS_TCA6507) += leds-tca6507.o
|
2015-03-18 01:08:27 +03:00
|
|
|
obj-$(CONFIG_LEDS_TLC591XX) += leds-tlc591xx.o
|
2007-10-31 13:46:41 +03:00
|
|
|
obj-$(CONFIG_LEDS_CLEVO_MAIL) += leds-clevo-mail.o
|
2014-07-23 16:36:00 +04:00
|
|
|
obj-$(CONFIG_LEDS_IPAQ_MICRO) += leds-ipaq-micro.o
|
2008-02-07 13:10:28 +03:00
|
|
|
obj-$(CONFIG_LEDS_HP6XX) += leds-hp6xx.o
|
2012-01-21 02:33:59 +04:00
|
|
|
obj-$(CONFIG_LEDS_OT200) += leds-ot200.o
|
2008-04-25 02:43:09 +04:00
|
|
|
obj-$(CONFIG_LEDS_FSG) += leds-fsg.o
|
2008-07-17 01:49:55 +04:00
|
|
|
obj-$(CONFIG_LEDS_PCA955X) += leds-pca955x.o
|
2013-08-15 01:23:50 +04:00
|
|
|
obj-$(CONFIG_LEDS_PCA963X) += leds-pca963x.o
|
2008-10-13 12:06:10 +04:00
|
|
|
obj-$(CONFIG_LEDS_DA903X) += leds-da903x.o
|
2012-05-30 02:07:26 +04:00
|
|
|
obj-$(CONFIG_LEDS_DA9052) += leds-da9052.o
|
2009-09-05 17:09:21 +04:00
|
|
|
obj-$(CONFIG_LEDS_WM831X_STATUS) += leds-wm831x-status.o
|
2008-12-04 19:52:33 +03:00
|
|
|
obj-$(CONFIG_LEDS_WM8350) += leds-wm8350.o
|
2009-02-12 00:24:40 +03:00
|
|
|
obj-$(CONFIG_LEDS_PWM) += leds-pwm.o
|
2009-12-07 17:08:13 +03:00
|
|
|
obj-$(CONFIG_LEDS_REGULATOR) += leds-regulator.o
|
2009-10-02 02:43:32 +04:00
|
|
|
obj-$(CONFIG_LEDS_INTEL_SS4200) += leds-ss4200.o
|
2009-10-15 04:59:35 +04:00
|
|
|
obj-$(CONFIG_LEDS_LT3593) += leds-lt3593.o
|
2009-10-08 12:00:19 +04:00
|
|
|
obj-$(CONFIG_LEDS_ADP5520) += leds-adp5520.o
|
2010-02-18 00:23:31 +03:00
|
|
|
obj-$(CONFIG_LEDS_DELL_NETBOOKS) += dell-led.o
|
2010-05-19 11:24:31 +04:00
|
|
|
obj-$(CONFIG_LEDS_MC13783) += leds-mc13783.o
|
2010-07-06 18:08:46 +04:00
|
|
|
obj-$(CONFIG_LEDS_NS2) += leds-ns2.o
|
2010-10-07 18:38:49 +04:00
|
|
|
obj-$(CONFIG_LEDS_NETXBIG) += leds-netxbig.o
|
2011-05-13 22:52:56 +04:00
|
|
|
obj-$(CONFIG_LEDS_ASIC3) += leds-asic3.o
|
2015-04-30 13:35:10 +03:00
|
|
|
obj-$(CONFIG_LEDS_MAX77693) += leds-max77693.o
|
2011-12-14 13:23:56 +04:00
|
|
|
obj-$(CONFIG_LEDS_MAX8997) += leds-max8997.o
|
2012-09-05 11:05:58 +04:00
|
|
|
obj-$(CONFIG_LEDS_LM355x) += leds-lm355x.o
|
2012-07-20 12:49:06 +04:00
|
|
|
obj-$(CONFIG_LEDS_BLINKM) += leds-blinkm.o
|
2014-05-22 02:34:16 +04:00
|
|
|
obj-$(CONFIG_LEDS_SYSCON) += leds-syscon.o
|
2014-02-27 17:44:17 +04:00
|
|
|
obj-$(CONFIG_LEDS_VERSATILE) += leds-versatile.o
|
2014-08-27 21:52:36 +04:00
|
|
|
obj-$(CONFIG_LEDS_MENF21BMC) += leds-menf21bmc.o
|
2015-05-12 11:37:57 +03:00
|
|
|
obj-$(CONFIG_LEDS_KTD2692) += leds-ktd2692.o
|
2015-08-19 19:49:54 +03:00
|
|
|
obj-$(CONFIG_LEDS_POWERNV) += leds-powernv.o
|
2015-08-03 18:04:01 +03:00
|
|
|
obj-$(CONFIG_LEDS_SEAD3) += leds-sead3.o
|
2016-07-19 14:47:30 +03:00
|
|
|
obj-$(CONFIG_LEDS_IS31FL319X) += leds-is31fl319x.o
|
leds: Add driver for the ISSI IS31FL32xx family of LED controllers
The IS31FL32xx family of LED controllers are I2C devices with multiple
constant-current channels, each with independent 256-level PWM control.
Datasheets: http://www.issi.com/US/product-analog-fxled-driver.shtml
This has been tested on the IS31FL3236 and IS31FL3216, on an ARM
(TI am335x) platform.
The programming paradigm of these devices is similar in the following
ways:
- All registers are 8 bit
- All LED control registers are write-only
- Each LED channel has a PWM register (0-255)
- PWM register writes are shadowed until an Update register is poked
- All have a concept of Software Shutdown, which disables output
However, there are some differences in devices:
- 3236/3235 have a separate Control register for each LED,
(3218/3216 pack the enable bits into fewer registers)
- 3236/3235 have a per-channel current divisor setting
- 3236/3235 have a Global Control register that can turn off all LEDs
- 3216 is unique in a number of ways
- OUT9-OUT16 can be configured as GPIOs instead of LED controls
- LEDs can be programmed with an 8-frame animation, with
programmable delay between frames
- LEDs can be modulated by an input audio signal
- Max output current can be adjusted from 1/4 to 2x globally
- Has a Configuration register instead of a Shutdown register
This driver currently only supports the base PWM control function
of these devices. The following features of these devices are not
implemented, although it should be possible to add them in the future:
- All devices are capable of going into a lower-power "software
shutdown" mode.
- The is31fl3236 and is31fl3235 can reduce the max output current
per-channel with a divisor of 1, 2, 3, or 4.
- The is31fl3216 can use some LED channels as GPIOs instead.
- The is31fl3216 can animate LEDs in hardware.
- The is31fl3216 can modulate LEDs according to an audio input.
- The is31fl3216 can reduce/increase max output current globally.
Signed-off-by: David Rivshin <drivshin@allworx.com>
Signed-off-by: Jacek Anaszewski <j.anaszewski@samsung.com>
2016-03-08 03:57:15 +03:00
|
|
|
obj-$(CONFIG_LEDS_IS31FL32XX) += leds-is31fl32xx.o
|
2016-08-16 12:25:10 +03:00
|
|
|
obj-$(CONFIG_LEDS_PM8058) += leds-pm8058.o
|
leds: add driver for Mellanox systems LEDs
This makes it possible to create a set of LEDs for Mellanox systems:
"msx6710", "msx6720", "msb7700", "msn2700", "msx1410", "msn2410",
"msb7800", "msn2740", "msn2100".
Driver obtains LED devices according to system configuration, provided
through system DMI data, like mlxcpld:fan1:green, mlxcpld:fan1:red and
creates devices in form: "devicename:colour:function".
LED setting is controlled through on board CPLD Lattice device.
For setting particular LED off, solid, blink:
echo 0 > /sys/class/leds/mlxcpld\:status\:green/brightness
echo 1 > /sys/class/leds/mlxcpld\:status\:green/brightness
echo timer > /sys/class/leds/mlxcpld\:status\:green/trigger
On module probing all LEDs are set green, on removing - off.
Last setting overwrites previous, f.e. sequence for
changing LED from green - red - green:
echo 1 > /sys/class/leds/mlxcpld\:psu\:green/brightness
echo 1 > /sys/class/leds/mlxcpld\:psu\:red/brightness
echo 1 > /sys/class/leds/mlxcpld\:psu\:green/brightness
Note: LEDs cannot be turned on/off simultaneously.
The Kconfig currently controlling compilation of this code is:
drivers/leds/Kconfig:config LEDS_MLXCPLD
Signed-off-by: Vadim Pasternak <vadimp@mellanox.com>
Reviewed-by: Jiri Pirko <jiri@mellanox.com>
Reviewed-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Jacek Anaszewski <j.anaszewski@samsung.com>
2016-09-08 10:25:53 +03:00
|
|
|
obj-$(CONFIG_LEDS_MLXCPLD) += leds-mlxcpld.o
|
2016-11-04 08:31:47 +03:00
|
|
|
obj-$(CONFIG_LEDS_NIC78BX) += leds-nic78bx.o
|
2006-03-31 14:31:09 +04:00
|
|
|
|
2009-01-10 21:58:28 +03:00
|
|
|
# LED SPI Drivers
|
|
|
|
obj-$(CONFIG_LEDS_DAC124S085) += leds-dac124s085.o
|
|
|
|
|
2016-09-16 22:16:48 +03:00
|
|
|
# LED Userspace Drivers
|
|
|
|
obj-$(CONFIG_LEDS_USER) += uleds.o
|
|
|
|
|
2006-03-31 14:31:07 +04:00
|
|
|
# LED Triggers
|
2013-02-20 12:36:01 +04:00
|
|
|
obj-$(CONFIG_LEDS_TRIGGERS) += trigger/
|