dt-bindings: hwmon: Add the +vs supply to the lm75 bindings
authorAlban Bedel <alban.bedel@aerq.com>
Thu, 1 Oct 2020 14:57:37 +0000 (16:57 +0200)
committerGuenter Roeck <linux@roeck-us.net>
Tue, 6 Oct 2020 20:33:10 +0000 (13:33 -0700)
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>
Documentation/devicetree/bindings/hwmon/lm75.yaml

index c9a0016..96eed5c 100644 (file)
@@ -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>;
       };
     };