diff options
author | Johan Hovold <jhovold@gmail.com> | 2012-05-10 08:11:28 -0400 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2012-05-20 11:27:01 -0400 |
commit | d9055dc501da6734e3cfea1ef236173bd8b645b1 (patch) | |
tree | 46e93c758bbe5321f901f91880b0909a738bc16d /include | |
parent | 879eed68265c8dcb2f2856ec96820fc93b7038c9 (diff) |
mfd: Add boost frequency and ovp to lm3533 platform data
Add boost-frequency and over-voltage-protection settings to platform
data.
Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/mfd/lm3533.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/include/linux/mfd/lm3533.h b/include/linux/mfd/lm3533.h index 75f85f3fbd90..336113759fd1 100644 --- a/include/linux/mfd/lm3533.h +++ b/include/linux/mfd/lm3533.h | |||
@@ -59,9 +59,24 @@ struct lm3533_led_platform_data { | |||
59 | u8 pwm; /* 0 - 0x3f */ | 59 | u8 pwm; /* 0 - 0x3f */ |
60 | }; | 60 | }; |
61 | 61 | ||
62 | enum lm3533_boost_freq { | ||
63 | LM3533_BOOST_FREQ_500KHZ, | ||
64 | LM3533_BOOST_FREQ_1000KHZ, | ||
65 | }; | ||
66 | |||
67 | enum lm3533_boost_ovp { | ||
68 | LM3533_BOOST_OVP_16V, | ||
69 | LM3533_BOOST_OVP_24V, | ||
70 | LM3533_BOOST_OVP_32V, | ||
71 | LM3533_BOOST_OVP_40V, | ||
72 | }; | ||
73 | |||
62 | struct lm3533_platform_data { | 74 | struct lm3533_platform_data { |
63 | int gpio_hwen; | 75 | int gpio_hwen; |
64 | 76 | ||
77 | enum lm3533_boost_ovp boost_ovp; | ||
78 | enum lm3533_boost_freq boost_freq; | ||
79 | |||
65 | struct lm3533_als_platform_data *als; | 80 | struct lm3533_als_platform_data *als; |
66 | 81 | ||
67 | struct lm3533_bl_platform_data *backlights; | 82 | struct lm3533_bl_platform_data *backlights; |