From: Zev Weiss <zev@bewilderbeest.net>
To: Rob Herring <robh+dt@kernel.org>, devicetree@vger.kernel.org
Cc: Zev Weiss <zev@bewilderbeest.net>,
openbmc@lists.ozlabs.org,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
linux-kernel@vger.kernel.org, Arnd Bergmann <arnd@arndb.de>,
Mark Brown <broonie@kernel.org>,
Liam Girdwood <lgirdwood@gmail.com>
Subject: [PATCH v2 1/2] dt-bindings: Add power-efuse binding
Date: Mon, 7 Mar 2022 17:18:09 -0800 [thread overview]
Message-ID: <20220308011811.10353-2-zev@bewilderbeest.net> (raw)
In-Reply-To: <20220308011811.10353-1-zev@bewilderbeest.net>
This can be used to describe a power output supplied by a regulator
device that the system controls.
Signed-off-by: Zev Weiss <zev@bewilderbeest.net>
---
.../devicetree/bindings/misc/power-efuse.yaml | 49 +++++++++++++++++++
1 file changed, 49 insertions(+)
create mode 100644 Documentation/devicetree/bindings/misc/power-efuse.yaml
diff --git a/Documentation/devicetree/bindings/misc/power-efuse.yaml b/Documentation/devicetree/bindings/misc/power-efuse.yaml
new file mode 100644
index 000000000000..5f8f0b21af0e
--- /dev/null
+++ b/Documentation/devicetree/bindings/misc/power-efuse.yaml
@@ -0,0 +1,49 @@
+# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/misc/power-efuse.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Generic power efuse device
+
+maintainers:
+ - Zev Weiss <zev@bewilderbeest.net>
+
+description: |
+ This binding describes a physical power output supplied by a
+ regulator providing efuse functionality (manual on/off control, and
+ auto-shutoff if current, voltage, or thermal limits are exceeded).
+
+ These may be found on systems such as "smart" network PDUs, and
+ typically supply power to devices entirely separate from the system
+ described by the device-tree by way of an external connector such as
+ an Open19 power cable:
+
+ https://www.open19.org/marketplace/coolpower-cable-assembly-8ru/
+
+properties:
+ compatible:
+ const: power-efuse
+
+ vout-supply:
+ description:
+ phandle to the regulator providing power for the efuse
+
+ error-flags-cache-ttl-ms:
+ description:
+ The number of milliseconds the vout-supply regulator's error
+ flags should be cached before re-fetching them.
+
+required:
+ - compatible
+ - vout-supply
+
+additionalProperties: false
+
+examples:
+ - |
+ efuse {
+ compatible = "power-efuse";
+ vout-supply = <&efuse_reg>;
+ error-flags-cache-ttl-ms = <500>;
+ };
--
2.35.1
next prev parent reply other threads:[~2022-03-08 1:18 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-08 1:18 [PATCH v2 0/2] misc: Add power-efuse driver Zev Weiss
2022-03-08 1:18 ` Zev Weiss [this message]
2022-03-11 15:24 ` [PATCH v2 1/2] dt-bindings: Add power-efuse binding Rob Herring
2022-03-11 21:48 ` Zev Weiss
2022-03-12 0:08 ` Rob Herring
2022-03-12 0:39 ` Zev Weiss
2022-03-08 1:18 ` [PATCH v2 2/2] misc: Add power-efuse driver Zev Weiss
2022-03-08 7:06 ` Greg Kroah-Hartman
2022-03-08 7:45 ` Zev Weiss
2022-03-08 7:07 ` Greg Kroah-Hartman
2022-03-08 8:23 ` Zev Weiss
2022-04-11 22:09 ` Zev Weiss
2022-04-12 4:53 ` Greg Kroah-Hartman
2022-04-13 9:03 ` Zev Weiss
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=20220308011811.10353-2-zev@bewilderbeest.net \
--to=zev@bewilderbeest.net \
--cc=arnd@arndb.de \
--cc=broonie@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=gregkh@linuxfoundation.org \
--cc=lgirdwood@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=openbmc@lists.ozlabs.org \
--cc=robh+dt@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®