]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
dt-bindings: hwmon: ti,tmp102: document optional V+ supply property
authorPeter Korsgaard <peter@korsgaard.com>
Thu, 17 Apr 2025 18:04:25 +0000 (20:04 +0200)
committerGuenter Roeck <linux@roeck-us.net>
Wed, 23 Apr 2025 14:18:33 +0000 (07:18 -0700)
TMP102 is powered by its V+ supply, document it. The property is called
"vcc-supply" since the plus sign (+) is not a valid property character.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://lore.kernel.org/r/20250417180426.3872314-1-peter@korsgaard.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Documentation/devicetree/bindings/hwmon/ti,tmp102.yaml

index 7e5b62a0215dd4df7be82f6598f37f0475dfa939..4c89448eba0dc0a7cc7dc3764231fcb524651b4c 100644 (file)
@@ -23,6 +23,9 @@ properties:
   "#thermal-sensor-cells":
     const: 1
 
+  vcc-supply:
+    description: Power supply for tmp102
+
 required:
   - compatible
   - reg
@@ -42,6 +45,7 @@ examples:
             reg = <0x48>;
             interrupt-parent = <&gpio7>;
             interrupts = <16 IRQ_TYPE_LEVEL_LOW>;
+            vcc-supply = <&supply>;
             #thermal-sensor-cells = <1>;
         };
     };