summaryrefslogtreecommitdiffstats
path: root/include/linux/regulator
diff options
context:
space:
mode:
authorTomasz Figa <t.figa@samsung.com>2013-04-04 18:17:20 +0200
committerMark Brown <broonie@opensource.wolfsonmicro.com>2013-04-05 11:20:52 +0100
commit3ff4aa95b3cd960a1c2e1422bc3dbd604f88271b (patch)
tree49386cec88cdb492559b345d82eaf483ffb55341 /include/linux/regulator
parent3ec6eb9cc2dbfa5b626f813ab8077eb71da60af2 (diff)
downloadlinux-3ff4aa95b3cd960a1c2e1422bc3dbd604f88271b.tar.gz
linux-3ff4aa95b3cd960a1c2e1422bc3dbd604f88271b.tar.bz2
linux-3ff4aa95b3cd960a1c2e1422bc3dbd604f88271b.zip
regulator: max8952: Add Device Tree support
This patch adds Device Tree support to max8952 regulator driver. Signed-off-by: Tomasz Figa <t.figa@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'include/linux/regulator')
-rw-r--r--include/linux/regulator/max8952.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/linux/regulator/max8952.h b/include/linux/regulator/max8952.h
index c13aa34d9019..4dbb63a1d4ab 100644
--- a/include/linux/regulator/max8952.h
+++ b/include/linux/regulator/max8952.h
@@ -122,11 +122,11 @@ struct max8952_platform_data {
int gpio_vid1;
int gpio_en;
- u8 default_mode;
- u8 dvs_mode[MAX8952_NUM_DVS_MODE]; /* MAX8952_DVS_MODEx_XXXXmV */
+ u32 default_mode;
+ u32 dvs_mode[MAX8952_NUM_DVS_MODE]; /* MAX8952_DVS_MODEx_XXXXmV */
- u8 sync_freq;
- u8 ramp_speed;
+ u32 sync_freq;
+ u32 ramp_speed;
struct regulator_init_data *reg_data;
};