2
0
forked from Ivasoft/openwrt

ar71xx: add LED driver for the RB750

SVN-Revision: 20051
This commit is contained in:
Gabor Juhos
2010-03-08 12:10:01 +00:00
parent a1a9727fbf
commit 6600fab893
7 changed files with 249 additions and 0 deletions

View File

@@ -49,6 +49,18 @@
#define RB750_LED_BITS (RB750_LED_PORT1 | RB750_LED_PORT2 | RB750_LED_PORT3 | \
RB750_LED_PORT4 | RB750_LED_PORT5 | RB750_LED_ACT)
struct rb750_led_data {
char *name;
char *default_trigger;
u32 mask;
int active_low;
};
struct rb750_led_platform_data {
int num_leds;
struct rb750_led_data *leds;
};
int rb750_latch_change(u32 mask_clr, u32 mask_set);
#endif /* _MACH_RB750_H */