Re: [PATCH 1/3] dt-bindings: net: dp83826: add ti,cfg-dac-minus binding

From: POPESCU Catalin
Date: Fri Jan 12 2024 - 05:56:38 EST


On 11.01.24 17:47, Andrew Lunn wrote:
> This email is not from Hexagon’s Office 365 instance. Please be careful while clicking links, opening attachments, or replying to this email.
>
>
>> These are not raw register values and these are not voltage values but
>> voltage ratios. I'm mapping the voltage ratios to enum values [0-16]
>> which are converted to register raw values by the driver. I don't see a
>> better way to do this.
> I assume 802.3 states what the actual voltage should be? So you can
> calculate what 50% of that is?
>
> Andrew
The actual voltage depends on the mode (I know that for 100BASE-TX and
MLT-3 it's +/-1V) : it makes no sense to try to code the actual voltage,
we need to keep voltage ratio here.