summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/hwmon
diff options
context:
space:
mode:
authorAlban Bedel <alban.bedel@aerq.com>2020-10-01 17:57:37 +0300
committerGuenter Roeck <linux@roeck-us.net>2020-10-06 23:33:10 +0300
commitefc2360b2873abbff0d6b46b6ad610daa8e5d197 (patch)
tree2e688e6d5d834bb0e75e351b75ced2f274d9f464 /Documentation/devicetree/bindings/hwmon
parent3e37c9d48f7a71b682e98e915eff21ab8624af03 (diff)
downloadlinux-efc2360b2873abbff0d6b46b6ad610daa8e5d197.tar.xz
dt-bindings: hwmon: Add the +vs supply to the lm75 bindings
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>
Diffstat (limited to 'Documentation/devicetree/bindings/hwmon')
-rw-r--r--Documentation/devicetree/bindings/hwmon/lm75.yaml4
1 files changed, 4 insertions, 0 deletions
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>;
};
};