All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Kurt Borja" <kuurtb@gmail.com>
To: "David Lechner" <dlechner@baylibre.com>,
	"Kurt Borja" <kuurtb@gmail.com>,
	"Jonathan Cameron" <jic23@kernel.org>,
	"Rob Herring" <robh@kernel.org>,
	"Krzysztof Kozlowski" <krzk+dt@kernel.org>,
	"Conor Dooley" <conor+dt@kernel.org>
Cc: "Nuno Sá" <nuno.sa@analog.com>,
	"Andy Shevchenko" <andy@kernel.org>,
	linux-iio@vger.kernel.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH RFC 2/3] dt-bindings: iio: adc: Add excitation current sources properties
Date: Fri, 19 Jun 2026 11:44:47 -0500	[thread overview]
Message-ID: <DJD6EB7J90AR.20Z61X02BHAZT@gmail.com> (raw)
In-Reply-To: <073b0a89-65af-4a21-837d-851d35e3e294@baylibre.com>

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?

>
>> 
>> Signed-off-by: Kurt Borja <kuurtb@gmail.com>
>> ---
>>  Documentation/devicetree/bindings/iio/adc/adc.yaml | 23 ++++++++++++++++++++++
>>  1 file changed, 23 insertions(+)
>> 
>> diff --git a/Documentation/devicetree/bindings/iio/adc/adc.yaml b/Documentation/devicetree/bindings/iio/adc/adc.yaml
>> index c74c2084fdb68c..106b1e317411d5 100644
>> --- a/Documentation/devicetree/bindings/iio/adc/adc.yaml
>> +++ b/Documentation/devicetree/bindings/iio/adc/adc.yaml
>> @@ -83,6 +83,29 @@ properties:
>>        This array describes either a single reference source or a positive and
>>        negative reference sources.
>>  
>> +  excitation-channels:
>> +    $ref: /schemas/types.yaml#/definitions/uint32-array
>> +    maxItems: 16
>> +    minItems: 1
>> +    description:
>> +      Excitation current sources provide current to resistive temperature
>> +      devices (RTDs), thermistors diodes and other resistive sensors that
>> +      require constant current biasing.
>> +
>> +      This array describes the mux configuration of the excitation current
>> +      sources.
>> +
>> +  excitation-current-microamp:
>> +    maxItems: 16
>> +    minItems: 1
>> +    description:
>> +      Excitation current sources provide current to resistive temperature
>> +      devices (RTDs), thermistors diodes and other resistive sensors that
>> +      require constant current biasing.
>> +
>> +      This array describes the current configuration of the excitation current
>> +      sources or the single matched current for all sources.
>> +
>>  anyOf:
>>    - oneOf:
>>        - required:
>> 

-- 
Thanks,
 ~ Kurt

  reply	other threads:[~2026-06-19 16:44 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-06-19  0:33 [PATCH RFC 0/3] dt-bindings: iio: adc: Add reference, excitation and burn-out properties Kurt Borja
2026-06-19  0:33 ` [PATCH RFC 1/3] dt-bindings: iio: adc: Add reference-source property Kurt Borja
2026-06-19  0:40   ` sashiko-bot
2026-06-19 14:14   ` Conor Dooley
2026-06-19 16:30     ` Kurt Borja
2026-06-19 14:24   ` David Lechner
2026-06-19 16:42     ` Kurt Borja
2026-06-19  0:33 ` [PATCH RFC 2/3] dt-bindings: iio: adc: Add excitation current sources properties Kurt Borja
2026-06-19 14:27   ` David Lechner
2026-06-19 16:44     ` Kurt Borja [this message]
2026-06-20 15:55       ` David Lechner
2026-06-19  0:33 ` [PATCH RFC 3/3] dt-bindings: iio: adc: Add burn-out current properties Kurt Borja
2026-06-19  0:45   ` sashiko-bot
2026-06-19 14:28   ` David Lechner
2026-06-19 16:46     ` Kurt Borja
2026-06-20 15:57       ` David Lechner
2026-06-19 14:23 ` [PATCH RFC 0/3] dt-bindings: iio: adc: Add reference, excitation and burn-out properties David Lechner
2026-06-19 16:35   ` Kurt Borja

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=DJD6EB7J90AR.20Z61X02BHAZT@gmail.com \
    --to=kuurtb@gmail.com \
    --cc=andy@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=dlechner@baylibre.com \
    --cc=jic23@kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=linux-iio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nuno.sa@analog.com \
    --cc=robh@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.