Skip to content

Commit 4173a5b

Browse files
clamor-sgroeck
authored andcommitted
dt-bindings: hwmon: ina2xx: add supply property
Add vs-supply property. Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com> Acked-by: Rob Herring <robh@kernel.org> Link: https://lore.kernel.org/r/20230407160508.20479-2-clamor95@gmail.com Signed-off-by: Guenter Roeck <linux@roeck-us.net>
1 parent 9e51acc commit 4173a5b

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

Documentation/devicetree/bindings/hwmon/ti,ina2xx.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,10 @@ properties:
5757
$ref: /schemas/types.yaml#/definitions/uint32
5858
enum: [1, 2, 4, 8]
5959

60+
vs-supply:
61+
description: phandle to the regulator that provides the VS supply typically
62+
in range from 2.7 V to 5.5 V.
63+
6064
required:
6165
- compatible
6266
- reg
@@ -73,5 +77,6 @@ examples:
7377
compatible = "ti,ina220";
7478
reg = <0x44>;
7579
shunt-resistor = <1000>;
80+
vs-supply = <&vdd_3v0>;
7681
};
7782
};

0 commit comments

Comments
 (0)