[PATCH v1 1/2] dt-bindings: hwmon: ina2xx: add supply property

From: Svyatoslav Ryhel
Date: Wed Mar 08 2023 - 04:40:58 EST


Add supply property.

Signed-off-by: Svyatoslav Ryhel <clamor95@xxxxxxxxx>
---
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