-
- Downloads
Merge tag 'leds-for-4.5' of git://git.kernel.org/pub/scm/linux/kernel/git/j.anaszewski/linux-leds
Pull LED subsystem updates from Jacek Anaszewski: "Besides regular driver updates, we introduce a portion of LED core improvements, that allow to avoid the need for using work queues in the LED class drivers, that set brightness in a blocking way. Affected LED class drivers are being optimized accordingly. - LED core improvements: - use EXPORT_SYMBOL_GPL consistently, - add two new LED_BLINK_ flags, - rename brightness_set_sync op to brightness_set_blocking, - add led_set_brightness_nosleep{nopm} functions, - use set_brightness_work for the blocking op, - drivers shouldn't enforce SYNC/ASYNC brightness setting, - turn off the LED and wait for completion on unregistering LED class device, - add managed version of led_trigger_register, - add description of brightness setting API to the LED class doc. - Remove work queues from drivers: leds-tlc591xx, leds-88pm860x, leds-adp5520, leds-bd2802, leds-blinkm, leds-lm3533, leds-lm3642, leds-pca9532, leds-lp3944, leds-lp55xx, leds-lp8788, leds-lp8860, leds-pca955x, leds-pca963x, leds-wm831x, leds-da903x, leds-da9052, leds-dac124d085, leds-lt3593, leds-max8997, leds-mc13783, leds-regulator, leds-wm8350, leds-max77693, leds-aat1290, leds-ktd2692, leds-gpio, leds-pwm, leds-lm355x, leds-ns2. - Replace brightness_set op with a new brightness_set_blocking op to make the drivers compatible with led triggers: leds-ipaq-micro, leds-powernv. - Add missing of_node_put: leds-ktd2692, leds-aat1290, leds-max77693. - Make the driver explicitly non-modular: ledtrig-cpu, ledtrig-ide-disk, leds-syscon. - Improvements to leds-bcm6328: - reuse bcm6328_led_set() instead of copying its functionality, - swap LED ON and OFF definitions, - improve blink support, - simplify duplicated unlock in bcm6328_blink_set, - add little endian support, - remove unneded lock when checking initial LED status, - add HAS_IOMEM dependency, - code cleaning. - Improvements to leds-bcm6358: - use bcm6358_led_set() in order to get rid of the lock, - merge bcm6358_led_mode and bcm6358_led_set, - add little endian support, - remove unneded lock when checking initial LED status, - add HAS_IOMEM dependency, - remove unneeded busy status check. - Call led_pwm_set() in leds-pwm to enforce default LED_OFF. - Fix duration to be msec instead of jiffies: ledtrig-transient. - Removing NULL check: leds-powernv. - Use platform_register/unregister_drivers(): leds-sunfire. - Fix module license specification: ledtrig-oneshot. - Fix driver description and make license match the header: leds-pwm. - Remove checking for state < 1 in flash_strobe_store(): led-class-flash. - Use led_set_brightness_sync for torch brightness: v4l2-flash-led-class" * tag 'leds-for-4.5' of git://git.kernel.org/pub/scm/linux/kernel/git/j.anaszewski/linux-leds: (68 commits) leds: add HAS_IOMEM dependency to LEDS_BCM6328/LEDS_BCM6358 leds: core: add managed version of led_trigger_register leds: bcm6358: remove unneeded busy status check leds: bcm6328: improve blink support leds: bcm6358: merge bcm6358_led_mode and bcm6358_led_set leds: bcm6328: simplify duplicated unlock in bcm6328_blink_set leds: bcm6358: add little endian support leds: bcm6328: add little endian support leds: bcm6358: remove unneded lock when checking initial LED status leds: bcm6358: Use bcm6358_led_set() in order to get rid of the lock leds: bcm6328: remove unneded lock when checking initial LED leds: bcm6328: code cleaning leds: syscon: Make the driver explicitly non-modular leds: ledtrig-ide-disk: Make the driver explicitly non-modular leds: ledtrig-cpu: Make the driver explicitly non-modular leds: sunfire: Use platform_register/unregister_drivers() leds: max77693: Add missing of_node_put leds: aat1290: Add missing of_node_put leds: powernv: Implement brightness_set_blocking op leds: ipaq-micro: Implement brightness_set_blocking op ...
No related branches found
No related tags found
Showing
- Documentation/leds/leds-class.txt 13 additions, 0 deletionsDocumentation/leds/leds-class.txt
- drivers/leds/Kconfig 2 additions, 0 deletionsdrivers/leds/Kconfig
- drivers/leds/led-class-flash.c 2 additions, 6 deletionsdrivers/leds/led-class-flash.c
- drivers/leds/led-class.c 5 additions, 6 deletionsdrivers/leds/led-class.c
- drivers/leds/led-core.c 90 additions, 30 deletionsdrivers/leds/led-core.c
- drivers/leds/led-triggers.c 28 additions, 0 deletionsdrivers/leds/led-triggers.c
- drivers/leds/leds-88pm860x.c 7 additions, 16 deletionsdrivers/leds/leds-88pm860x.c
- drivers/leds/leds-aat1290.c 18 additions, 41 deletionsdrivers/leds/leds-aat1290.c
- drivers/leds/leds-adp5520.c 5 additions, 21 deletionsdrivers/leds/leds-adp5520.c
- drivers/leds/leds-bcm6328.c 37 additions, 26 deletionsdrivers/leds/leds-bcm6328.c
- drivers/leds/leds-bcm6358.c 16 additions, 21 deletionsdrivers/leds/leds-bcm6358.c
- drivers/leds/leds-bd2802.c 14 additions, 25 deletionsdrivers/leds/leds-bd2802.c
- drivers/leds/leds-blinkm.c 17 additions, 70 deletionsdrivers/leds/leds-blinkm.c
- drivers/leds/leds-da903x.c 18 additions, 28 deletionsdrivers/leds/leds-da903x.c
- drivers/leds/leds-da9052.c 12 additions, 27 deletionsdrivers/leds/leds-da9052.c
- drivers/leds/leds-dac124s085.c 10 additions, 28 deletionsdrivers/leds/leds-dac124s085.c
- drivers/leds/leds-gpio.c 22 additions, 40 deletionsdrivers/leds/leds-gpio.c
- drivers/leds/leds-ipaq-micro.c 3 additions, 3 deletionsdrivers/leds/leds-ipaq-micro.c
- drivers/leds/leds-ktd2692.c 12 additions, 38 deletionsdrivers/leds/leds-ktd2692.c
- drivers/leds/leds-lm3533.c 6 additions, 24 deletionsdrivers/leds/leds-lm3533.c
Loading
Please register or sign in to comment