33 lines · plain
1What: /sys/class/power_supply/rt9471-*/sysoff_enable2Date: Feb 20233KernelVersion: 6.34Contact: 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 turned8 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 entering10 shipping mode, only 'VBUS' or 'Power key" pressed can make it leave this11 mode. 'Disable' also can help to leave it, but it's more like to abort12 the action before the device really enter shipping mode.13 14 Access: Read, Write15 Valid values:16 - 1: enabled17 - 0: disabled18 19What: /sys/class/power_supply/rt9471-*/port_detect_enable20Date: Feb 202321KernelVersion: 6.322Contact: ChiYuan Huang <cy_huang@richtek.com>23Description:24 This entry allows enabling the USB BC12 port detect function of rt9471 charger25 devices. If enabled and VBUS is inserted, device will start to do the BC1226 port detect and report the usb port type when port detect is done. See27 datasheet for details. Normally controlled when TypeC/USBPD port integrated.28 29 Access: Read, Write30 Valid values:31 - 1: enabled32 - 0: disabled33