[PATCH v2 4/5] dt-bindings: iio: dac: adi,ad5758: Fix the 4 mA to 20 mA current range
From: Arka Mondal
Date: Tue Oct 06 2026 - 11:41:58 EST
adi,range-microamp gives the 4 mA to 20 mA range as <4 24000>. The
values are in microamps, so this reads as 4 uA to 24 mA. The original
text binding described <4 24000> as the "4 mA to 20 mA current range",
and the data sheet (Rev. B, Table 32) confirms range code 1010 is
4 mA to 20 mA.
Replace it with <4000 20000>. No in-tree device tree uses this binding,
so nothing in the tree changes. A device tree that still has the old
value no longer validates.
Fixes: 777baca07ef1 ("dt-bindings: iio: dac: Add docs for AD5758 DAC")
Signed-off-by: Arka Mondal <arka@xxxxxxxxxxxxxx>
Reviewed-by: Nuno Sá <nuno.sa@xxxxxxxxxx>
---
Notes:
Checked with make dt_binding_check; no relevant hardware available.
Documentation/devicetree/bindings/iio/dac/adi,ad5758.yaml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Documentation/devicetree/bindings/iio/dac/adi,ad5758.yaml b/Documentation/devicetree/bindings/iio/dac/adi,ad5758.yaml
index 5121685337b5..a0f2649129e0 100644
--- a/Documentation/devicetree/bindings/iio/dac/adi,ad5758.yaml
+++ b/Documentation/devicetree/bindings/iio/dac/adi,ad5758.yaml
@@ -66,8 +66,8 @@ properties:
- const: 0
- enum: [20000, 24000]
- items:
- - const: 4
- - const: 24000
+ - const: 4000
+ - const: 20000
- items:
- const: -20000
- const: 20000
--
2.55.0