summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/hwmon
diff options
context:
space:
mode:
authorConor Dooley <conor.dooley@microchip.com>2024-02-23 19:21:05 +0300
committerGuenter Roeck <linux@roeck-us.net>2024-02-25 23:37:46 +0300
commitf1ed8af54bba07c81af97a4c999686d2ccafbfb3 (patch)
treeb46178a683ee3b6a41bfa769623bdab9f03006ff /Documentation/devicetree/bindings/hwmon
parent22d409ead1f4f388e368812731f2f8b8892ed615 (diff)
downloadlinux-f1ed8af54bba07c81af97a4c999686d2ccafbfb3.tar.xz
dt-bindings: hwmon/pmbus: ti,lm25066: document regulators
All devices documented in the lm25066 binding are intended for use with a regulator, be that for purely monitoring purposes (lm25056) or, for the other devices, as the controller of that regulator. The binding does not currently allow regulator child nodes, so add one. Each of these devices interacts with only a single regulator and documentation refers to it as "Vout", hence the choice of child node name. Acked-by: Zev Weiss <zev@bewilderbeest.net> Signed-off-by: Conor Dooley <conor.dooley@microchip.com> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://lore.kernel.org/r/20240223-tingling-mutt-dd55dd87ff5e@spud Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'Documentation/devicetree/bindings/hwmon')
-rw-r--r--Documentation/devicetree/bindings/hwmon/pmbus/ti,lm25066.yaml12
1 files changed, 12 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/hwmon/pmbus/ti,lm25066.yaml b/Documentation/devicetree/bindings/hwmon/pmbus/ti,lm25066.yaml
index da8292bc32f5..4373e9c86e54 100644
--- a/Documentation/devicetree/bindings/hwmon/pmbus/ti,lm25066.yaml
+++ b/Documentation/devicetree/bindings/hwmon/pmbus/ti,lm25066.yaml
@@ -34,6 +34,18 @@ properties:
Shunt (sense) resistor value in micro-Ohms
default: 1000
+ regulators:
+ type: object
+
+ properties:
+ vout:
+ $ref: /schemas/regulator/regulator.yaml#
+ type: object
+
+ unevaluatedProperties: false
+
+ additionalProperties: false
+
required:
- compatible
- reg