diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2016-03-17 15:50:55 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-03-17 15:50:55 -0400 |
| commit | 9cc984e4bc089cd21b715b92ffe2d2bda0bb1d1a (patch) | |
| tree | e653d8f15b91321604a5f3052bfb568d7aa4b6b0 /include | |
| parent | b5b131c7473e17275debcdf1c226f452dc3876ed (diff) | |
| parent | 0df6e32b0e36710fe989095241833e09dac3e41d (diff) | |
Merge tag 'for-v4.6' of git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-power-supply
Pull power supply and reset changes from Sebastian Reichel:
- add types for USB Type C and PD chargers
- add act8945a charger driver
- add ACPI/DT bindings for goldfish-battery
- add support for versatile reset controller
- misc fixes
* tag 'for-v4.6' of git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-power-supply: (24 commits)
power: pm2301-charger: use __maybe_unused to hide pm functions
power: ipaq-micro-battery: use __maybe_unused to hide pm functions
power_supply: 88pm860x_charger: do not pass NULL to power_supply_put
jz4740-battery: Correct voltage change check
power_supply: lp8788-charger: initialize boolean 'found'
goldfish: Enable ACPI-based enumeration for goldfish battery
power: goldfish_battery: add devicetree bindings
power: act8945a: add charger driver for ACT8945A
power: add documentation for ACT8945A's charger DT bindings
ARM: dts: n900: Rename isp1704 to isp1707 to match correct name
power_supply: bq27xxx_battery: Add of modalias and match table when CONFIG_OF is enabled
power_supply: bq2415x_charger: Add of modalias and match table when CONFIG_OF is enabled
power_supply: bq2415x_charger: Do not add acpi modalias when CONFIG_ACPI is not enabled
power_supply: isp1704_charger: Add compatible of match for nxp,isp1707
power_supply: isp1704_charger: Error messages when probe fail
power_supply: Add types for USB Type C and PD chargers
power: bq24735-charger: add 'ti,external-control' option
power: bq24735-charger: document 'ti,external-control' option
power: bq24735-charger: fix failed i2c with ac-detect
power: reset: Fix dependencies for !HAS_IOMEM archs
...
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/power/bq24735-charger.h | 2 | ||||
| -rw-r--r-- | include/linux/power_supply.h | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/power/bq24735-charger.h b/include/linux/power/bq24735-charger.h index f536164a6069..6b750c1a45fa 100644 --- a/include/linux/power/bq24735-charger.h +++ b/include/linux/power/bq24735-charger.h | |||
| @@ -32,6 +32,8 @@ struct bq24735_platform { | |||
| 32 | int status_gpio_active_low; | 32 | int status_gpio_active_low; |
| 33 | bool status_gpio_valid; | 33 | bool status_gpio_valid; |
| 34 | 34 | ||
| 35 | bool ext_control; | ||
| 36 | |||
| 35 | char **supplied_to; | 37 | char **supplied_to; |
| 36 | size_t num_supplicants; | 38 | size_t num_supplicants; |
| 37 | }; | 39 | }; |
diff --git a/include/linux/power_supply.h b/include/linux/power_supply.h index ef9f1592185d..751061790626 100644 --- a/include/linux/power_supply.h +++ b/include/linux/power_supply.h | |||
| @@ -163,6 +163,9 @@ enum power_supply_type { | |||
| 163 | POWER_SUPPLY_TYPE_USB_DCP, /* Dedicated Charging Port */ | 163 | POWER_SUPPLY_TYPE_USB_DCP, /* Dedicated Charging Port */ |
| 164 | POWER_SUPPLY_TYPE_USB_CDP, /* Charging Downstream Port */ | 164 | POWER_SUPPLY_TYPE_USB_CDP, /* Charging Downstream Port */ |
| 165 | POWER_SUPPLY_TYPE_USB_ACA, /* Accessory Charger Adapters */ | 165 | POWER_SUPPLY_TYPE_USB_ACA, /* Accessory Charger Adapters */ |
| 166 | POWER_SUPPLY_TYPE_USB_TYPE_C, /* Type C Port */ | ||
| 167 | POWER_SUPPLY_TYPE_USB_PD, /* Power Delivery Port */ | ||
| 168 | POWER_SUPPLY_TYPE_USB_PD_DRP, /* PD Dual Role Port */ | ||
| 166 | }; | 169 | }; |
| 167 | 170 | ||
| 168 | enum power_supply_notifier_events { | 171 | enum power_supply_notifier_events { |
