diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2018-06-09 15:11:09 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2018-06-09 15:11:09 -0400 |
| commit | a16afaf7928b74c30a4727cdcaa67bd10675a55d (patch) | |
| tree | ab6c4835991ac397d3c6eb1934ec5ea94e2098c0 /include/linux/mfd | |
| parent | 2a70ea5cda00214a1d573acf19fa0cd06d947e38 (diff) | |
| parent | c42812da1395bf57a6f7b5934b5339a3a42c2c7d (diff) | |
Merge tag 'for-v4.18' of git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-power-supply
Pull power supply and reset updates from Sebastian Reichel:
- bq27xxx: Add BQ27426 support
- ab8500: Drop AB8540/9540 support
- Introduced new usb_type property
- Properly document the power-supply ABI
- misc. cleanups and fixes
* tag 'for-v4.18' of git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-power-supply:
MAINTAINERS: add entry for LEGO MINDSTORMS EV3
power: supply: ab8500_charger: fix spelling mistake: "faile" -> "failed"
power: supply: axp288_fuel_gauge: Remove polling from the driver
power: supply: axp288_fuelguage: Do not bind when the fg function is not used
power: supply: axp288_charger: Do not bind when the charge function is not used
power: supply: axp288_charger: Support 3500 and 4000 mA input current limit
power: supply: s3c-adc-battery: fix driver data initialization
power: supply: charger-manager: Verify polling interval only when polling requested
power: supply: sysfs: Use enum to specify property
power: supply: ab8500: Drop AB8540/9540 support
power: supply: ab8500_fg: fix spelling mistake: "Disharge" -> "Discharge"
power: supply: simplify getting .drvdata
power: supply: bq27xxx: Add support for BQ27426
gpio-poweroff: Use gpiod_set_value_cansleep
Diffstat (limited to 'include/linux/mfd')
| -rw-r--r-- | include/linux/mfd/abx500.h | 1 | ||||
| -rw-r--r-- | include/linux/mfd/abx500/ab8500-bm.h | 2 | ||||
| -rw-r--r-- | include/linux/mfd/abx500/ux500_chargalg.h | 4 |
3 files changed, 0 insertions, 7 deletions
diff --git a/include/linux/mfd/abx500.h b/include/linux/mfd/abx500.h index 44412c9d26e1..aa09414756db 100644 --- a/include/linux/mfd/abx500.h +++ b/include/linux/mfd/abx500.h | |||
| @@ -271,7 +271,6 @@ struct abx500_bm_data { | |||
| 271 | bool autopower_cfg; | 271 | bool autopower_cfg; |
| 272 | bool ac_enabled; | 272 | bool ac_enabled; |
| 273 | bool usb_enabled; | 273 | bool usb_enabled; |
| 274 | bool usb_power_path; | ||
| 275 | bool no_maintenance; | 274 | bool no_maintenance; |
| 276 | bool capacity_scaling; | 275 | bool capacity_scaling; |
| 277 | bool chg_unknown_bat; | 276 | bool chg_unknown_bat; |
diff --git a/include/linux/mfd/abx500/ab8500-bm.h b/include/linux/mfd/abx500/ab8500-bm.h index e63681eb6c62..c06daf3d490a 100644 --- a/include/linux/mfd/abx500/ab8500-bm.h +++ b/include/linux/mfd/abx500/ab8500-bm.h | |||
| @@ -248,8 +248,6 @@ enum bup_vch_sel { | |||
| 248 | #define BAT_CTRL_20U_ENA 0x02 | 248 | #define BAT_CTRL_20U_ENA 0x02 |
| 249 | #define BAT_CTRL_18U_ENA 0x01 | 249 | #define BAT_CTRL_18U_ENA 0x01 |
| 250 | #define BAT_CTRL_16U_ENA 0x02 | 250 | #define BAT_CTRL_16U_ENA 0x02 |
| 251 | #define BAT_CTRL_60U_ENA 0x01 | ||
| 252 | #define BAT_CTRL_120U_ENA 0x02 | ||
| 253 | #define BAT_CTRL_CMP_ENA 0x04 | 251 | #define BAT_CTRL_CMP_ENA 0x04 |
| 254 | #define FORCE_BAT_CTRL_CMP_HIGH 0x08 | 252 | #define FORCE_BAT_CTRL_CMP_HIGH 0x08 |
| 255 | #define BAT_CTRL_PULL_UP_ENA 0x10 | 253 | #define BAT_CTRL_PULL_UP_ENA 0x10 |
diff --git a/include/linux/mfd/abx500/ux500_chargalg.h b/include/linux/mfd/abx500/ux500_chargalg.h index 67703f23e7ba..669894f434f5 100644 --- a/include/linux/mfd/abx500/ux500_chargalg.h +++ b/include/linux/mfd/abx500/ux500_chargalg.h | |||
| @@ -25,8 +25,6 @@ struct ux500_charger_ops { | |||
| 25 | int (*check_enable) (struct ux500_charger *, int, int); | 25 | int (*check_enable) (struct ux500_charger *, int, int); |
| 26 | int (*kick_wd) (struct ux500_charger *); | 26 | int (*kick_wd) (struct ux500_charger *); |
| 27 | int (*update_curr) (struct ux500_charger *, int); | 27 | int (*update_curr) (struct ux500_charger *, int); |
| 28 | int (*pp_enable) (struct ux500_charger *, bool); | ||
| 29 | int (*pre_chg_enable) (struct ux500_charger *, bool); | ||
| 30 | }; | 28 | }; |
| 31 | 29 | ||
| 32 | /** | 30 | /** |
| @@ -37,7 +35,6 @@ struct ux500_charger_ops { | |||
| 37 | * @max_out_curr maximum output charger current in mA | 35 | * @max_out_curr maximum output charger current in mA |
| 38 | * @enabled indicates if this charger is used or not | 36 | * @enabled indicates if this charger is used or not |
| 39 | * @external external charger unit (pm2xxx) | 37 | * @external external charger unit (pm2xxx) |
| 40 | * @power_path USB power path support | ||
| 41 | */ | 38 | */ |
| 42 | struct ux500_charger { | 39 | struct ux500_charger { |
| 43 | struct power_supply *psy; | 40 | struct power_supply *psy; |
| @@ -47,7 +44,6 @@ struct ux500_charger { | |||
| 47 | int wdt_refresh; | 44 | int wdt_refresh; |
| 48 | bool enabled; | 45 | bool enabled; |
| 49 | bool external; | 46 | bool external; |
| 50 | bool power_path; | ||
| 51 | }; | 47 | }; |
| 52 | 48 | ||
| 53 | extern struct blocking_notifier_head charger_notifier_list; | 49 | extern struct blocking_notifier_head charger_notifier_list; |
