diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2017-07-06 14:32:40 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2017-07-06 14:32:40 -0400 |
| commit | 4f5dfdd29065a0d1d0e61d9744e14d1d852518be (patch) | |
| tree | bda6bd779fcf00fde4b8830e5c3ff81275fc9a73 /include/linux/platform_data | |
| parent | 0b49ce5a40702bf78a5f80076312b244785e9a2f (diff) | |
| parent | 4d1707c1c6901906707b9419cac8d9c84bc17d88 (diff) | |
Merge tag 'leds_for_4.13' of git://git.kernel.org/pub/scm/linux/kernel/git/j.anaszewski/linux-leds
Pull LED updates from Jacek Anaszewski:
"This time we're removing more than adding:
Removed drivers:
leds-versatile:
- all users of the Versatile LED driver are deleted and replaced
with the very generic leds-syscon
leds-sead3:
- SEAD3 is using the generic leds-syscon & regmap based
register-bit-led driver
LED class drivers improvements:
ledtrig-gpio:
- use threaded IRQ, which both simplifies the code because we can
drop the workqueue indirection, and it enables using the trigger
for GPIOs that work with threaded IRQs themselves
- refresh LED state after GPIO change since the new GPIO may have
a different state than the old one
leds-lp55xx:
- make various arrays static const
leds-pca963x:
- add bindings to invert polarity"
* tag 'leds_for_4.13' of git://git.kernel.org/pub/scm/linux/kernel/git/j.anaszewski/linux-leds:
leds: lp55xx: make various arrays static const
leds: Remove SEAD-3 driver
leds: trigger: gpio: Use threaded IRQ
leds: trigger: gpio: Refresh LED state after GPIO change
leds: Delete obsolete Versatile driver
leds: pca963x: Add bindings to invert polarity
Diffstat (limited to 'include/linux/platform_data')
| -rw-r--r-- | include/linux/platform_data/leds-pca963x.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/platform_data/leds-pca963x.h b/include/linux/platform_data/leds-pca963x.h index e731f0036329..54e845ffb5ed 100644 --- a/include/linux/platform_data/leds-pca963x.h +++ b/include/linux/platform_data/leds-pca963x.h | |||
| @@ -33,10 +33,16 @@ enum pca963x_blink_type { | |||
| 33 | PCA963X_HW_BLINK, | 33 | PCA963X_HW_BLINK, |
| 34 | }; | 34 | }; |
| 35 | 35 | ||
| 36 | enum pca963x_direction { | ||
| 37 | PCA963X_NORMAL, | ||
| 38 | PCA963X_INVERTED, | ||
| 39 | }; | ||
| 40 | |||
| 36 | struct pca963x_platform_data { | 41 | struct pca963x_platform_data { |
| 37 | struct led_platform_data leds; | 42 | struct led_platform_data leds; |
| 38 | enum pca963x_outdrv outdrv; | 43 | enum pca963x_outdrv outdrv; |
| 39 | enum pca963x_blink_type blink_type; | 44 | enum pca963x_blink_type blink_type; |
| 45 | enum pca963x_direction dir; | ||
| 40 | }; | 46 | }; |
| 41 | 47 | ||
| 42 | #endif /* __LINUX_PCA963X_H*/ | 48 | #endif /* __LINUX_PCA963X_H*/ |
