Skip to content

Commit 1cda377

Browse files
ChiYuan Huangsre
authored andcommitted
Documentation: power: rt9756: Document exported sysfs entries
Document the settings exported by rt9756 charger driver through sysfs entries: - watchdog_timer - operation_mode Signed-off-by: ChiYuan Huang <cy_huang@richtek.com> Link: https://patch.msgid.link/5138d4aa760d6ff81a5296cdf010a447056abce4.1761894605.git.cy_huang@richtek.com Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
1 parent b6f0796 commit 1cda377

1 file changed

Lines changed: 30 additions & 0 deletions

File tree

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
What: /sys/class/power_supply/rt9756-*/watchdog_timer
2+
Date: Dec 2025
3+
KernelVersion: 6.19
4+
Contact: ChiYuan Huang <cy_huang@richtek.com>
5+
Description:
6+
This entry shows and sets the watchdog timer when rt9756 charger
7+
operates in charging mode. When the timer expires, the device
8+
will disable the charging. To prevent the timer expires, any
9+
host communication can make the timer restarted.
10+
11+
Access: Read, Write
12+
13+
Valid values:
14+
- 500, 1000, 5000, 30000, 40000, 80000, 128000 or 255000 (milliseconds),
15+
- 0: disabled
16+
17+
What: /sys/class/power_supply/rt9756-*/operation_mode
18+
Date: Dec 2025
19+
KernelVersion: 6.19
20+
Contact: ChiYuan Huang <cy_huang@richtek.com>
21+
Description:
22+
This entry shows and set the operation mode when rt9756 charger
23+
operates in charging phase. If 'bypass' mode is used, internal
24+
path will connect vbus directly to vbat. Else, default 'div2'
25+
mode for the switch-cap charging.
26+
27+
Access: Read, Write
28+
29+
Valid values:
30+
- 'bypass' or 'div2'

0 commit comments

Comments
 (0)