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