summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2026-09-30 13:15:12 +0100
committerMark Brown <broonie@kernel.org>2026-09-30 13:15:12 +0100
commitd793009bc69371cfa0acad5fb52b90140e2d881c (patch)
treedbe31a2a3943d0c0b700c254cb7ed49d3d61f27a /Documentation
parentc160979b984bb47e89621e4b720fb170acef66cb (diff)
parent4fc88ba435dadbc05990951e3f3fbd8ccd2df140 (diff)
downloadlinux-next-d793009bc69371cfa0acad5fb52b90140e2d881c.tar.gz
linux-next-d793009bc69371cfa0acad5fb52b90140e2d881c.zip
Merge branch 'for-next' of https://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-power-supply.git
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/ABI/testing/sysfs-class-power39
-rw-r--r--Documentation/ABI/testing/sysfs-class-power-ltc4162l2
-rw-r--r--Documentation/ABI/testing/sysfs-class-power-mp26292
-rw-r--r--Documentation/ABI/testing/sysfs-class-power-rt94672
-rw-r--r--Documentation/ABI/testing/sysfs-class-power-rt94712
-rw-r--r--Documentation/devicetree/bindings/power/supply/bq27xxx.yaml2
6 files changed, 42 insertions, 7 deletions
diff --git a/Documentation/ABI/testing/sysfs-class-power b/Documentation/ABI/testing/sysfs-class-power
index 5641f1fd5fd6..2cf3f53a652b 100644
--- a/Documentation/ABI/testing/sysfs-class-power
+++ b/Documentation/ABI/testing/sysfs-class-power
@@ -365,9 +365,12 @@ Contact: linux-pm@vger.kernel.org
Description:
Represents a battery percentage level, above which charging will
stop. Not all hardware is capable of setting this to an arbitrary
- percentage. Drivers will round written values to the nearest
- supported value. Reading back the value will show the actual
- threshold set by the driver.
+ value, instead providing different minimum, maximum, or step
+ values. Drivers will round written values to the nearest supported
+ value. Reading back the value will show the actual threshold set
+ by the driver. For hardware that only supports a single fixed
+ value, use charge_types with a value of "Long Life" (vs "Standard")
+ instead'
Access: Read, Write
@@ -398,8 +401,9 @@ Description:
when to start and stop charging. Advanced users
can use this to drastically extend battery life.
Long Life:
- The charger reduces its charging rate in order to
- prolong the battery health.
+ The charger firmware reduces its charging rate and/or
+ maximum charging percentage to a hardware specified
+ fixed limit in order to prolong the battery health.
Bypass:
The charger bypasses the charging path around the
integrated converter allowing for a "smart" wall
@@ -590,6 +594,31 @@ Description:
Valid values: 0 - 100 (percent)
+What: /sys/class/power_supply/<supply_name>/load_switch
+Date: June 2026
+Contact: linux-pm@vger.kernel.org
+Description:
+ Devices can control the connection from power to system load.
+ For example, with a field-effect transistor between a battery
+ and the system load (BATFET). This entry controls such switch.
+ The obvious states are "on" and "off", i.e. there is a
+ connection or not, respectively. However, many devices can also
+ enter special modes such as "low-power", "shipping" or "deep
+ sleep". In these modes the switch is usually off and the
+ quiescent current quite low.
+
+ Access: Read, Write
+
+ Valid values:
+
+ ============= ==================================
+ "Unknown" (0) Unknown mode.
+ "On" (1) Power is connected to the load.
+ "Off" (2) Power is disconnected to the load.
+ "Standby" (3) Low-power mode.
+ "Ship" (4) Ship mode.
+ ============= ==================================
+
**USB Properties**
What: /sys/class/power_supply/<supply_name>/input_current_limit
diff --git a/Documentation/ABI/testing/sysfs-class-power-ltc4162l b/Documentation/ABI/testing/sysfs-class-power-ltc4162l
index ba30db93052b..ad46ad834af0 100644
--- a/Documentation/ABI/testing/sysfs-class-power-ltc4162l
+++ b/Documentation/ABI/testing/sysfs-class-power-ltc4162l
@@ -77,6 +77,8 @@ Description:
The ship mode, when armed, activates once the input voltage
drops below 1V.
+ Note: use /sys/class/power_supply/ltc4162-l/load_switch instead.
+
Access: Read, Write
Valid values: 0 (disable) or 1 (enable)
diff --git a/Documentation/ABI/testing/sysfs-class-power-mp2629 b/Documentation/ABI/testing/sysfs-class-power-mp2629
index 914d67caac0d..a85f926ce9c2 100644
--- a/Documentation/ABI/testing/sysfs-class-power-mp2629
+++ b/Documentation/ABI/testing/sysfs-class-power-mp2629
@@ -1,4 +1,4 @@
-What: /sys/class/power_supply/mp2629_battery/batt_impedance_compen
+What: /sys/class/power_supply/mp2629_battery/batt_impedance_compensation
Date: April 2020
KernelVersion: 5.7
Description:
diff --git a/Documentation/ABI/testing/sysfs-class-power-rt9467 b/Documentation/ABI/testing/sysfs-class-power-rt9467
index 619b7c45d145..bfbfd78ec1c1 100644
--- a/Documentation/ABI/testing/sysfs-class-power-rt9467
+++ b/Documentation/ABI/testing/sysfs-class-power-rt9467
@@ -13,6 +13,8 @@ Description:
'Disable' also can help to leave it, but it's more like to
abort the action before the device really enter shipping mode.
+ Note: use /sys/class/power_supply/rt9467-*/load_switch instead.
+
Access: Read, Write
Valid values:
- 1: enabled
diff --git a/Documentation/ABI/testing/sysfs-class-power-rt9471 b/Documentation/ABI/testing/sysfs-class-power-rt9471
index 0a390ee5ac21..90cf94c1cbf6 100644
--- a/Documentation/ABI/testing/sysfs-class-power-rt9471
+++ b/Documentation/ABI/testing/sysfs-class-power-rt9471
@@ -11,6 +11,8 @@ Description:
mode. 'Disable' also can help to leave it, but it's more like to abort
the action before the device really enter shipping mode.
+ Note: use /sys/class/power_supply/rt9471-*/load_switch instead.
+
Access: Read, Write
Valid values:
- 1: enabled
diff --git a/Documentation/devicetree/bindings/power/supply/bq27xxx.yaml b/Documentation/devicetree/bindings/power/supply/bq27xxx.yaml
index bc05400186cf..79d1a3c8c685 100644
--- a/Documentation/devicetree/bindings/power/supply/bq27xxx.yaml
+++ b/Documentation/devicetree/bindings/power/supply/bq27xxx.yaml
@@ -47,6 +47,7 @@ properties:
- ti,bq27441
- ti,bq27621
- ti,bq27z561
+ - ti,bq27z746
- ti,bq28z610
- ti,bq34z100
- ti,bq78z100
@@ -91,7 +92,6 @@ allOf:
- ti,bq27742
- ti,bq27545
- ti,bq27411
- - ti,bq27z561
- ti,bq28z610
- ti,bq34z100
- ti,bq78z100