diff options
author | Phil Reid <preid@electromag.com.au> | 2016-06-14 10:36:17 +0300 |
---|---|---|
committer | Jacek Anaszewski <j.anaszewski@samsung.com> | 2016-06-20 10:43:33 +0300 |
commit | fa4191a609f219262a18dd8b02ab7dc30896b707 (patch) | |
tree | 7a6844e998b523e8c229e657dbf9635cbb7ab591 /include/dt-bindings | |
parent | 85c90368d00190ee4ec3a84866b68fa3e2106284 (diff) | |
download | linux-fa4191a609f219262a18dd8b02ab7dc30896b707.tar.xz |
leds: pca9532: Add device tree support
This patch adds basic device tree support for the pca9532 LEDs.
Signed-off-by: Phil Reid <preid@electromag.com.au>
Signed-off-by: Jacek Anaszewski <j.anaszewski@samsung.com>
Diffstat (limited to 'include/dt-bindings')
-rw-r--r-- | include/dt-bindings/leds/leds-pca9532.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/include/dt-bindings/leds/leds-pca9532.h b/include/dt-bindings/leds/leds-pca9532.h new file mode 100644 index 000000000000..4d917aab7e1e --- /dev/null +++ b/include/dt-bindings/leds/leds-pca9532.h @@ -0,0 +1,18 @@ +/* + * This header provides constants for pca9532 LED bindings. + * + * This file is licensed under the terms of the GNU General Public + * License version 2. This program is licensed "as is" without any + * warranty of any kind, whether express or implied. + */ + +#ifndef _DT_BINDINGS_LEDS_PCA9532_H +#define _DT_BINDINGS_LEDS_PCA9532_H + +#define PCA9532_TYPE_NONE 0 +#define PCA9532_TYPE_LED 1 +#define PCA9532_TYPE_N2100_BEEP 2 +#define PCA9532_TYPE_GPIO 3 +#define PCA9532_LED_TIMER2 4 + +#endif /* _DT_BINDINGS_LEDS_PCA9532_H */ |