Re: [PATCH v2] dt-bindings: iio: dac: mcp47feb02: Fix maxItems value for reg property

Ariana.Lazar
2026-04-21T14:11:42Z

Hello Rob,

> > @@ -161,8 +161,7 @@ patternProperties:
> >      properties:
> >        reg:
> >          description: The channel number.
> > -        minItems: 1
> > -        maxItems: 8
> > +        maxItems: 1
>
> Perhaps there are 8 channels and 'maximum: 8' is what was intended?

Thank you for the review.

Indeed, I mistakenly set maxItems to the maximum number of channels,
rather than to a single entry for the reg property (reg value is
between 0 and max 7 based on the part number).

If preferred, I can also add minimum: 0 and maximum: 7 to specify the
valid range for the channel number.

Best regards,
Ariana