From: <cy_huang@richtek.com>
To: Sebastian Reichel <sre@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>
Cc: ob Herring <robh@kernel.org>, Conor Dooley <conor+dt@kernel.org>,
"ChiYuan Huang" <cy_huang@richtek.com>,
<devicetree@vger.kernel.org>, <linux-pm@vger.kernel.org>,
<linux-kernel@vger.kernel.org>
Subject: [PATCH v4 3/3] Documentation: power: rt9756: Document exported sysfs entries
Date: Fri, 31 Oct 2025 15:19:35 +0800 [thread overview]
Message-ID: <5138d4aa760d6ff81a5296cdf010a447056abce4.1761894605.git.cy_huang@richtek.com> (raw)
In-Reply-To: <cover.1761894605.git.cy_huang@richtek.com>
From: ChiYuan Huang <cy_huang@richtek.com>
Document the settings exported by rt9756 charger driver through sysfs
entries:
- watchdog_timer
- operation_mode
Signed-off-by: ChiYuan Huang <cy_huang@richtek.com>
---
V3
- Remove customized description for battery voltage and current
---
.../ABI/testing/sysfs-class-power-rt9756 | 30 +++++++++++++++++++
1 file changed, 30 insertions(+)
create mode 100644 Documentation/ABI/testing/sysfs-class-power-rt9756
diff --git a/Documentation/ABI/testing/sysfs-class-power-rt9756 b/Documentation/ABI/testing/sysfs-class-power-rt9756
new file mode 100644
index 000000000000..c4d6c2b4715d
--- /dev/null
+++ b/Documentation/ABI/testing/sysfs-class-power-rt9756
@@ -0,0 +1,30 @@
+What: /sys/class/power_supply/rt9756-*/watchdog_timer
+Date: Dec 2025
+KernelVersion: 6.19
+Contact: ChiYuan Huang <cy_huang@richtek.com>
+Description:
+ This entry shows and sets the watchdog timer when rt9756 charger
+ operates in charging mode. When the timer expires, the device
+ will disable the charging. To prevent the timer expires, any
+ host communication can make the timer restarted.
+
+ Access: Read, Write
+
+ Valid values:
+ - 500, 1000, 5000, 30000, 40000, 80000, 128000 or 255000 (milliseconds),
+ - 0: disabled
+
+What: /sys/class/power_supply/rt9756-*/operation_mode
+Date: Dec 2025
+KernelVersion: 6.19
+Contact: ChiYuan Huang <cy_huang@richtek.com>
+Description:
+ This entry shows and set the operation mode when rt9756 charger
+ operates in charging phase. If 'bypass' mode is used, internal
+ path will connect vbus directly to vbat. Else, default 'div2'
+ mode for the switch-cap charging.
+
+ Access: Read, Write
+
+ Valid values:
+ - 'bypass' or 'div2'
--
2.34.1
next prev parent reply other threads:[~2025-10-31 7:18 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-10-31 7:19 [PATCH v4 0/3] Add Richtek RT9756 Smart-Cap divider charger cy_huang
2025-10-31 7:19 ` [PATCH v4 1/3] dt-bindings: power: supply: Add Richtek RT9756 smart cap " cy_huang
2025-10-31 7:19 ` [PATCH v4 2/3] power: supply: rt9756: " cy_huang
2025-10-31 7:19 ` cy_huang [this message]
2025-11-03 0:48 ` [PATCH v4 0/3] Add Richtek RT9756 Smart-Cap " Sebastian Reichel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5138d4aa760d6ff81a5296cdf010a447056abce4.1761894605.git.cy_huang@richtek.com \
--to=cy_huang@richtek.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=robh@kernel.org \
--cc=sre@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®