Re: [PATCH RFC 2/3] dt-bindings: iio: adc: Add excitation current sources properties

From: David Lechner

Date: Sat Jun 20 2026 - 11:55:20 EST


On 6/19/26 11:44 AM, Kurt Borja wrote:
> On Fri Jun 19, 2026 at 9:27 AM -05, David Lechner wrote:
>> On 6/18/26 7:33 PM, Kurt Borja wrote:
>>> Some ADCs incorporate current sources that provide excitation current to
>>> resistive temperature devices (RTDs), thermistors diodes and other
>>> resistive sensors that require constant current biasing.
>>>
>>> The maxItems constraint of 16 is arbitrary but should be big enough for
>>> most devices.
>>
>> I wouldn't put an arbitrary limit here. The bindings that include it
>> can extend it to add a limit that makes sense instead.
>
> I agree.
>
> This was partly a misunderstanding. I thought -microamp properties fall
> back to uint32 not uint32-array but it's the other way around right?
>
Standard units are uint32-array. Defined in [1].

[1]: https://github.com/devicetree-org/dt-schema/blob/main/dtschema/schemas/property-units.yaml