From: Rob Herring <robh@kernel.org>
To: Zev Weiss <zev@bewilderbeest.net>
Cc: devicetree@vger.kernel.org, openbmc@lists.ozlabs.org,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
linux-kernel@vger.kernel.org, Guenter Roeck <linux@roeck-us.net>,
Jean Delvare <jdelvare@suse.com>, Arnd Bergmann <arnd@arndb.de>,
linux-hwmon@vger.kernel.org, Mark Brown <broonie@kernel.org>,
Liam Girdwood <lgirdwood@gmail.com>
Subject: Re: [PATCH 3/4] dt-bindings: Add power-efuse binding
Date: Thu, 17 Feb 2022 16:35:12 -0600 [thread overview]
Message-ID: <Yg7NoLzC7zt2oihV@robh.at.kernel.org> (raw)
In-Reply-To: <20220217104444.7695-4-zev@bewilderbeest.net>
On Thu, Feb 17, 2022 at 02:44:43AM -0800, Zev Weiss wrote:
> 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 | 37 +++++++++++++++++++
> 1 file changed, 37 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..cadce15d2ce7
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/misc/power-efuse.yaml
> @@ -0,0 +1,37 @@
> +# 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
No idea what this is, but I doubt any such generic device exists. This
needs sufficient description to be convincing that it is indeed generic.
> +
> +maintainers:
> + - Zev Weiss <zev@bewilderbeest.net>
> +
> +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.
What are 'error flags'? Not something I've heard with respect to
regulators.
> +
> +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-02-17 22:35 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-17 10:44 [PATCH 0/4] misc: Add power-efuse driver Zev Weiss
2022-02-17 10:44 ` [PATCH 3/4] dt-bindings: Add power-efuse binding Zev Weiss
2022-02-17 16:39 ` Rob Herring
2022-02-17 22:35 ` Rob Herring [this message]
2022-02-18 0:17 ` Zev Weiss
2022-02-17 18:14 ` [PATCH 0/4] misc: Add power-efuse driver Guenter Roeck
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=Yg7NoLzC7zt2oihV@robh.at.kernel.org \
--to=robh@kernel.org \
--cc=arnd@arndb.de \
--cc=broonie@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=gregkh@linuxfoundation.org \
--cc=jdelvare@suse.com \
--cc=lgirdwood@gmail.com \
--cc=linux-hwmon@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@roeck-us.net \
--cc=openbmc@lists.ozlabs.org \
--cc=zev@bewilderbeest.net \
/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;
as well as URLs for NNTP newsgroup(s).