2 * Platform data structure for netxbig LED driver
4 * This file is licensed under the terms of the GNU General Public
5 * License version 2. This program is licensed "as is" without any
6 * warranty of any kind, whether express or implied.
9 #ifndef __LEDS_KIRKWOOD_NETXBIG_H
10 #define __LEDS_KIRKWOOD_NETXBIG_H
12 struct netxbig_gpio_ext {
20 enum netxbig_led_mode {
29 #define NETXBIG_LED_INVALID_MODE NETXBIG_LED_MODE_NUM
31 struct netxbig_led_timer {
32 unsigned long delay_on;
33 unsigned long delay_off;
34 enum netxbig_led_mode mode;
39 const char *default_trigger;
46 struct netxbig_led_platform_data {
47 struct netxbig_gpio_ext *gpio_ext;
48 struct netxbig_led_timer *timer;
50 struct netxbig_led *leds;
54 #endif /* __LEDS_KIRKWOOD_NETXBIG_H */