[PATCH v2 1/2] dt-bindings: hwmon: pmbus: ti,lm25066: add current limit properties
From: Potin Lai
Date: Sun Jun 14 2026 - 23:10:12 EST
Add a 'ti,current-limit' string property to configure the device's Current
Limit (CL) behavior to "high" or "low".
LM25056 does not support setting the current limit via software, so
disallow this property for it.
Signed-off-by: Potin Lai <potin.lai.pt@xxxxxxxxx>
---
.../devicetree/bindings/hwmon/pmbus/ti,lm25066.yaml | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/Documentation/devicetree/bindings/hwmon/pmbus/ti,lm25066.yaml b/Documentation/devicetree/bindings/hwmon/pmbus/ti,lm25066.yaml
index a20f140dc79a..53ee98e871ff 100644
--- a/Documentation/devicetree/bindings/hwmon/pmbus/ti,lm25066.yaml
+++ b/Documentation/devicetree/bindings/hwmon/pmbus/ti,lm25066.yaml
@@ -46,12 +46,30 @@ properties:
additionalProperties: false
+ ti,current-limit:
+ description: |
+ Configure the current limit setting. When present, this property
+ overrides the hardware setting of the physical CL pin by configuring
+ the register.
+ $ref: /schemas/types.yaml#/definitions/string
+ enum:
+ - low
+ - high
+
required:
- compatible
- reg
allOf:
- $ref: /schemas/hwmon/hwmon-common.yaml#
+ - if:
+ properties:
+ compatible:
+ contains:
+ const: ti,lm25056
+ then:
+ properties:
+ ti,current-limit: false
unevaluatedProperties: false
--
2.52.0