aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/platform_data/leds-lp55xx.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/platform_data/leds-lp55xx.h')
-rw-r--r--include/linux/platform_data/leds-lp55xx.h13
1 files changed, 10 insertions, 3 deletions
diff --git a/include/linux/platform_data/leds-lp55xx.h b/include/linux/platform_data/leds-lp55xx.h
index 1509570d5a3f..1f1041e8b4fc 100644
--- a/include/linux/platform_data/leds-lp55xx.h
+++ b/include/linux/platform_data/leds-lp55xx.h
@@ -32,6 +32,13 @@
32#define LP5521_CLK_INT 1 /* Internal clock */ 32#define LP5521_CLK_INT 1 /* Internal clock */
33#define LP5521_CLK_AUTO 2 /* Automatic clock selection */ 33#define LP5521_CLK_AUTO 2 /* Automatic clock selection */
34 34
35/* Bits in LP5562 CONFIG register */
36#define LP5562_PWM_HF LP5521_PWM_HF
37#define LP5562_PWRSAVE_EN LP5521_PWRSAVE_EN
38#define LP5562_CLK_SRC_EXT LP5521_CLK_SRC_EXT
39#define LP5562_CLK_INT LP5521_CLK_INT
40#define LP5562_CLK_AUTO LP5521_CLK_AUTO
41
35struct lp55xx_led_config { 42struct lp55xx_led_config {
36 const char *name; 43 const char *name;
37 u8 chan_nr; 44 u8 chan_nr;
@@ -40,9 +47,9 @@ struct lp55xx_led_config {
40}; 47};
41 48
42struct lp55xx_predef_pattern { 49struct lp55xx_predef_pattern {
43 u8 *r; 50 const u8 *r;
44 u8 *g; 51 const u8 *g;
45 u8 *b; 52 const u8 *b;
46 u8 size_r; 53 u8 size_r;
47 u8 size_g; 54 u8 size_g;
48 u8 size_b; 55 u8 size_b;