From: Alban Bedel <alban.bedel@aerq.com>
To: linux-hwmon@vger.kernel.org
Cc: Jean Delvare <jdelvare@suse.com>,
Guenter Roeck <linux@roeck-us.net>,
Rob Herring <robh+dt@kernel.org>,
Liam Girdwood <lgirdwood@gmail.com>,
Mark Brown <broonie@kernel.org>,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
Alban Bedel <alban.bedel@aerq.com>, Rob Herring <robh@kernel.org>
Subject: [PATCH v4 2/3] dt-bindings: hwmon: Add the +vs supply to the lm75 bindings
Date: Thu, 1 Oct 2020 16:57:37 +0200 [thread overview]
Message-ID: <20201001145738.17326-3-alban.bedel@aerq.com> (raw)
In-Reply-To: <20201001145738.17326-1-alban.bedel@aerq.com>
Some boards might have a regulator that control the +VS supply, add it
to the bindings.
Signed-off-by: Alban Bedel <alban.bedel@aerq.com>
Acked-by: Rob Herring <robh@kernel.org>
---
v2: Removed the unneeded `maxItems` attribute
---
Documentation/devicetree/bindings/hwmon/lm75.yaml | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/Documentation/devicetree/bindings/hwmon/lm75.yaml b/Documentation/devicetree/bindings/hwmon/lm75.yaml
index c9a001627945..96eed5cc7841 100644
--- a/Documentation/devicetree/bindings/hwmon/lm75.yaml
+++ b/Documentation/devicetree/bindings/hwmon/lm75.yaml
@@ -43,6 +43,9 @@ properties:
reg:
maxItems: 1
+ vs-supply:
+ description: phandle to the regulator that provides the +VS supply
+
required:
- compatible
- reg
@@ -58,5 +61,6 @@ examples:
sensor@48 {
compatible = "st,stlm75";
reg = <0x48>;
+ vs-supply = <&vs>;
};
};
--
2.25.1
next prev parent reply other threads:[~2020-10-01 14:58 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-01 14:57 [PATCH v4 0/3] hwmon: (lm75) Add regulator support Alban Bedel
2020-10-01 14:57 ` [PATCH v4 1/3] dt-bindings: hwmon: Convert lm75 bindings to yaml Alban Bedel
2020-10-06 20:26 ` Rob Herring
2020-10-06 20:33 ` Guenter Roeck
2020-10-01 14:57 ` Alban Bedel [this message]
2020-10-01 18:08 ` [PATCH v4 2/3] dt-bindings: hwmon: Add the +vs supply to the lm75 bindings Guenter Roeck
2020-10-05 14:38 ` Rob Herring
2020-10-06 20:33 ` Guenter Roeck
2020-10-01 14:57 ` [PATCH v4 3/3] hwmon: (lm75) Add regulator support Alban Bedel
2020-10-01 18:13 ` 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=20201001145738.17326-3-alban.bedel@aerq.com \
--to=alban.bedel@aerq.com \
--cc=broonie@kernel.org \
--cc=devicetree@vger.kernel.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=robh+dt@kernel.org \
--cc=robh@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;
as well as URLs for NNTP newsgroup(s).