public inbox for devicetree@vger.kernel.org
 help / color / mirror / Atom feed
From: Svyatoslav Ryhel <clamor95@gmail.com>
To: Guenter Roeck <linux@roeck-us.net>,
	Jean Delvare <jdelvare@suse.com>,
	Rob Herring <robh+dt@kernel.org>,
	Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
	Liam Girdwood <lgirdwood@gmail.com>,
	Mark Brown <broonie@kernel.org>
Cc: linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: [PATCH v1 1/2] dt-bindings: hwmon: ina2xx: add supply property
Date: Wed,  8 Mar 2023 11:40:23 +0200	[thread overview]
Message-ID: <20230308094024.14115-2-clamor95@gmail.com> (raw)
In-Reply-To: <20230308094024.14115-1-clamor95@gmail.com>

Add supply property.

Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
---
 Documentation/devicetree/bindings/hwmon/ti,ina2xx.yaml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/Documentation/devicetree/bindings/hwmon/ti,ina2xx.yaml b/Documentation/devicetree/bindings/hwmon/ti,ina2xx.yaml
index 47af97bb4ced..0f494131fa05 100644
--- a/Documentation/devicetree/bindings/hwmon/ti,ina2xx.yaml
+++ b/Documentation/devicetree/bindings/hwmon/ti,ina2xx.yaml
@@ -57,6 +57,8 @@ properties:
     $ref: /schemas/types.yaml#/definitions/uint32
     enum: [1, 2, 4, 8]
 
+  vdd-supply: true
+
 required:
   - compatible
   - reg
@@ -73,5 +75,7 @@ examples:
             compatible = "ti,ina220";
             reg = <0x44>;
             shunt-resistor = <1000>;
+
+            vdd-supply = <&vdd_3v0_sen>;
         };
     };
-- 
2.37.2


  reply	other threads:[~2023-03-08  9:40 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-08  9:40 [PATCH v1 0/2] Add optional power supply for INA2XX Svyatoslav Ryhel
2023-03-08  9:40 ` Svyatoslav Ryhel [this message]
2023-03-08 10:27   ` [PATCH v1 1/2] dt-bindings: hwmon: ina2xx: add supply property Krzysztof Kozlowski
2023-03-08 10:32     ` Svyatoslav Ryhel
2023-03-08 10:36       ` Krzysztof Kozlowski
2023-03-08 11:35       ` Guenter Roeck
2023-03-08 11:54         ` Svyatoslav Ryhel
2023-03-08 12:54   ` Mark Brown
2023-03-08 12:58     ` Svyatoslav Ryhel
2023-03-08 13:13       ` Krzysztof Kozlowski
2023-03-08 13:46       ` Mark Brown
2023-03-08 14:01         ` Svyatoslav Ryhel
2023-03-08 14:37           ` Krzysztof Kozlowski
2023-03-08 14:38           ` Mark Brown
2023-03-08  9:40 ` [PATCH v1 2/2] hwmon: ina2xx: add optional regulator support Svyatoslav Ryhel
2023-03-08 10:25   ` Krzysztof Kozlowski
2023-03-08 10:35     ` Svyatoslav Ryhel
2023-03-08 10:37       ` Krzysztof Kozlowski
2023-03-08 11:13       ` Guenter Roeck
2023-03-08 11:19         ` Svyatoslav Ryhel
2023-03-08 11:32           ` Lars-Peter Clausen

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=20230308094024.14115-2-clamor95@gmail.com \
    --to=clamor95@gmail.com \
    --cc=broonie@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=jdelvare@suse.com \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --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 \
    /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