linux-uconsole/drivers/leds
Boris Brezillon 01eef91312 UPSTREAM: leds: pwm: Use pwm_get_args() where appropriate
The PWM framework has clarified the concept of reference PWM config (the
platform dependent config retrieved from the DT or the PWM lookup table)
and real PWM state.

Use pwm_get_args() when the PWM user wants to retrieve this reference
config and not the current state.

This is part of the rework allowing the PWM framework to support
hardware readout and expose real PWM state even when the PWM has just
been requested (before the user calls pwm_config/enable/disable()).

Change-Id: I8286b16dc8d828ba8a66a17675fe6fbedcba480b
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Acked-by: Jacek Anaszewski <j.anaszewski@samsung.com>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
(cherry picked from commit 1b50673dfa)
2018-08-02 19:43:16 +08:00
..
trigger leds: add multi-control for leds's trigger. 2017-12-13 18:36:20 +08:00
dell-led.c
Kconfig UPSTREAM: leds: Add SN3218 and SN3216 support to the IS31FL32XX driver 2017-12-05 17:15:59 +08:00
led-class-flash.c
led-class.c leds: core: Move LED core callbacks out of led-class.c 2015-11-03 08:59:22 +01:00
led-core.c Revert "led: core: Fix brightness setting when setting delay_off=0" 2018-03-11 16:19:45 +01:00
led-triggers.c Merge branch 'linux-linaro-lsk-v4.4-android' of git://git.linaro.org/kernel/linux-linaro-stable.git 2018-04-08 18:28:30 +08:00
leds-88pm860x.c leds: 88pm860x: add missing of_node_put 2015-11-03 09:00:06 +01:00
leds-aat1290.c UPSTREAM: [media] v4l: flash led class: Use fwnode_handle instead of device_node in init 2017-08-30 17:24:05 +08:00
leds-adp5520.c
leds-asic3.c
leds-att1272.c
leds-bcm6328.c leds: bcm6328: add missing of_node_put 2015-11-03 09:00:04 +01:00
leds-bcm6358.c leds: bcm6358: add missing of_node_put 2015-11-03 09:00:02 +01:00
leds-bd2802.c
leds-blinkm.c
leds-clevo-mail.c
leds-cobalt-qube.c leds: leds-cobalt-qube: Use devm_led_classdev_register 2015-11-03 08:59:09 +01:00
leds-cobalt-raq.c drivers/leds: don't use module_init in non-modular leds-cobalt-raq.c 2015-06-22 13:57:09 -07:00
leds-da903x.c
leds-da9052.c
leds-dac124s085.c spi: Drop owner assignment from spi_drivers 2015-10-28 10:30:17 +09:00
leds-fsg.c leds: leds-fsg: Use devm_led_classdev_register 2015-08-28 14:06:23 +02:00
leds-gpio-register.c
leds-gpio.c leds: leds-gpio: add shutdown function 2015-11-03 08:59:48 +01:00
leds-hp6xx.c leds: leds-hp6xx: Use devm_led_classdev_register 2015-11-03 08:59:11 +01:00
leds-ipaq-micro.c leds: leds-ipaq-micro: Fix coding style issues 2015-11-03 08:59:17 +01:00
leds-is31fl32xx.c leds: leds-is31fl32xx: add suspend & resume support 2018-05-15 10:57:46 +08:00
leds-ktd2692.c leds: ktd2692: avoid harmless maybe-uninitialized warning 2017-05-14 13:32:55 +02:00
leds-lm355x.c leds: Drop owner assignment from i2c_driver 2015-08-28 14:06:02 +02:00
leds-lm3530.c leds: Drop owner assignment from i2c_driver 2015-08-28 14:06:02 +02:00
leds-lm3533.c
leds-lm3642.c leds: Drop owner assignment from i2c_driver 2015-08-28 14:06:02 +02:00
leds-locomo.c leds: leds-locomo.c: Use devm_led_classdev_register 2015-11-03 08:59:50 +01:00
leds-lp55xx-common.c leds:lp55xx: use the private data instead of updating I2C device platform data 2015-08-28 14:06:28 +02:00
leds-lp55xx-common.h leds:lp55xx: use the private data instead of updating I2C device platform data 2015-08-28 14:06:28 +02:00
leds-lp3944.c
leds-lp5521.c leds:lp55xx: use the private data instead of updating I2C device platform data 2015-08-28 14:06:28 +02:00
leds-lp5523.c leds:lp55xx: use the private data instead of updating I2C device platform data 2015-08-28 14:06:28 +02:00
leds-lp5562.c leds:lp55xx: use the private data instead of updating I2C device platform data 2015-08-28 14:06:28 +02:00
leds-lp8501.c leds:lp55xx: use the private data instead of updating I2C device platform data 2015-08-28 14:06:28 +02:00
leds-lp8788.c
leds-lp8860.c leds: lp8860: Constify reg_default tables 2015-08-28 14:06:04 +02:00
leds-lt3593.c
leds-max8997.c
leds-max77693.c UPSTREAM: [media] v4l: flash led class: Use fwnode_handle instead of device_node in init 2017-08-30 17:24:05 +08:00
leds-mc13783.c
leds-menf21bmc.c leds: leds-menf21bmc.c: Use devm_led_class_register 2015-11-03 08:59:52 +01:00
leds-multi.h leds: add multi-control for leds's trigger. 2017-12-13 18:36:20 +08:00
leds-net48xx.c leds: leds-net48xx: Use devm_led_classdev_register 2015-11-03 08:59:54 +01:00
leds-netxbig.c leds: netxbig: set led_classdev max_brightness 2015-11-03 08:59:36 +01:00
leds-ns2.c leds: leds-ns2: Fix module autoload for OF platform driver 2015-09-17 10:02:05 +02:00
leds-ot200.c leds: leds-ot200: Use devm_led_classdev_register 2015-11-03 08:59:13 +01:00
leds-pca955x.c leds: pca955x: Correct I2C Functionality 2018-04-13 19:50:09 +02:00
leds-pca963x.c leds: Export OF module alias information in missing drivers 2015-08-28 14:06:30 +02:00
leds-pca9532.c UPSTREAM: gpio: change member .dev to .parent 2018-02-28 14:55:00 +08:00
leds-powernv.c powerpc/powernv: add missing of_node_put 2015-11-03 09:00:00 +01:00
leds-pwm.c UPSTREAM: leds: pwm: Use pwm_get_args() where appropriate 2018-08-02 19:43:16 +08:00
leds-rb532.c
leds-regulator.c
leds-s3c24xx.c
leds-sead3.c LED/MIPS: Move SEAD3 LED driver to where it belongs. 2015-11-03 08:59:20 +01:00
leds-ss4200.c
leds-sunfire.c
leds-syscon.c leds: syscon: Correct check for syscon_node_to_regmap() errors 2015-08-28 14:06:25 +02:00
leds-tca6507.c UPSTREAM: gpio: change member .dev to .parent 2018-02-28 14:55:00 +08:00
leds-tlc591xx.c leds: tlc591xx: Remove redundant I2C_FUNC_SMBUS_BYTE_DATA functionality check 2015-08-28 14:06:14 +02:00
leds-versatile.c
leds-wm831x-status.c rk: revert to v3.10 2015-11-11 15:57:28 +08:00
leds-wm8350.c
leds-wrap.c leds: leds-wrap.c: Use devm_led_classdev_register 2015-11-03 08:59:58 +01:00
leds.h leds: add multi-control for leds's trigger. 2017-12-13 18:36:20 +08:00
Makefile UPSTREAM: leds: Add driver for the ISSI IS31FL32xx family of LED controllers 2017-12-05 17:15:59 +08:00