Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Documentation: power: rt9467: Document exported sysfs entries

Document the settings exported by rt9467 charger driver through sysfs
entries:
- sysoff_enable

Signed-off-by: ChiaEn Wu <chiaen_wu@richtek.com>
[update kernel version and date]
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>

authored by

ChiaEn Wu and committed by
Sebastian Reichel
eedb9232 6f7f70e3

+19
+19
Documentation/ABI/testing/sysfs-class-power-rt9467
··· 1 + What: /sys/class/power_supply/rt9467-*/sysoff_enable 2 + Date: Feb 2023 3 + KernelVersion: 6.3 4 + Contact: ChiaEn Wu <chiaen_wu@richtek.com> 5 + Description: 6 + This entry allows enabling the sysoff mode of rt9467 charger 7 + devices. 8 + If enabled and the input is removed, the internal battery FET 9 + is turned off to reduce the leakage from the BAT pin. See 10 + device datasheet for details. It's commonly used when the 11 + product enter shipping stage. After entering shipping mode, 12 + only 'VBUS' or 'Power key" pressed can make it leave this mode. 13 + 'Disable' also can help to leave it, but it's more like to 14 + abort the action before the device really enter shipping mode. 15 + 16 + Access: Read, Write 17 + Valid values: 18 + - 1: enabled 19 + - 0: disabled