forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge tag 'for-v4.12-2' of git://git.kernel.org/pub/scm/linux/kernel/…
…git/sre/linux-power-supply Pull more power-supply updates from Sebastian Reichel: "The power-supply subsystem has a few more changes for the v4.12 merge window: - New battery driver for AXP20X and AXP22X PMICs - Improve max17042_battery for usage on x86 - Misc small cleanups & fixes" * tag 'for-v4.12-2' of git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-power-supply: (34 commits) power: supply: cpcap-charger: Keep trickle charger bits disabled power: supply: cpcap-charger: Fix enable for 3.8V charge setting power: supply: cpcap-charger: Fix charge voltage configuration power: supply: cpcap-charger: Fix charger name power: supply: twl4030-charger: make twl4030_bci_property_is_writeable static power: supply: sbs-battery: Add alert callback mailmap: add Sebastian Reichel power: supply: avoid unused twl4030-madc.h power: supply: sbs-battery: Correct supply status with current draw power: supply: sbs-battery: Don't ignore the first external power change power: supply: pda_power: move from timer to delayed_work power: supply: max17042_battery: Add support for the SCOPE property power: supply: max17042_battery: Add support for the CHARGE_NOW property power: supply: max17042_battery: Add support for the CHARGE_FULL_DESIGN property power: supply: max17042_battery: mAh readings depend on r_sns value power: supply: max17042_battery: Add support for the VOLT_MIN property power: supply: max17042_battery: Add support for the TECHNOLOGY attribute power: supply: max17042_battery: Add external_power_changed callback power: supply: max17042_battery: Add support for the STATUS property power: supply: max17042_battery: Add default platform_data fallback data ...
- Loading branch information
Showing
18 changed files
with
975 additions
and
173 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -146,6 +146,8 @@ Santosh Shilimkar <[email protected]> | |
Santosh Shilimkar <[email protected]> | ||
Sascha Hauer <[email protected]> | ||
S.Çağlar Onur <[email protected]> | ||
Sebastian Reichel <[email protected]> <[email protected]> | ||
Sebastian Reichel <[email protected]> <[email protected]> | ||
Shiraz Hashim <[email protected]> <[email protected]> | ||
Shuah Khan <[email protected]> <[email protected]> | ||
Shuah Khan <[email protected]> <[email protected]> | ||
|
20 changes: 20 additions & 0 deletions
20
Documentation/devicetree/bindings/power/supply/axp20x_battery.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
AXP20x and AXP22x battery power supply | ||
|
||
Required Properties: | ||
- compatible, one of: | ||
"x-powers,axp209-battery-power-supply" | ||
"x-powers,axp221-battery-power-supply" | ||
|
||
This node is a subnode of the axp20x/axp22x PMIC. | ||
|
||
The AXP20X and AXP22X can read the battery voltage, charge and discharge | ||
currents of the battery by reading ADC channels from the AXP20X/AXP22X | ||
ADC. | ||
|
||
Example: | ||
|
||
&axp209 { | ||
battery_power_supply: battery-power-supply { | ||
compatible = "x-powers,axp209-battery-power-supply"; | ||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.