summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/linux/leds-ab5500.h14
1 files changed, 9 insertions, 5 deletions
diff --git a/include/linux/leds-ab5500.h b/include/linux/leds-ab5500.h
index 2db6ffd188e..9ba9ac61d90 100644
--- a/include/linux/leds-ab5500.h
+++ b/include/linux/leds-ab5500.h
@@ -13,19 +13,23 @@
#define AB5500_HVLED2 2
#define AB5500_HVLEDS_MAX 3
-enum ab5500_led_status {
- AB5500_LED_OFF = 0x00,
- AB5500_LED_ON,
+enum ab5500_fade_delay {
+ AB5500_FADE_DELAY_BYPASS = 0,
+ AB5500_FADE_DELAY_HALFSEC,
+ AB5500_FADE_DELAY_ONESEC,
+ AB5500_FADE_DELAY_TWOSEC
};
struct ab5500_led_conf {
char *name;
u8 led_id;
- enum ab5500_led_status status;
u8 max_current;
+ u8 fade_hi;
+ u8 fade_lo;
+ bool led_on;
};
struct ab5500_hvleds_platform_data {
- bool hw_blink;
+ bool hw_fade;
struct ab5500_led_conf leds[AB5500_HVLEDS_MAX];
};