Skip to contentSkip to conversation

dt-bindings: iio: dac: mcp47feb02: fix reg property value bounds

PATCH Applied Ariana Lazar 3 participants 3 messages Apr 22 – Apr 24

Subsystems (3)
lore
Share & tools
lore

Ariana Lazar

author maintainer
#0 lore raw

PATCH v3 1/1 dt-bindings: iio: dac: mcp47feb02: fix reg property value bounds

Replace minItems/maxItems with minimum/maximum to describe the reg property as a single channel number with 8 possible values (0-7)

---
Changes in v3:
- Replace minItems/maxItems with minimum/maximum reg property value bounds
- Link to v2: https://lore.kernel.org/r/[email protected]

Changes in v2:
- keep just maxItems value update in this patch
- remove Reported-by from commit message
- Link to v1: https://lore.kernel.org/r/[email protected]

---
 Documentation/devicetree/bindings/iio/dac/microchip,mcp47feb02.yaml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Documentation/devicetree/bindings/iio/dac/microchip,mcp47feb02.yaml +2 -2
index d2466aa6bda2106a8b695347a0edf38462294d03..da4897a6fd8d2522ea7fa3cb8c4bfd91520487b7 100644
@@ -161,8 +161,8 @@ patternProperties:
     properties:
       reg:
         description: The channel number.
-        minItems: 1
-        maxItems: 8
+        minimum: 0
+        maximum: 7
 
       label:
         description: Unique name to identify which channel this is.

---
base-commit: d2a4ec19d2a2e54c23b5180e939994d3da4a6b91
change-id: 20260416-mcp47feb02-fix5-26994c5b428c

Best regards,

Signature · 1 line
Ariana Lazar <[email protected]>
Acked-by on v3 1/1
#1 lore raw
Quoted 9 lines · Ariana Lazar

Replace minItems/maxItems with minimum/maximum to describe the reg property as a single channel number with 8 possible values (0-7)

---
Changes in v3:
- Replace minItems/maxItems with minimum/maximum reg property value bounds
- Link to v2: https://lore.kernel.org/r/[email protected]

Quoted 4 lines

Changes in v2:
- keep just maxItems value update in this patch
- remove Reported-by from commit message
- Link to v1: https://lore.kernel.org/r/[email protected]

pw-bot: not-applicable

Quoted 28 lines
---
 Documentation/devicetree/bindings/iio/dac/microchip,mcp47feb02.yaml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Documentation/devicetree/bindings/iio/dac/microchip,mcp47feb02.yaml +2 -3
index d2466aa6bda2106a8b695347a0edf38462294d03..da4897a6fd8d2522ea7fa3cb8c4bfd91520487b7 100644
@@ -161,8 +161,8 @@ patternProperties:
     properties:
       reg:
         description: The channel number.
-        minItems: 1
-        maxItems: 8
+        minimum: 0
+        maximum: 7
 
       label:
         description: Unique name to identify which channel this is.
 
---

base-commit: d2a4ec19d2a2e54c23b5180e939994d3da4a6b91
change-id: 20260416-mcp47feb02-fix5-26994c5b428c

Best regards,

Signature · 1 line
Ariana Lazar <[email protected]>
maintainer Applied
#2 lore raw
Quoted 10 lines · On Wed, 22 Apr 2026 17:55:55 +0100 Conor Dooley <[email protected]> wrote:
Quoted 9 lines · Ariana Lazar

Replace minItems/maxItems with minimum/maximum to describe the reg property as a single channel number with 8 possible values (0-7)

---
Changes in v3:
- Replace minItems/maxItems with minimum/maximum reg property value bounds
- Link to v2: https://lore.kernel.org/r/[email protected]

Quoted 7 lines
Quoted 4 lines

Changes in v2:
- keep just maxItems value update in this patch
- remove Reported-by from commit message
- Link to v1: https://lore.kernel.org/r/[email protected]

pw-bot: not-applicable

Applied. before the space adding patch.