lkml.org 
[lkml]   [2024]   [May]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH v7 5/6] dt-bindings: iio: adc: ad7192: Add AD7194 support
From
On 30.04.2024 20:21, Conor Dooley wrote:
> On Tue, Apr 30, 2024 at 07:29:45PM +0300, Alisa-Dariana Roman wrote:
>> + diff-channels:
>> + description:
>> + Both inputs can be connected to pins AIN1 to AIN16 by choosing the
>> + appropriate value from 1 to 16.
>> + items:
>> + minimum: 1
>> + maximum: 16
>> +
>> + single-channel:
>> + description:
>> + Positive input can be connected to pins AIN1 to AIN16 by choosing the
>> + appropriate value from 1 to 16. Negative input is connected to AINCOM.
>> + items:
>> + minimum: 1
>> + maximum: 16
>
> Up to 16 differential channels and 16 single-ended channels, but only 16
> pins? Would the number of differential channels not max out at 8?

Hello, Conor! I really appreciate the feedback!

The way I thought about it, the only thing constraining the number of
channels is the reg number (minimum: 0, maximum: 271). 272 channels
cover all possible combinations (16*16 differential and 16 single ended)
and I thought there is no need for anything stricter. I added items:
minimum:1 maximum:16 to make sure the numbers are from 1 to 16,
corresponding to AIN1-AIN16.

Please let me know what should be improved!

Kind regards,
Alisa-Dariana Roman.


\
 
 \ /
  Last update: 2024-05-27 18:23    [W:0.066 / U:1.408 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site