Skip to content

Commit 8eb48fc

Browse files
committed
Merge tag 'for-v5.18' of git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-power-supply
Pull power supply and reset updates from Sebastian Reichel: "Power-supply core: - Introduce "Bypass" charging type used by USB PPS standard - Refactor power_supply_set_input_current_limit_from_supplier() - Add fwnode support to power_supply_get_battery_info() Drivers: - ab8500: continue migrating towards using standard core APIs - axp288 fuel-gauge: refactor driver to be fully resource managed - battery-samsung-sdi: new in-kernel provider for (constant) Samsung battery info - bq24190: disable boost regulator on shutdown - bq24190: add support for battery-info on ACPI based systems - bq25890: prepare driver for usage on ACPI based systems - bq25890: add boost regulator support - cpcap-battery: add NVMEM based battery detection support - injoinic ip5xxx: new driver for power bank IC - upi ug3105: new battery driver - misc small improvements and fixes" * tag 'for-v5.18' of git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-power-supply: (94 commits) power: ab8500_chargalg: Use CLOCK_MONOTONIC power: supply: Add a driver for Injoinic power bank ICs dt-bindings: trivial-devices: Add Injoinic power bank ICs dt-bindings: vendor-prefixes: Add Injoinic power: supply: ab8500: Remove unused variable power: supply: da9150-fg: Remove unnecessary print function dev_err() power: supply: ab8500: fix a handful of spelling mistakes power: supply: ab8500_fg: Account for line impedance dt-bindings: power: supply: ab8500_fg: Add line impedance power: supply: axp20x_usb_power: fix platform_get_irq.cocci warnings power: supply: axp20x_ac_power: fix platform_get_irq.cocci warning power: supply: wm8350-power: Add missing free in free_charger_irq power: supply: wm8350-power: Handle error for wm8350_register_irq power: supply: Static data for Samsung batteries power: supply: ab8500_fg: Use VBAT-to-Ri if possible power: supply: Support VBAT-to-Ri lookup tables power: supply: ab8500: Standardize BTI resistance power: supply: ab8500: Standardize alert mode charging power: supply: ab8500: Standardize maintenance charging power: supply: bq24190_charger: Delay applying charge_type changes when OTG 5V Vbus boost is on ...
2 parents 148a650 + c22fca4 commit 8eb48fc

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+4118
-1429
lines changed

Documentation/ABI/testing/sysfs-class-power

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -380,13 +380,17 @@ Description:
380380
algorithm to adjust the charge rate dynamically, without
381381
any user configuration required. "Custom" means that the charger
382382
uses the charge_control_* properties as configuration for some
383-
different algorithm.
383+
different algorithm. "Long Life" means the charger reduces its
384+
charging rate in order to prolong the battery health. "Bypass"
385+
means the charger bypasses the charging path around the
386+
integrated converter allowing for a "smart" wall adaptor to
387+
perform the power conversion externally.
384388

385389
Access: Read, Write
386390

387391
Valid values:
388392
"Unknown", "N/A", "Trickle", "Fast", "Standard",
389-
"Adaptive", "Custom"
393+
"Adaptive", "Custom", "Long Life", "Bypass"
390394

391395
What: /sys/class/power_supply/<supply_name>/charge_term_current
392396
Date: July 2014

Documentation/devicetree/bindings/power/supply/stericsson,ab8500-fg.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,11 @@ properties:
2525
$ref: /schemas/types.yaml#/definitions/phandle
2626
deprecated: true
2727

28+
line-impedance-micro-ohms:
29+
description: The line impedance between the battery and the
30+
AB8500 inputs, to compensate for this when determining internal
31+
resistance.
32+
2833
interrupts:
2934
maxItems: 5
3035

Documentation/devicetree/bindings/trivial-devices.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,14 @@ properties:
143143
- infineon,xdpe12254
144144
# Infineon Multi-phase Digital VR Controller xdpe12284
145145
- infineon,xdpe12284
146+
# Injoinic IP5108 2.0A Power Bank IC with I2C
147+
- injoinic,ip5108
148+
# Injoinic IP5109 2.1A Power Bank IC with I2C
149+
- injoinic,ip5109
150+
# Injoinic IP5207 1.2A Power Bank IC with I2C
151+
- injoinic,ip5207
152+
# Injoinic IP5209 2.4A Power Bank IC with I2C
153+
- injoinic,ip5209
146154
# Inspur Power System power supply unit version 1
147155
- inspur,ipsps1
148156
# Intersil ISL29028 Ambient Light and Proximity Sensor

Documentation/devicetree/bindings/vendor-prefixes.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -571,6 +571,8 @@ patternProperties:
571571
description: InfoVision Optoelectronics Kunshan Co. Ltd.
572572
"^ingenic,.*":
573573
description: Ingenic Semiconductor
574+
"^injoinic,.*":
575+
description: Injoinic Technology Corp.
574576
"^innolux,.*":
575577
description: Innolux Corporation
576578
"^inside-secure,.*":

MAINTAINERS

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9537,6 +9537,11 @@ F: include/linux/mfd/ingenic-tcu.h
95379537
F: sound/soc/codecs/jz47*
95389538
F: sound/soc/jz4740/
95399539

9540+
INJOINIC IP5xxx POWER BANK IC DRIVER
9541+
M: Samuel Holland <[email protected]>
9542+
S: Maintained
9543+
F: drivers/power/supply/ip5xxx_power.c
9544+
95409545
INOTIFY
95419546
M: Jan Kara <[email protected]>
95429547
R: Amir Goldstein <[email protected]>

drivers/extcon/Kconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,8 @@ config EXTCON_INTEL_INT3496
6161
config EXTCON_INTEL_CHT_WC
6262
tristate "Intel Cherrytrail Whiskey Cove PMIC extcon driver"
6363
depends on INTEL_SOC_PMIC_CHTWC
64+
depends on USB_SUPPORT
65+
select USB_ROLE_SWITCH
6466
help
6567
Say Y here to enable extcon support for charger detection / control
6668
on the Intel Cherrytrail Whiskey Cove PMIC.

0 commit comments

Comments
 (0)