diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-11-01 18:06:20 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-11-01 18:06:20 -0400 |
| commit | f3c3f0670501fee130f22193369249deea8cc630 (patch) | |
| tree | 27ae58e4f338d571be93a7557ae7de48de10a947 /include/linux/mfd | |
| parent | c18ae42aa5b3473c00f51b6937d0c00bdb6ce2d2 (diff) | |
| parent | 0151546fb34e92494acd65ed84a603c2a4a90168 (diff) | |
Merge branch 'for-linus' of git://opensource.wolfsonmicro.com/regulator
* 'for-linus' of git://opensource.wolfsonmicro.com/regulator: (22 commits)
regulator: Constify constraints name
regulator: Fix possible nullpointer dereference in regulator_enable()
regulator: gpio-regulator add dependency on GENERIC_GPIO
regulator: Add module.h include to gpio-regulator
regulator: Add driver for gpio-controlled regulators
regulator: remove duplicate REG_CTRL2 defines in tps65023
regulator: Clarify documentation for regulator-regulator supplies
regulator: Fix some bitrot in the machine driver documentation
regulator: tps65023: Added support for the similiar TPS65020 chip
regulator: tps65023: Setting correct core regulator for tps65021
regulator: tps65023: Set missing bit for update core-voltage
regulator: tps65023: Fixes i2c configuration issues
regulator: Add debugfs file showing the supply map table
regulator: tps6586x: add SMx slew rate setting
regulator: tps65023: Fixes i2c configuration issues
regulator: tps6507x: Remove num_voltages array
regulator: max8952: removed unused mutex.
regulator: fix regulator/consumer.h kernel-doc warning
regulator: Ensure enough enable time for max8649
regulator: 88pm8607: Fix off-by-one value range checking in the case of no id is matched
...
Diffstat (limited to 'include/linux/mfd')
| -rw-r--r-- | include/linux/mfd/tps6586x.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/include/linux/mfd/tps6586x.h b/include/linux/mfd/tps6586x.h index b6bab1b04e25..b19176eab44d 100644 --- a/include/linux/mfd/tps6586x.h +++ b/include/linux/mfd/tps6586x.h | |||
| @@ -1,6 +1,18 @@ | |||
| 1 | #ifndef __LINUX_MFD_TPS6586X_H | 1 | #ifndef __LINUX_MFD_TPS6586X_H |
| 2 | #define __LINUX_MFD_TPS6586X_H | 2 | #define __LINUX_MFD_TPS6586X_H |
| 3 | 3 | ||
| 4 | #define TPS6586X_SLEW_RATE_INSTANTLY 0x00 | ||
| 5 | #define TPS6586X_SLEW_RATE_110UV 0x01 | ||
| 6 | #define TPS6586X_SLEW_RATE_220UV 0x02 | ||
| 7 | #define TPS6586X_SLEW_RATE_440UV 0x03 | ||
| 8 | #define TPS6586X_SLEW_RATE_880UV 0x04 | ||
| 9 | #define TPS6586X_SLEW_RATE_1760UV 0x05 | ||
| 10 | #define TPS6586X_SLEW_RATE_3520UV 0x06 | ||
| 11 | #define TPS6586X_SLEW_RATE_7040UV 0x07 | ||
| 12 | |||
| 13 | #define TPS6586X_SLEW_RATE_SET 0x08 | ||
| 14 | #define TPS6586X_SLEW_RATE_MASK 0x07 | ||
| 15 | |||
| 4 | enum { | 16 | enum { |
| 5 | TPS6586X_ID_SM_0, | 17 | TPS6586X_ID_SM_0, |
| 6 | TPS6586X_ID_SM_1, | 18 | TPS6586X_ID_SM_1, |
| @@ -48,6 +60,10 @@ enum { | |||
| 48 | TPS6586X_INT_RTC_ALM2, | 60 | TPS6586X_INT_RTC_ALM2, |
| 49 | }; | 61 | }; |
| 50 | 62 | ||
| 63 | struct tps6586x_settings { | ||
| 64 | int slew_rate; | ||
| 65 | }; | ||
| 66 | |||
| 51 | struct tps6586x_subdev_info { | 67 | struct tps6586x_subdev_info { |
| 52 | int id; | 68 | int id; |
| 53 | const char *name; | 69 | const char *name; |
