forked from alistair23/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.9' of git://git.kernel.org/pub/scm/linux/kernel/git…
…/sre/linux-power-supply Pull power supply and reset updates from Sebastian Reichel: - move power supply drivers to drivers/power/supply - unify location of power supply DT documentation - tps65217-charger: IRQ support - act8945a-charger: misc. cleanups & improvements - sbs-battery cleanup - fix users of deprecated create_singlethread_workqueue() - misc fixes. * tag 'for-v4.9' of git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-power-supply: (46 commits) power: supply: bq27xxx_battery: allow kernel poll_interval parameter runtime update power: supply: sbs-battery: Cleanup removal of chip->pdata power: reset: st: Remove obsolete platforms from dt doc power: reset: st-poweroff: Remove obsolete platforms. power: reset: zx-reboot: Unmap region obtained by of_iomap power: reset: xgene-reboot: Unmap region obtained by of_iomap power: supply: ab8500: cleanup with list_first_entry_or_null() power: reset: add in missing white space in error message text sbs-battery: make writes to ManufacturerAccess optional power: bq24257: Fix use of uninitialized pointer bq->charger power: supply: sbs-battery: simplify DT parsing power: supply: bq24735-charger: Request status GPIO with initial input setup power: supply: sbs-battery: Use gpio_desc and sleeping calls for battery detect power: supply: act8945a_charger: Add max current property power: supply: act8945a_charger: Add capacity level property doc: bindings: power: act8945a-charger: Update properties. power: supply: act8945a_charger: Fix the power supply type power: supply: act8945a_charger: Add status change update support power: supply: act8945a_charger: Improve state handling power: supply: act8945a_charger: Remove "battery_temperature" ...
- Loading branch information
Showing
131 changed files
with
1,638 additions
and
1,315 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 |
---|---|---|
|
@@ -1090,6 +1090,10 @@ S: 6350 Stoneridge Mall Road | |
S: Pleasanton, CA 94588 | ||
S: USA | ||
|
||
N: Dmitry Eremin-Solenikov | ||
E: [email protected] | ||
D: Power Supply Maintainer from v3.14 - v3.15 | ||
|
||
N: Doug Evans | ||
E: [email protected] | ||
D: Wrote Xenix FS (part of standard kernel since 0.99.15) | ||
|
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 |
---|---|---|
|
@@ -22,7 +22,7 @@ Description: | |
What: /sys/class/power_supply/max14577-charger/device/fast_charge_timer | ||
Date: October 2014 | ||
KernelVersion: 3.18.0 | ||
Contact: Krzysztof Kozlowski <[email protected]> | ||
Contact: Krzysztof Kozlowski <[email protected]> | ||
Description: | ||
This entry shows and sets the maximum time the max14577 | ||
charger operates in fast-charge mode. When the timer expires | ||
|
@@ -36,7 +36,7 @@ Description: | |
What: /sys/class/power_supply/max77693-charger/device/fast_charge_timer | ||
Date: January 2015 | ||
KernelVersion: 3.19.0 | ||
Contact: Krzysztof Kozlowski <[email protected]> | ||
Contact: Krzysztof Kozlowski <[email protected]> | ||
Description: | ||
This entry shows and sets the maximum time the max77693 | ||
charger operates in fast-charge mode. When the timer expires | ||
|
@@ -50,7 +50,7 @@ Description: | |
What: /sys/class/power_supply/max77693-charger/device/top_off_threshold_current | ||
Date: January 2015 | ||
KernelVersion: 3.19.0 | ||
Contact: Krzysztof Kozlowski <[email protected]> | ||
Contact: Krzysztof Kozlowski <[email protected]> | ||
Description: | ||
This entry shows and sets the charging current threshold for | ||
entering top-off charging mode. When charging current in fast | ||
|
@@ -65,7 +65,7 @@ Description: | |
What: /sys/class/power_supply/max77693-charger/device/top_off_timer | ||
Date: January 2015 | ||
KernelVersion: 3.19.0 | ||
Contact: Krzysztof Kozlowski <[email protected]> | ||
Contact: Krzysztof Kozlowski <[email protected]> | ||
Description: | ||
This entry shows and sets the maximum time the max77693 | ||
charger operates in top-off charge mode. When the timer expires | ||
|
35 changes: 0 additions & 35 deletions
35
Documentation/devicetree/bindings/power/act8945a-charger.txt
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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 |
---|---|---|
@@ -1,11 +1,12 @@ | ||
*Device-Tree bindings for ST SW reset functionality | ||
|
||
Required properties: | ||
- compatible: should be "st,<chip>-restart". | ||
- compatible: should be "stih407-restart". | ||
- st,syscfg: should be a phandle of the syscfg node. | ||
|
||
Example node: | ||
restart { | ||
compatible = "st,stih416-restart"; | ||
st,syscfg = <&syscfg_sbc>; | ||
compatible = "st,stih407-restart"; | ||
st,syscfg = <&syscfg_sbc_reg>; | ||
status = "okay"; | ||
}; |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
48 changes: 48 additions & 0 deletions
48
Documentation/devicetree/bindings/power/supply/act8945a-charger.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,48 @@ | ||
Device-Tree bindings for charger of Active-semi ACT8945A Multi-Function Device | ||
|
||
Required properties: | ||
- compatible: "active-semi,act8945a-charger". | ||
- active-semi,chglev-gpios: charge current level phandle with args | ||
as described in ../gpio/gpio.txt. | ||
- active-semi,lbo-gpios: specify the low battery voltage detect phandle | ||
with args as as described in ../gpio/gpio.txt. | ||
- interrupts: <a b> where a is the interrupt number and b is a | ||
field that represents an encoding of the sense and level | ||
information for the interrupt. | ||
- interrupt-parent: the phandle for the interrupt controller that | ||
services interrupts for this device. | ||
|
||
Optional properties: | ||
- active-semi,input-voltage-threshold-microvolt: unit: mV; | ||
Specifies the charger's input over-voltage threshold value; | ||
The value can be: 6600, 7000, 7500, 8000; default: 6600 | ||
- active-semi,precondition-timeout: unit: minutes; | ||
Specifies the charger's PRECONDITION safety timer setting value; | ||
The value can be: 40, 60, 80, 0; If 0, it means to disable this timer; | ||
default: 40. | ||
- active-semi,total-timeout: unit: hours; | ||
Specifies the charger's total safety timer setting value; | ||
The value can be: 3, 4, 5, 0; If 0, it means to disable this timer; | ||
default: 3. | ||
|
||
Example: | ||
pmic@5b { | ||
compatible = "active-semi,act8945a"; | ||
reg = <0x5b>; | ||
status = "okay"; | ||
|
||
charger { | ||
compatible = "active-semi,act8945a-charger"; | ||
pinctrl-names = "default"; | ||
pinctrl-0 = <&pinctrl_charger_chglev &pinctrl_charger_lbo &pinctrl_charger_irq>; | ||
interrupt-parent = <&pioA>; | ||
interrupts = <45 GPIO_ACTIVE_LOW>; | ||
|
||
active-semi,chglev-gpios = <&pioA 12 GPIO_ACTIVE_HIGH>; | ||
active-semi,lbo-gpios = <&pioA 72 GPIO_ACTIVE_LOW>; | ||
active-semi,input-voltage-threshold-microvolt = <6600>; | ||
active-semi,precondition-timeout = <40>; | ||
active-semi,total-timeout = <3>; | ||
status = "okay"; | ||
}; | ||
}; |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3784,8 +3784,8 @@ F: drivers/leds/leds-da90??.c | |
F: drivers/mfd/da903x.c | ||
F: drivers/mfd/da90??-*.c | ||
F: drivers/mfd/da91??-*.c | ||
F: drivers/power/da9052-battery.c | ||
F: drivers/power/da91??-*.c | ||
F: drivers/power/supply/da9052-battery.c | ||
F: drivers/power/supply/da91??-*.c | ||
F: drivers/regulator/da903x.c | ||
F: drivers/regulator/da9???-regulator.[ch] | ||
F: drivers/rtc/rtc-da90??.c | ||
|
@@ -7579,8 +7579,8 @@ M: Krzysztof Kozlowski <[email protected]> | |
M: Bartlomiej Zolnierkiewicz <[email protected]> | ||
L: [email protected] | ||
S: Supported | ||
F: drivers/power/max14577_charger.c | ||
F: drivers/power/max77693_charger.c | ||
F: drivers/power/supply/max14577_charger.c | ||
F: drivers/power/supply/max77693_charger.c | ||
|
||
MAXIM MAX77802 MULTIFUNCTION PMIC DEVICE DRIVERS | ||
M: Javier Martinez Canillas <[email protected]> | ||
|
@@ -8486,11 +8486,11 @@ R: Pali Rohár <[email protected]> | |
F: include/linux/power/bq2415x_charger.h | ||
F: include/linux/power/bq27xxx_battery.h | ||
F: include/linux/power/isp1704_charger.h | ||
F: drivers/power/bq2415x_charger.c | ||
F: drivers/power/bq27xxx_battery.c | ||
F: drivers/power/bq27xxx_battery_i2c.c | ||
F: drivers/power/isp1704_charger.c | ||
F: drivers/power/rx51_battery.c | ||
F: drivers/power/supply/bq2415x_charger.c | ||
F: drivers/power/supply/bq27xxx_battery.c | ||
F: drivers/power/supply/bq27xxx_battery_i2c.c | ||
F: drivers/power/supply/isp1704_charger.c | ||
F: drivers/power/supply/rx51_battery.c | ||
|
||
NTB DRIVER CORE | ||
M: Jon Mason <[email protected]> | ||
|
@@ -9490,16 +9490,12 @@ F: drivers/powercap/ | |
|
||
POWER SUPPLY CLASS/SUBSYSTEM and DRIVERS | ||
M: Sebastian Reichel <[email protected]> | ||
M: Dmitry Eremin-Solenikov <[email protected]> | ||
M: David Woodhouse <[email protected]> | ||
L: [email protected] | ||
T: git git://git.infradead.org/battery-2.6.git | ||
T: git git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-power-supply.git | ||
S: Maintained | ||
F: Documentation/devicetree/bindings/power/ | ||
F: Documentation/devicetree/bindings/power_supply/ | ||
F: Documentation/devicetree/bindings/power/supply/ | ||
F: include/linux/power_supply.h | ||
F: drivers/power/ | ||
X: drivers/power/avs/ | ||
F: drivers/power/supply/ | ||
|
||
POWER STATE COORDINATION INTERFACE (PSCI) | ||
M: Mark Rutland <[email protected]> | ||
|
@@ -10514,8 +10510,8 @@ F: drivers/thunderbolt/ | |
TI BQ27XXX POWER SUPPLY DRIVER | ||
R: Andrew F. Davis <[email protected]> | ||
F: include/linux/power/bq27xxx_battery.h | ||
F: drivers/power/bq27xxx_battery.c | ||
F: drivers/power/bq27xxx_battery_i2c.c | ||
F: drivers/power/supply/bq27xxx_battery.c | ||
F: drivers/power/supply/bq27xxx_battery_i2c.c | ||
|
||
TIMEKEEPING, CLOCKSOURCE CORE, NTP, ALARMTIMER | ||
M: John Stultz <[email protected]> | ||
|
@@ -11512,6 +11508,14 @@ T: git git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git | |
S: Supported | ||
F: drivers/mfd/syscon.c | ||
|
||
SYSTEM RESET/SHUTDOWN DRIVERS | ||
M: Sebastian Reichel <[email protected]> | ||
L: [email protected] | ||
T: git git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-power-supply.git | ||
S: Maintained | ||
F: Documentation/devicetree/bindings/power/reset/ | ||
F: drivers/power/reset/ | ||
|
||
SYSV FILESYSTEM | ||
M: Christoph Hellwig <[email protected]> | ||
S: Maintained | ||
|
@@ -11860,7 +11864,7 @@ F: include/linux/platform_data/lp855x.h | |
TI LP8727 CHARGER DRIVER | ||
M: Milo Kim <[email protected]> | ||
S: Maintained | ||
F: drivers/power/lp8727_charger.c | ||
F: drivers/power/supply/lp8727_charger.c | ||
F: include/linux/platform_data/lp8727.h | ||
|
||
TI LP8788 MFD DRIVER | ||
|
@@ -11869,7 +11873,7 @@ S: Maintained | |
F: drivers/iio/adc/lp8788_adc.c | ||
F: drivers/leds/leds-lp8788.c | ||
F: drivers/mfd/lp8788*.c | ||
F: drivers/power/lp8788-charger.c | ||
F: drivers/power/supply/lp8788-charger.c | ||
F: drivers/regulator/lp8788-*.c | ||
F: include/linux/mfd/lp8788*.h | ||
|
||
|
@@ -12946,7 +12950,7 @@ F: drivers/input/touchscreen/wm97*.c | |
F: drivers/mfd/arizona* | ||
F: drivers/mfd/wm*.c | ||
F: drivers/mfd/cs47l24* | ||
F: drivers/power/wm83*.c | ||
F: drivers/power/supply/wm83*.c | ||
F: drivers/rtc/rtc-wm83*.c | ||
F: drivers/regulator/wm8*.c | ||
F: drivers/video/backlight/wm83*_bl.c | ||
|
Oops, something went wrong.