mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-30 13:38:40 +00:00
7aea8389a7
Some LED devices support two operation modes - torch and flash. This patch provides support for flash LED devices in the LED subsystem by introducing new sysfs attributes and kernel internal interface. The attributes being introduced are: flash_brightness, flash_strobe, flash_timeout, max_flash_timeout, max_flash_brightness, flash_fault, flash_sync_strobe and available_sync_leds. All the flash related features are placed in a separate module. The modifications aim to be compatible with V4L2 framework requirements related to the flash devices management. The design assumes that V4L2 sub-device can take of the LED class device control and communicate with it through the kernel internal interface. When V4L2 Flash sub-device file is opened, the LED class device sysfs interface is made unavailable. Signed-off-by: Jacek Anaszewski <j.anaszewski@samsung.com> Acked-by: Kyungmin Park <kyungmin.park@samsung.com> Cc: Richard Purdie <rpurdie@rpsys.net> Acked-by: Pavel Machek <pavel@ucw.cz> Signed-off-by: Bryan Wu <cooloney@gmail.com>
67 lines
2.7 KiB
Makefile
67 lines
2.7 KiB
Makefile
|
|
# LED Core
|
|
obj-$(CONFIG_NEW_LEDS) += led-core.o
|
|
obj-$(CONFIG_LEDS_CLASS) += led-class.o
|
|
obj-$(CONFIG_LEDS_CLASS_FLASH) += led-class-flash.o
|
|
obj-$(CONFIG_LEDS_TRIGGERS) += led-triggers.o
|
|
|
|
# LED Platform Drivers
|
|
obj-$(CONFIG_LEDS_88PM860X) += leds-88pm860x.o
|
|
obj-$(CONFIG_LEDS_BD2802) += leds-bd2802.o
|
|
obj-$(CONFIG_LEDS_LOCOMO) += leds-locomo.o
|
|
obj-$(CONFIG_LEDS_LM3530) += leds-lm3530.o
|
|
obj-$(CONFIG_LEDS_LM3533) += leds-lm3533.o
|
|
obj-$(CONFIG_LEDS_LM3642) += leds-lm3642.o
|
|
obj-$(CONFIG_LEDS_MIKROTIK_RB532) += leds-rb532.o
|
|
obj-$(CONFIG_LEDS_S3C24XX) += leds-s3c24xx.o
|
|
obj-$(CONFIG_LEDS_NET48XX) += leds-net48xx.o
|
|
obj-$(CONFIG_LEDS_WRAP) += leds-wrap.o
|
|
obj-$(CONFIG_LEDS_COBALT_QUBE) += leds-cobalt-qube.o
|
|
obj-$(CONFIG_LEDS_COBALT_RAQ) += leds-cobalt-raq.o
|
|
obj-$(CONFIG_LEDS_SUNFIRE) += leds-sunfire.o
|
|
obj-$(CONFIG_LEDS_PCA9532) += leds-pca9532.o
|
|
obj-$(CONFIG_LEDS_GPIO_REGISTER) += leds-gpio-register.o
|
|
obj-$(CONFIG_LEDS_GPIO) += leds-gpio.o
|
|
obj-$(CONFIG_LEDS_LP3944) += leds-lp3944.o
|
|
obj-$(CONFIG_LEDS_LP55XX_COMMON) += leds-lp55xx-common.o
|
|
obj-$(CONFIG_LEDS_LP5521) += leds-lp5521.o
|
|
obj-$(CONFIG_LEDS_LP5523) += leds-lp5523.o
|
|
obj-$(CONFIG_LEDS_LP5562) += leds-lp5562.o
|
|
obj-$(CONFIG_LEDS_LP8501) += leds-lp8501.o
|
|
obj-$(CONFIG_LEDS_LP8788) += leds-lp8788.o
|
|
obj-$(CONFIG_LEDS_LP8860) += leds-lp8860.o
|
|
obj-$(CONFIG_LEDS_TCA6507) += leds-tca6507.o
|
|
obj-$(CONFIG_LEDS_CLEVO_MAIL) += leds-clevo-mail.o
|
|
obj-$(CONFIG_LEDS_IPAQ_MICRO) += leds-ipaq-micro.o
|
|
obj-$(CONFIG_LEDS_HP6XX) += leds-hp6xx.o
|
|
obj-$(CONFIG_LEDS_OT200) += leds-ot200.o
|
|
obj-$(CONFIG_LEDS_FSG) += leds-fsg.o
|
|
obj-$(CONFIG_LEDS_PCA955X) += leds-pca955x.o
|
|
obj-$(CONFIG_LEDS_PCA963X) += leds-pca963x.o
|
|
obj-$(CONFIG_LEDS_DA903X) += leds-da903x.o
|
|
obj-$(CONFIG_LEDS_DA9052) += leds-da9052.o
|
|
obj-$(CONFIG_LEDS_WM831X_STATUS) += leds-wm831x-status.o
|
|
obj-$(CONFIG_LEDS_WM8350) += leds-wm8350.o
|
|
obj-$(CONFIG_LEDS_PWM) += leds-pwm.o
|
|
obj-$(CONFIG_LEDS_REGULATOR) += leds-regulator.o
|
|
obj-$(CONFIG_LEDS_INTEL_SS4200) += leds-ss4200.o
|
|
obj-$(CONFIG_LEDS_LT3593) += leds-lt3593.o
|
|
obj-$(CONFIG_LEDS_ADP5520) += leds-adp5520.o
|
|
obj-$(CONFIG_LEDS_DELL_NETBOOKS) += dell-led.o
|
|
obj-$(CONFIG_LEDS_MC13783) += leds-mc13783.o
|
|
obj-$(CONFIG_LEDS_NS2) += leds-ns2.o
|
|
obj-$(CONFIG_LEDS_NETXBIG) += leds-netxbig.o
|
|
obj-$(CONFIG_LEDS_ASIC3) += leds-asic3.o
|
|
obj-$(CONFIG_LEDS_MAX8997) += leds-max8997.o
|
|
obj-$(CONFIG_LEDS_LM355x) += leds-lm355x.o
|
|
obj-$(CONFIG_LEDS_BLINKM) += leds-blinkm.o
|
|
obj-$(CONFIG_LEDS_SYSCON) += leds-syscon.o
|
|
obj-$(CONFIG_LEDS_VERSATILE) += leds-versatile.o
|
|
obj-$(CONFIG_LEDS_MENF21BMC) += leds-menf21bmc.o
|
|
|
|
# LED SPI Drivers
|
|
obj-$(CONFIG_LEDS_DAC124S085) += leds-dac124s085.o
|
|
|
|
# LED Triggers
|
|
obj-$(CONFIG_LEDS_TRIGGERS) += trigger/
|