162306a36Sopenharmony_ciWhat: /sys/class/power_supply/rt9471-*/sysoff_enable 262306a36Sopenharmony_ciDate: Feb 2023 362306a36Sopenharmony_ciKernelVersion: 6.3 462306a36Sopenharmony_ciContact: ChiYuan Huang <cy_huang@richtek.com> 562306a36Sopenharmony_ciDescription: 662306a36Sopenharmony_ci This entry allows enabling the sysoff mode of rt9471 charger devices. 762306a36Sopenharmony_ci If enabled and the input is removed, the internal battery FET is turned 862306a36Sopenharmony_ci off to reduce the leakage from the BAT pin. See device datasheet for details. 962306a36Sopenharmony_ci It's commonly used when the product enter shipping stage. After entering 1062306a36Sopenharmony_ci shipping mode, only 'VBUS' or 'Power key" pressed can make it leave this 1162306a36Sopenharmony_ci mode. 'Disable' also can help to leave it, but it's more like to abort 1262306a36Sopenharmony_ci the action before the device really enter shipping mode. 1362306a36Sopenharmony_ci 1462306a36Sopenharmony_ci Access: Read, Write 1562306a36Sopenharmony_ci Valid values: 1662306a36Sopenharmony_ci - 1: enabled 1762306a36Sopenharmony_ci - 0: disabled 1862306a36Sopenharmony_ci 1962306a36Sopenharmony_ciWhat: /sys/class/power_supply/rt9471-*/port_detect_enable 2062306a36Sopenharmony_ciDate: Feb 2023 2162306a36Sopenharmony_ciKernelVersion: 6.3 2262306a36Sopenharmony_ciContact: ChiYuan Huang <cy_huang@richtek.com> 2362306a36Sopenharmony_ciDescription: 2462306a36Sopenharmony_ci This entry allows enabling the USB BC12 port detect function of rt9471 charger 2562306a36Sopenharmony_ci devices. If enabled and VBUS is inserted, device will start to do the BC12 2662306a36Sopenharmony_ci port detect and report the usb port type when port detect is done. See 2762306a36Sopenharmony_ci datasheet for details. Normally controlled when TypeC/USBPD port integrated. 2862306a36Sopenharmony_ci 2962306a36Sopenharmony_ci Access: Read, Write 3062306a36Sopenharmony_ci Valid values: 3162306a36Sopenharmony_ci - 1: enabled 3262306a36Sopenharmony_ci - 0: disabled 33