diff options
| author | Ramakrishna Pallala <ramakrishna.pallala@intel.com> | 2015-05-04 12:46:07 -0400 |
|---|---|---|
| committer | Sebastian Reichel <sre@kernel.org> | 2015-05-24 04:32:24 -0400 |
| commit | 843735b788a4e49c453f4aefdae80e6dfbe9ee85 (patch) | |
| tree | 07f78ff4e44bf8f6ffdca5ab18e2a89f5a890d79 /include/linux/mfd | |
| parent | edd4ab0559316a1efe0881a4e2ccaeb4fec73142 (diff) | |
power: axp288_charger: axp288 charger driver
This patch adds new power supply charger driver support
for X-Power AXP288 PMIC integrated charger.
This driver interfaces with the axp20x mfd driver as a cell
and listens to extcon cable events for setting up charging.
Signed-off-by: Ramakrishna Pallala <ramakrishna.pallala@intel.com>
Acked-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
Diffstat (limited to 'include/linux/mfd')
| -rw-r--r-- | include/linux/mfd/axp20x.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/mfd/axp20x.h b/include/linux/mfd/axp20x.h index dfabd6db7ddf..f9030df5acd1 100644 --- a/include/linux/mfd/axp20x.h +++ b/include/linux/mfd/axp20x.h | |||
| @@ -275,4 +275,11 @@ struct axp20x_fg_pdata { | |||
| 275 | int thermistor_curve[MAX_THERM_CURVE_SIZE][2]; | 275 | int thermistor_curve[MAX_THERM_CURVE_SIZE][2]; |
| 276 | }; | 276 | }; |
| 277 | 277 | ||
| 278 | struct axp20x_chrg_pdata { | ||
| 279 | int max_cc; | ||
| 280 | int max_cv; | ||
| 281 | int def_cc; | ||
| 282 | int def_cv; | ||
| 283 | }; | ||
| 284 | |||
| 278 | #endif /* __LINUX_MFD_AXP20X_H */ | 285 | #endif /* __LINUX_MFD_AXP20X_H */ |
