/* * Interface of Maxim max8649 * * Copyright (C) 2009-2010 Marvell International Ltd. * Haojian Zhuang <haojian.zhuang@marvell.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. */ #ifndef __LINUX_REGULATOR_MAX8649_H #define __LINUX_REGULATOR_MAX8649_H #include <linux/regulator/machine.h> enum { MAX8649_EXTCLK_26MHZ = 0, MAX8649_EXTCLK_13MHZ, MAX8649_EXTCLK_19MHZ, /* 19.2MHz */ }; enum { MAX8649_RAMP_32MV = 0, MAX8649_RAMP_16MV, MAX8649_RAMP_8MV, MAX8649_RAMP_4MV, MAX8649_RAMP_2MV, MAX8649_RAMP_1MV, MAX8649_RAMP_0_5MV, MAX8649_RAMP_0_25MV, }; struct max8649_platform_data { struct regulator_init_data *regulator; unsigned mode:2; /* bit[1:0] = VID1,VID0 */ unsigned extclk_freq:2; unsigned extclk:1; unsigned ramp_timing:3; unsigned ramp_down:1; }; #endif /* __LINUX_REGULATOR_MAX8649_H */
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
ab8500.h | File | 7.03 KB | 0644 |
|
act8865.h | File | 1.85 KB | 0644 |
|
arizona-ldo1.h | File | 532 B | 0644 |
|
arizona-micsupp.h | File | 493 B | 0644 |
|
consumer.h | File | 17.86 KB | 0644 |
|
da9211.h | File | 1.15 KB | 0644 |
|
db8500-prcmu.h | File | 1.14 KB | 0644 |
|
driver.h | File | 18.94 KB | 0644 |
|
fan53555.h | File | 1.35 KB | 0644 |
|
fixed.h | File | 2.41 KB | 0644 |
|
gpio-regulator.h | File | 2.4 KB | 0644 |
|
lp3971.h | File | 1.38 KB | 0644 |
|
lp3972.h | File | 1.28 KB | 0644 |
|
lp872x.h | File | 2.03 KB | 0644 |
|
machine.h | File | 8.18 KB | 0644 |
|
max1586.h | File | 2.14 KB | 0644 |
|
max8649.h | File | 976 B | 0644 |
|
max8660.h | File | 1.55 KB | 0644 |
|
max8952.h | File | 2.94 KB | 0644 |
|
max8973-regulator.h | File | 3.18 KB | 0644 |
|
mt6311.h | File | 834 B | 0644 |
|
mt6323-regulator.h | File | 1.2 KB | 0644 |
|
mt6380-regulator.h | File | 870 B | 0644 |
|
mt6397-regulator.h | File | 1.17 KB | 0644 |
|
of_regulator.h | File | 1.09 KB | 0644 |
|
pfuze100.h | File | 2.13 KB | 0644 |
|
qcom_smd-regulator.h | File | 989 B | 0644 |
|
tps51632-regulator.h | File | 1.62 KB | 0644 |
|
tps62360.h | File | 1.85 KB | 0644 |
|
tps6507x.h | File | 1.09 KB | 0644 |
|
userspace-consumer.h | File | 675 B | 0644 |
|