xref: /linux/Documentation/ABI/testing/sysfs-class-power-rt9471 (revision a1eccc574f977bd21a4ec8ac54bd73a2756bd281)
1What:		/sys/class/power_supply/rt9471-*/sysoff_enable
2Date:		Feb 2023
3KernelVersion:	6.3
4Contact:	ChiYuan Huang <cy_huang@richtek.com>
5Description:
6		This entry allows enabling the sysoff mode of rt9471 charger devices.
7		If enabled and the input is removed, the internal battery FET is turned
8		off to reduce the leakage from the BAT pin. See device datasheet for details.
9		It's commonly used when the product enter shipping stage. After entering
10		shipping mode, only 'VBUS' or 'Power key" pressed can make it leave this
11		mode. 'Disable' also can help to leave it, but it's more like to abort
12		the action before the device really enter shipping mode.
13
14		Access: Read, Write
15		Valid values:
16		- 1: enabled
17		- 0: disabled
18
19What:		/sys/class/power_supply/rt9471-*/port_detect_enable
20Date:		Feb 2023
21KernelVersion:	6.3
22Contact:	ChiYuan Huang <cy_huang@richtek.com>
23Description:
24		This entry allows enabling the USB BC12 port detect function of rt9471 charger
25		devices. If enabled and VBUS is inserted, device will start to do the BC12
26		port detect and report the usb port type when port detect is done. See
27		datasheet for details. Normally controlled when TypeC/USBPD port integrated.
28
29		Access: Read, Write
30		Valid values:
31		- 1: enabled
32		- 0: disabled
33