From: Florian Fainelli <f.fainelli@gmail.com>
To: Mason <slash.tmp@free.fr>
Cc: Mans Rullgard <mans@mansr.com>,
Marc Gonzalez <marc_gonzalez@sigmadesigns.com>,
Andrew Lunn <andrew@lunn.ch>,
Martin Blumenstingl <martin.blumenstingl@gmail.com>,
Grygorii Strashko <grygorii.strashko@ti.com>,
Fabio Estevam <fabio.estevam@nxp.com>,
Zefir Kurtisi <zefir.kurtisi@neratec.com>,
Timur Tabi <timur@codeaurora.org>, Daniel Mack <zonque@gmail.com>,
netdev <netdev@vger.kernel.org>,
Linux ARM <linux-arm-kernel@lists.infradead.org>,
"David S. Miller" <davem@davemloft.net>,
Thibaud Cornic <thibaud_cornic@sigmadesigns.com>
Subject: Re: [PATCH 2/2] net: ethernet: nb8800: Fix RGMII TX clock delay setup
Date: Mon, 24 Jul 2017 14:49:22 -0700 [thread overview]
Message-ID: <5c48496e-8c67-5af5-e0c5-7b0c298adc84@gmail.com> (raw)
In-Reply-To: <54ca7197-780a-68b1-0cf2-88ccc7ce4201@free.fr>
On 07/24/2017 02:21 PM, Mason wrote:
> On 20/07/2017 14:33, Mason wrote:
>
>> As [Florian] pointed out, the spec states that the
>> "Data to Clock input Skew (at Receiver)"
>> must be within [ 1.0, 2.6 ] ns.
>>
>> I understand that 2 ns is 1/4 of a 125 MHz period,
>> but it's not clear to me why the above interval is
>> centered at 1.8 instead of 2.0 ns.
>>
>> Also, the AR8035 PHY offers 4 possible TX clock delays:
>> { 0.25, 1.3, 2.4, 3.4 } according to their doc.
>> The two extremes are outside the interval, when would
>> they be useful? In case the transmitter adds "bad" skew?
>>
>> Why doesn't the PHY support 1.8/2.0? Is it perhaps
>> unable to, because of PLL limitations?
>
> I haven't yet found answers for these questions.
>
> - Why is the interval centered at 1.8 instead of 2.0 ns?
Presumably because this is almost the middle of the available range and
it still provides a value that is within the specification...
> - What use are 0.25 ns and 3.4 ns skew?
Accounting for extreme PCB traces lengths possibly, or just exposing the
raw values that the HW supports by increments of 0.25 ns, just because
the HW supports it.
> - Why doesn't the PHY support a "recommended" value like 1.8 ns?
>
> Does anyone have pointers to good resources?
The PHY datasheet and the RGMII specification really ought to be the
starting points, there is not much more to it. Maybe go ask your support
person at Qualcomm/Atheros about their PHY design?
--
Florian
next prev parent reply other threads:[~2017-07-24 21:49 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-19 15:29 [PATCH 0/2] Atheros 803x PHY RGMII clock delays Marc Gonzalez
2017-07-19 15:31 ` [PATCH 1/2] net: phy: at803x: Fix RGMII RX and TX clock delays setup Marc Gonzalez
2017-07-19 17:49 ` Timur Tabi
2017-07-19 19:24 ` Grygorii Strashko
2017-07-19 19:30 ` Florian Fainelli
2017-07-19 20:11 ` Grygorii Strashko
2017-07-19 21:29 ` Mason
2017-07-19 21:44 ` Florian Fainelli
2017-07-19 15:33 ` [PATCH 2/2] net: ethernet: nb8800: Fix RGMII TX clock delay setup Marc Gonzalez
2017-07-19 17:17 ` Måns Rullgård
2017-07-19 17:36 ` Mason
2017-07-19 18:30 ` Florian Fainelli
2017-07-19 21:15 ` Mason
2017-07-19 21:34 ` Florian Fainelli
2017-07-20 12:33 ` Mason
2017-07-20 12:39 ` Måns Rullgård
2017-07-24 21:21 ` Mason
2017-07-24 21:49 ` Florian Fainelli [this message]
2017-07-24 22:30 ` Mason
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=5c48496e-8c67-5af5-e0c5-7b0c298adc84@gmail.com \
--to=f.fainelli@gmail.com \
--cc=andrew@lunn.ch \
--cc=davem@davemloft.net \
--cc=fabio.estevam@nxp.com \
--cc=grygorii.strashko@ti.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=mans@mansr.com \
--cc=marc_gonzalez@sigmadesigns.com \
--cc=martin.blumenstingl@gmail.com \
--cc=netdev@vger.kernel.org \
--cc=slash.tmp@free.fr \
--cc=thibaud_cornic@sigmadesigns.com \
--cc=timur@codeaurora.org \
--cc=zefir.kurtisi@neratec.com \
--cc=zonque@gmail.com \
/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;
as well as URLs for NNTP newsgroup(s).