diff options
| author | Sebastian Reichel <sre@kernel.org> | 2017-01-05 00:01:42 +0300 |
|---|---|---|
| committer | Sebastian Reichel <sre@kernel.org> | 2017-01-05 00:01:42 +0300 |
| commit | 8bb17b6c83281b32adb063aa1baca2d531731edb (patch) | |
| tree | 1aba895d4bb0b9f6aeb388bc1d47027b1b4d820b /include/linux | |
| parent | feb583e37f8a8cd474401b0ec25e8a8217a7efff (diff) | |
| parent | 888f97435a856c2c5c6ca0b3337b68d595b5639e (diff) | |
| download | linux-8bb17b6c83281b32adb063aa1baca2d531731edb.tar.xz | |
Merge branch 'psy-mfd-axp288-immutable' into psy-next
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/mfd/axp20x.h | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/include/linux/mfd/axp20x.h b/include/linux/mfd/axp20x.h index a4860bc9b73d..812806d6319b 100644 --- a/include/linux/mfd/axp20x.h +++ b/include/linux/mfd/axp20x.h @@ -532,35 +532,6 @@ struct axp20x_dev { const struct regmap_irq_chip *regmap_irq_chip; }; -#define BATTID_LEN 64 -#define OCV_CURVE_SIZE 32 -#define MAX_THERM_CURVE_SIZE 25 -#define PD_DEF_MIN_TEMP 0 -#define PD_DEF_MAX_TEMP 55 - -struct axp20x_fg_pdata { - char battid[BATTID_LEN + 1]; - int design_cap; - int min_volt; - int max_volt; - int max_temp; - int min_temp; - int cap1; - int cap0; - int rdc1; - int rdc0; - int ocv_curve[OCV_CURVE_SIZE]; - int tcsz; - int thermistor_curve[MAX_THERM_CURVE_SIZE][2]; -}; - -struct axp20x_chrg_pdata { - int max_cc; - int max_cv; - int def_cc; - int def_cv; -}; - struct axp288_extcon_pdata { /* GPIO pin control to switch D+/D- lines b/w PMIC and SOC */ struct gpio_desc *gpio_mux_cntl; |
