1
2
3
4
5
6
7
8
9 #ifndef __LINUX_PCA963X_H
10 #define __LINUX_PCA963X_H
11 #include <linux/leds.h>
12
13 enum pca963x_outdrv {
14 PCA963X_OPEN_DRAIN,
15 PCA963X_TOTEM_POLE,
16 };
17
18 enum pca963x_blink_type {
19 PCA963X_SW_BLINK,
20 PCA963X_HW_BLINK,
21 };
22
23 enum pca963x_direction {
24 PCA963X_NORMAL,
25 PCA963X_INVERTED,
26 };
27
28 struct pca963x_platform_data {
29 struct led_platform_data leds;
30 enum pca963x_outdrv outdrv;
31 enum pca963x_blink_type blink_type;
32 enum pca963x_direction dir;
33 };
34
35 #endif