| 1 |
What: /sys/class/power_supply/rt9471-*/sysoff_enable |
| 2 |
Date: Feb 2023 |
| 3 |
KernelVersion: 6.3 |
| 4 |
Contact: ChiYuan Huang <[email protected]> |
| 5 |
Description: |
| 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 |
|
| 19 |
What: /sys/class/power_supply/rt9471-*/port_detect_enable |
| 20 |
Date: Feb 2023 |
| 21 |
KernelVersion: 6.3 |
| 22 |
Contact: ChiYuan Huang <[email protected]> |
| 23 |
Description: |
| 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 |