Re: [PATCH v2 1/4] dt-bindings: iio: adc: ad7768-1: add new supported parts

From: Krzysztof Kozlowski
Date: Sun Aug 31 2025 - 09:12:44 EST


On 31/08/2025 05:43, Jonathan Santos wrote:
>>> maxItems: 1
>>> @@ -58,6 +66,18 @@ properties:
>>> description:
>>> ADC reference voltage supply
>>>
>>> + adi,gain-milli:
>>> + description: |
>>> + Specifies the gain applied by the Analog Anti-Aliasing Filter (AAF) to the
>>> + ADC input (in milli units). The hardware gain is determined by which input
>>
>>
>> I don't think there is no such thing as "milli units". milli is SI
>> prefix, not unit. So "units" is the unit? Or how exactly?
>>
>> Basis points were before since 2022 so I don't get why these other
>> bindings introduced in 2024 could not use it?
>>
>> Anyway, if you ever do not apply reviewers comment, then your commit msg
>> should explain this. Otherwise you get the same discussion here.
>>
>
> Yes, you are right. We shouldn't use milli as suffix. However, may I
> suggest another option?
>
> I believe -permille is more appropriate because it represents a 1/1000
> proportion, which gives the precision we need to cover all values.
>
> so it would be something like: adi,aaf-gain-permille
>
> Is that ok for you?
>
> Thanks for the feedback,
> Jonathan S.


What's wrong with existing unit I pointed out before?

BTW, any idea why your reply-to header is completely corrupted (copies
in-reply-to...)?


Best regards,
Krzysztof