From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
To: POPESCU Catalin <catalin.popescu@leica-geosystems.com>,
"davem@davemloft.net" <davem@davemloft.net>,
"kuba@kernel.org" <kuba@kernel.org>,
"pabeni@redhat.com" <pabeni@redhat.com>,
"robh+dt@kernel.org" <robh+dt@kernel.org>,
"krzysztof.kozlowski+dt@linaro.org"
<krzysztof.kozlowski+dt@linaro.org>,
"conor+dt@kernel.org" <conor+dt@kernel.org>,
"afd@ti.com" <afd@ti.com>, "andrew@lunn.ch" <andrew@lunn.ch>,
"hkallweit1@gmail.com" <hkallweit1@gmail.com>,
"linux@armlinux.org.uk" <linux@armlinux.org.uk>
Cc: "netdev@vger.kernel.org" <netdev@vger.kernel.org>,
"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
GEO-CHHER-bsp-development
<bsp-development.geo@leica-geosystems.com>,
"m.felsch@pengutronix.de" <m.felsch@pengutronix.de>
Subject: Re: [PATCH v2 1/2] dt-bindings: net: dp83826: support TX data voltage tuning
Date: Thu, 8 Feb 2024 10:12:28 +0100 [thread overview]
Message-ID: <cb7b7f91-5fcc-4efe-9066-2eb3de836361@linaro.org> (raw)
In-Reply-To: <f35e239d-3f78-40e1-8d5b-4d7b949f08aa@leica-geosystems.com>
On 08/02/2024 10:08, POPESCU Catalin wrote:
> On 08.02.24 09:50, Krzysztof Kozlowski wrote:
>> This email is not from Hexagon’s Office 365 instance. Please be careful while clicking links, opening attachments, or replying to this email.
>>
>>
>> On 08/02/2024 09:48, POPESCU Catalin wrote:
>>> On 08.02.24 08:35, Krzysztof Kozlowski wrote:
>>>> [You don't often get email from krzysztof.kozlowski@linaro.org. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ]
>>>>
>>>> This email is not from Hexagon’s Office 365 instance. Please be careful while clicking links, opening attachments, or replying to this email.
>>>>
>>>>
>>>> On 07/02/2024 18:58, Catalin Popescu wrote:
>>>>> Add properties ti,cfg-dac-minus-one-milli-percent and
>>>>> ti,cfg-dac-plus-one-milli-percent to support voltage tuning
>>>>> of logical levels -1/+1 of the MLT-3 encoded TX data.
>>>>>
>>>>> Signed-off-by: Catalin Popescu <catalin.popescu@leica-geosystems.com>
>>>>> ---
>>>>> Changes in v2:
>>>>> - squash the 2 DT bindings patches in one single patch
>>>>> - drop redundant "binding" from the DT bindings patch title
>>>>> - rename DT properties and define them as percentage
>>>>> - add default value for each new DT property
>>>>> ---
>>>>> .../devicetree/bindings/net/ti,dp83822.yaml | 18 ++++++++++++++++++
>>>>> 1 file changed, 18 insertions(+)
>>>>>
>>>>> diff --git a/Documentation/devicetree/bindings/net/ti,dp83822.yaml b/Documentation/devicetree/bindings/net/ti,dp83822.yaml
>>>>> index db74474207ed..6bbd465e51d6 100644
>>>>> --- a/Documentation/devicetree/bindings/net/ti,dp83822.yaml
>>>>> +++ b/Documentation/devicetree/bindings/net/ti,dp83822.yaml
>>>>> @@ -62,6 +62,24 @@ properties:
>>>>> for the PHY. The internal delay for the PHY is fixed to 3.5ns relative
>>>>> to transmit data.
>>>>>
>>>>> + ti,cfg-dac-minus-one-milli-percent:
>>>>> + description: |
>>>>> + DP83826 PHY only.
>>>>> + Sets the voltage ratio (with respect to the nominal value)
>>>>> + of the logical level -1 for the MLT-3 encoded TX data.
>>>>> + enum: [50000, 56250, 62500, 68750, 75000, 81250, 87500, 93750, 100000,
>>>>> + 106250, 112500, 118750, 125000, 131250, 137500, 143750, 150000]
>>>> I see all values being multiple of basis points, so why not using -bp
>>>> suffix?
>>> I can read :
>>>
>>> "-bp$":
>>> $ref: types.yaml#/definitions/int32-array
>>> description: basis points (1/100 of a percent)
>>>
>>> In my case it's 1/1000 of a percent. As I'm not sure exactly what the
>>> author meant by "basis points", would this apply to my patch as well?
>> So please show me the value which does not fit in -bp.
>
> "Basis points" doesn't mean anything to me, that's why I was asking for
> confirmation :)
> I don't have any issue to use "-bp" at all, I'm not pusing against.
https://en.wikipedia.org/wiki/Basis_point
Looks like all your values fit there, at least for these devices. Maybe
you would need to be sure other devices do not require mpercent after all.
Best regards,
Krzysztof
next prev parent reply other threads:[~2024-02-08 9:12 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-07 17:58 [PATCH v2 1/2] dt-bindings: net: dp83826: support TX data voltage tuning Catalin Popescu
2024-02-07 17:58 ` [PATCH v2 2/2] net: phy: " Catalin Popescu
2024-02-07 18:35 ` Andrew Lunn
2024-02-08 8:58 ` POPESCU Catalin
2024-02-08 13:56 ` Andrew Lunn
2024-02-08 16:14 ` POPESCU Catalin
2024-02-08 16:50 ` Andrew Lunn
2024-02-08 16:54 ` POPESCU Catalin
2024-02-08 7:35 ` [PATCH v2 1/2] dt-bindings: net: " Krzysztof Kozlowski
2024-02-08 8:48 ` POPESCU Catalin
2024-02-08 8:50 ` Krzysztof Kozlowski
2024-02-08 9:08 ` POPESCU Catalin
2024-02-08 9:12 ` Krzysztof Kozlowski [this message]
2024-02-08 9:19 ` POPESCU Catalin
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=cb7b7f91-5fcc-4efe-9066-2eb3de836361@linaro.org \
--to=krzysztof.kozlowski@linaro.org \
--cc=afd@ti.com \
--cc=andrew@lunn.ch \
--cc=bsp-development.geo@leica-geosystems.com \
--cc=catalin.popescu@leica-geosystems.com \
--cc=conor+dt@kernel.org \
--cc=davem@davemloft.net \
--cc=devicetree@vger.kernel.org \
--cc=hkallweit1@gmail.com \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@armlinux.org.uk \
--cc=m.felsch@pengutronix.de \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=robh+dt@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox