From: ChiaEn Wu <peterwu.pub@gmail.com>
To: sre@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org
Cc: chiaen_wu@richtek.com, cy_huang@richtek.com,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-pm@vger.kernel.org
Subject: [PATCH v2 3/3] Documentation: power: rt9467: Document exported sysfs entries
Date: Wed, 5 Oct 2022 19:37:24 +0800 [thread overview]
Message-ID: <40676e2af49dc8d9bdd9c5f80aef3ad0f5b731db.1664997251.git.chiaen_wu@richtek.com> (raw)
In-Reply-To: <cover.1664997251.git.chiaen_wu@richtek.com>
From: ChiaEn Wu <chiaen_wu@richtek.com>
Document the settings exported by rt9467 charger driver through sysfs
entries:
- sysoff_enable
Signed-off-by: ChiaEn Wu <chiaen_wu@richtek.com>
---
Documentation/ABI/testing/sysfs-class-power-rt9467 | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
create mode 100644 Documentation/ABI/testing/sysfs-class-power-rt9467
diff --git a/Documentation/ABI/testing/sysfs-class-power-rt9467 b/Documentation/ABI/testing/sysfs-class-power-rt9467
new file mode 100644
index 0000000..dd0b962
--- /dev/null
+++ b/Documentation/ABI/testing/sysfs-class-power-rt9467
@@ -0,0 +1,19 @@
+What: /sys/class/power_supply/rt9467-*/sysoff_enable
+Date: Oct 2022
+KernelVersion: 6.0
+Contact: ChiaEn Wu <chiaen_wu@richtek.com>
+Description:
+ This entry allows enabling the sysoff mode of rt9467 charger
+ devices.
+ If enabled and the input is removed, the internal battery FET
+ is turned off to reduce the leakage from the BAT pin. See
+ device datasheet for details. It's commonly used when the
+ product enter shipping stage. After entering shipping mode,
+ only 'VBUS' or 'Power key" pressed can make it leave this mode.
+ 'Disable' also can help to leave it, but it's more like to
+ abort the action before the device really enter shipping mode.
+
+ Access: Read, Write
+ Valid values:
+ - 1: enabled
+ - 0: disabled
--
2.7.4
prev parent reply other threads:[~2022-10-05 11:44 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-05 11:37 [PATCH v2 0/3] Add Richtek RT9467 5A Battery Charger support ChiaEn Wu
2022-10-05 11:37 ` [PATCH v2 1/3] dt-bindings: power: supply: Add Richtek RT9467 battery charger ChiaEn Wu
2022-10-05 14:51 ` Krzysztof Kozlowski
2022-10-05 11:37 ` [PATCH v2 2/3] power: supply: rt9467: Add Richtek RT9467 charger driver ChiaEn Wu
2022-10-05 11:37 ` ChiaEn Wu [this message]
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=40676e2af49dc8d9bdd9c5f80aef3ad0f5b731db.1664997251.git.chiaen_wu@richtek.com \
--to=peterwu.pub@gmail.com \
--cc=chiaen_wu@richtek.com \
--cc=cy_huang@richtek.com \
--cc=devicetree@vger.kernel.org \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=robh+dt@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®