aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorAlban Bedel <alban.bedel@aerq.com>2020-10-01 16:57:37 +0200
committerGuenter Roeck <linux@roeck-us.net>2020-10-06 13:33:10 -0700
commitefc2360b2873abbff0d6b46b6ad610daa8e5d197 (patch)
tree2e688e6d5d834bb0e75e351b75ced2f274d9f464 /Documentation
parentdt-bindings: hwmon: Convert lm75 bindings to yaml (diff)
downloadlinux-dev-efc2360b2873abbff0d6b46b6ad610daa8e5d197.tar.xz
linux-dev-efc2360b2873abbff0d6b46b6ad610daa8e5d197.zip
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')
-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>;
};
};