summaryrefslogtreecommitdiffstats
path: root/include/linux/leds-pca9532.h
diff options
context:
space:
mode:
authorFelix Brack <fb@ltec.ch>2017-04-13 09:51:38 +0200
committerJacek Anaszewski <jacek.anaszewski@gmail.com>2017-04-19 20:27:50 +0200
commit28c5fe99016d28f15d1b825df8acb1558a3a63a1 (patch)
tree634f2d656c14c6f10555249e7957c2202c769613 /include/linux/leds-pca9532.h
parentcd3b0b05328e4791c1c5a4edd91599f409bd645f (diff)
downloadlinux-stable-28c5fe99016d28f15d1b825df8acb1558a3a63a1.tar.gz
linux-stable-28c5fe99016d28f15d1b825df8acb1558a3a63a1.tar.bz2
linux-stable-28c5fe99016d28f15d1b825df8acb1558a3a63a1.zip
leds: pca9532: Extend pca9532 device tree support
This patch extends the device tree support for the pca9532 by adding the leds 'default-state' property. Signed-off-by: Felix Brack <fb@ltec.ch> Signed-off-by: Jacek Anaszewski <jacek.anaszewski@gmail.com>
Diffstat (limited to 'include/linux/leds-pca9532.h')
-rw-r--r--include/linux/leds-pca9532.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/leds-pca9532.h b/include/linux/leds-pca9532.h
index d215b4561180..5e240b2b4d58 100644
--- a/include/linux/leds-pca9532.h
+++ b/include/linux/leds-pca9532.h
@@ -22,7 +22,8 @@ enum pca9532_state {
PCA9532_OFF = 0x0,
PCA9532_ON = 0x1,
PCA9532_PWM0 = 0x2,
- PCA9532_PWM1 = 0x3
+ PCA9532_PWM1 = 0x3,
+ PCA9532_KEEP = 0xff,
};
struct pca9532_led {
@@ -44,4 +45,3 @@ struct pca9532_platform_data {
};
#endif /* __LINUX_PCA9532_H */
-