diff options
Diffstat (limited to 'include/linux/platform_data/leds-lp55xx.h')
| -rw-r--r-- | include/linux/platform_data/leds-lp55xx.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/linux/platform_data/leds-lp55xx.h b/include/linux/platform_data/leds-lp55xx.h index 202e290faea8..51a2ff579d60 100644 --- a/include/linux/platform_data/leds-lp55xx.h +++ b/include/linux/platform_data/leds-lp55xx.h | |||
| @@ -36,6 +36,13 @@ struct lp55xx_predef_pattern { | |||
| 36 | u8 size_b; | 36 | u8 size_b; |
| 37 | }; | 37 | }; |
| 38 | 38 | ||
| 39 | enum lp8501_pwr_sel { | ||
| 40 | LP8501_ALL_VDD, /* D1~9 are connected to VDD */ | ||
| 41 | LP8501_6VDD_3VOUT, /* D1~6 with VDD, D7~9 with VOUT */ | ||
| 42 | LP8501_3VDD_6VOUT, /* D1~6 with VOUT, D7~9 with VDD */ | ||
| 43 | LP8501_ALL_VOUT, /* D1~9 are connected to VOUT */ | ||
| 44 | }; | ||
| 45 | |||
| 39 | /* | 46 | /* |
| 40 | * struct lp55xx_platform_data | 47 | * struct lp55xx_platform_data |
| 41 | * @led_config : Configurable led class device | 48 | * @led_config : Configurable led class device |
| @@ -67,6 +74,9 @@ struct lp55xx_platform_data { | |||
| 67 | /* Predefined pattern data */ | 74 | /* Predefined pattern data */ |
| 68 | struct lp55xx_predef_pattern *patterns; | 75 | struct lp55xx_predef_pattern *patterns; |
| 69 | unsigned int num_patterns; | 76 | unsigned int num_patterns; |
| 77 | |||
| 78 | /* LP8501 specific */ | ||
| 79 | enum lp8501_pwr_sel pwr_sel; | ||
| 70 | }; | 80 | }; |
| 71 | 81 | ||
| 72 | #endif /* _LEDS_LP55XX_H */ | 82 | #endif /* _LEDS_LP55XX_H */ |
