Skip to content

Commit

Permalink
dt-bindings: hwmon: Add the +vs supply to the lm75 bindings
Browse files Browse the repository at this point in the history
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>
Link: https://lore.kernel.org/r/20201001145738.17326-3-alban.bedel@aerq.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
  • Loading branch information
Alban Bedel authored and Guenter Roeck committed Oct 6, 2020
1 parent 3e37c9d commit efc2360
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Documentation/devicetree/bindings/hwmon/lm75.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ properties:
reg:
maxItems: 1

vs-supply:
description: phandle to the regulator that provides the +VS supply

required:
- compatible
- reg
Expand All @@ -58,5 +61,6 @@ examples:
sensor@48 {
compatible = "st,stlm75";
reg = <0x48>;
vs-supply = <&vs>;
};
};

0 comments on commit efc2360

Please sign in to comment.