diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/mfd/rn5t618.h | 13 | ||||
| -rw-r--r-- | include/linux/mfd/tps65217.h | 1 | ||||
| -rw-r--r-- | include/linux/mfd/tps65218.h | 2 |
3 files changed, 16 insertions, 0 deletions
diff --git a/include/linux/mfd/rn5t618.h b/include/linux/mfd/rn5t618.h index c72d5344f3b3..cadc6543909d 100644 --- a/include/linux/mfd/rn5t618.h +++ b/include/linux/mfd/rn5t618.h | |||
| @@ -20,6 +20,7 @@ | |||
| 20 | #define RN5T618_OTPVER 0x01 | 20 | #define RN5T618_OTPVER 0x01 |
| 21 | #define RN5T618_IODAC 0x02 | 21 | #define RN5T618_IODAC 0x02 |
| 22 | #define RN5T618_VINDAC 0x03 | 22 | #define RN5T618_VINDAC 0x03 |
| 23 | #define RN5T618_OUT32KEN 0x05 | ||
| 23 | #define RN5T618_CPUCNT 0x06 | 24 | #define RN5T618_CPUCNT 0x06 |
| 24 | #define RN5T618_PSWR 0x07 | 25 | #define RN5T618_PSWR 0x07 |
| 25 | #define RN5T618_PONHIS 0x09 | 26 | #define RN5T618_PONHIS 0x09 |
| @@ -38,6 +39,7 @@ | |||
| 38 | #define RN5T618_DC1_SLOT 0x16 | 39 | #define RN5T618_DC1_SLOT 0x16 |
| 39 | #define RN5T618_DC2_SLOT 0x17 | 40 | #define RN5T618_DC2_SLOT 0x17 |
| 40 | #define RN5T618_DC3_SLOT 0x18 | 41 | #define RN5T618_DC3_SLOT 0x18 |
| 42 | #define RN5T618_DC4_SLOT 0x19 | ||
| 41 | #define RN5T618_LDO1_SLOT 0x1b | 43 | #define RN5T618_LDO1_SLOT 0x1b |
| 42 | #define RN5T618_LDO2_SLOT 0x1c | 44 | #define RN5T618_LDO2_SLOT 0x1c |
| 43 | #define RN5T618_LDO3_SLOT 0x1d | 45 | #define RN5T618_LDO3_SLOT 0x1d |
| @@ -54,12 +56,16 @@ | |||
| 54 | #define RN5T618_DC2CTL2 0x2f | 56 | #define RN5T618_DC2CTL2 0x2f |
| 55 | #define RN5T618_DC3CTL 0x30 | 57 | #define RN5T618_DC3CTL 0x30 |
| 56 | #define RN5T618_DC3CTL2 0x31 | 58 | #define RN5T618_DC3CTL2 0x31 |
| 59 | #define RN5T618_DC4CTL 0x32 | ||
| 60 | #define RN5T618_DC4CTL2 0x33 | ||
| 57 | #define RN5T618_DC1DAC 0x36 | 61 | #define RN5T618_DC1DAC 0x36 |
| 58 | #define RN5T618_DC2DAC 0x37 | 62 | #define RN5T618_DC2DAC 0x37 |
| 59 | #define RN5T618_DC3DAC 0x38 | 63 | #define RN5T618_DC3DAC 0x38 |
| 64 | #define RN5T618_DC4DAC 0x39 | ||
| 60 | #define RN5T618_DC1DAC_SLP 0x3b | 65 | #define RN5T618_DC1DAC_SLP 0x3b |
| 61 | #define RN5T618_DC2DAC_SLP 0x3c | 66 | #define RN5T618_DC2DAC_SLP 0x3c |
| 62 | #define RN5T618_DC3DAC_SLP 0x3d | 67 | #define RN5T618_DC3DAC_SLP 0x3d |
| 68 | #define RN5T618_DC4DAC_SLP 0x3e | ||
| 63 | #define RN5T618_DCIREN 0x40 | 69 | #define RN5T618_DCIREN 0x40 |
| 64 | #define RN5T618_DCIRQ 0x41 | 70 | #define RN5T618_DCIRQ 0x41 |
| 65 | #define RN5T618_DCIRMON 0x42 | 71 | #define RN5T618_DCIRMON 0x42 |
| @@ -211,6 +217,7 @@ enum { | |||
| 211 | RN5T618_DCDC1, | 217 | RN5T618_DCDC1, |
| 212 | RN5T618_DCDC2, | 218 | RN5T618_DCDC2, |
| 213 | RN5T618_DCDC3, | 219 | RN5T618_DCDC3, |
| 220 | RN5T618_DCDC4, | ||
| 214 | RN5T618_LDO1, | 221 | RN5T618_LDO1, |
| 215 | RN5T618_LDO2, | 222 | RN5T618_LDO2, |
| 216 | RN5T618_LDO3, | 223 | RN5T618_LDO3, |
| @@ -221,8 +228,14 @@ enum { | |||
| 221 | RN5T618_REG_NUM, | 228 | RN5T618_REG_NUM, |
| 222 | }; | 229 | }; |
| 223 | 230 | ||
| 231 | enum { | ||
| 232 | RN5T567 = 0, | ||
| 233 | RN5T618, | ||
| 234 | }; | ||
| 235 | |||
| 224 | struct rn5t618 { | 236 | struct rn5t618 { |
| 225 | struct regmap *regmap; | 237 | struct regmap *regmap; |
| 238 | long variant; | ||
| 226 | }; | 239 | }; |
| 227 | 240 | ||
| 228 | #endif /* __LINUX_MFD_RN5T618_H */ | 241 | #endif /* __LINUX_MFD_RN5T618_H */ |
diff --git a/include/linux/mfd/tps65217.h b/include/linux/mfd/tps65217.h index ac7fba44d7e4..1c88231496d3 100644 --- a/include/linux/mfd/tps65217.h +++ b/include/linux/mfd/tps65217.h | |||
| @@ -257,6 +257,7 @@ struct tps65217 { | |||
| 257 | unsigned long id; | 257 | unsigned long id; |
| 258 | struct regulator_desc desc[TPS65217_NUM_REGULATOR]; | 258 | struct regulator_desc desc[TPS65217_NUM_REGULATOR]; |
| 259 | struct regmap *regmap; | 259 | struct regmap *regmap; |
| 260 | u8 *strobes; | ||
| 260 | }; | 261 | }; |
| 261 | 262 | ||
| 262 | static inline struct tps65217 *dev_to_tps65217(struct device *dev) | 263 | static inline struct tps65217 *dev_to_tps65217(struct device *dev) |
diff --git a/include/linux/mfd/tps65218.h b/include/linux/mfd/tps65218.h index d58f3b5f585a..7fdf5326f34e 100644 --- a/include/linux/mfd/tps65218.h +++ b/include/linux/mfd/tps65218.h | |||
| @@ -246,6 +246,7 @@ enum tps65218_irqs { | |||
| 246 | * @name: Voltage regulator name | 246 | * @name: Voltage regulator name |
| 247 | * @min_uV: minimum micro volts | 247 | * @min_uV: minimum micro volts |
| 248 | * @max_uV: minimum micro volts | 248 | * @max_uV: minimum micro volts |
| 249 | * @strobe: sequencing strobe value for the regulator | ||
| 249 | * | 250 | * |
| 250 | * This data is used to check the regualtor voltage limits while setting. | 251 | * This data is used to check the regualtor voltage limits while setting. |
| 251 | */ | 252 | */ |
| @@ -254,6 +255,7 @@ struct tps_info { | |||
| 254 | const char *name; | 255 | const char *name; |
| 255 | int min_uV; | 256 | int min_uV; |
| 256 | int max_uV; | 257 | int max_uV; |
| 258 | int strobe; | ||
| 257 | }; | 259 | }; |
| 258 | 260 | ||
| 259 | /** | 261 | /** |
