From: Yanteng Si <si.yanteng@linux.dev>
To: Paul Menzel <pmenzel@molgen.mpg.de>, Andrew Lunn <andrew@lunn.ch>
Cc: Joey Lu <a0987203069@gmail.com>,
andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@google.com,
kuba@kernel.org, pabeni@redhat.com, robh@kernel.org,
krzk+dt@kernel.org, conor+dt@kernel.org,
mcoquelin.stm32@gmail.com, richardcochran@gmail.com,
devicetree@vger.kernel.org, ychuang3@nuvoton.com,
netdev@vger.kernel.org, openbmc@lists.ozlabs.org,
alexandre.torgue@foss.st.com, linux-kernel@vger.kernel.org,
joabreu@synopsys.com, schung@nuvoton.com, peppe.cavallaro@st.com,
yclu4@nuvoton.com, linux-stm32@st-md-mailman.stormreply.com,
linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH net-next v7 3/3] net: stmmac: dwmac-nuvoton: Add dwmac glue for Nuvoton MA35 family
Date: Tue, 14 Jan 2025 18:29:47 +0800 [thread overview]
Message-ID: <52dab677-6ec9-4ae2-803f-1a2a34c32007@linux.dev> (raw)
In-Reply-To: <d9fc5212-9710-449e-90b9-a195305d990f@molgen.mpg.de>
在 2025/1/14 10:21, Paul Menzel 写道:
> Dear Andrew,
>
>
> Thank you for your quick reply.
>
>
> Am 14.01.25 um 21:16 schrieb Andrew Lunn:
>>>> +#define NVT_MISCR_RMII BIT(0)
>>>> +
>>>> +/* 2000ps is mapped to 0x0 ~ 0xF */
>>>
>>> Excuse my ignorance: What is ps?
>>
>> picoseconds. An RGMII link needs a 2ns delay between the clock line
>> and the data lines. Some MACs allow you to tune the delay they can
>> insert, in this case in steps of 2ns / 16.
>
> Thank you for the clarification. Maybe it’s my English, but I didn’t
> deduce this from how the comment is worded. I do not have a better idea
> either.
Hmmm, how about:
2000 ps is xxxx
I checked the kernel code and it looks like
folks usually put a space between the number
and the unit.
I looked into the rules of a bunch of publishers
again. It seems like there's a rule about putting
a space between a number and a unit, but when the
unit is a symbol, that's an exception:
space:
10 kg
10 ℃
10 h
no space:
22°36′48″N, 114°10′10″E
Thanks,
Yanteng
WARNING: multiple messages have this Message-ID (diff)
From: Yanteng Si <si.yanteng@linux.dev>
To: Paul Menzel <pmenzel@molgen.mpg.de>, Andrew Lunn <andrew@lunn.ch>
Cc: alexandre.torgue@foss.st.com, linux-kernel@vger.kernel.org,
edumazet@google.com, schung@nuvoton.com, yclu4@nuvoton.com,
linux-stm32@st-md-mailman.stormreply.com, robh@kernel.org,
openbmc@lists.ozlabs.org, joabreu@synopsys.com, kuba@kernel.org,
pabeni@redhat.com, devicetree@vger.kernel.org,
conor+dt@kernel.org, richardcochran@gmail.com,
ychuang3@nuvoton.com, peppe.cavallaro@st.com,
linux-arm-kernel@lists.infradead.org, netdev@vger.kernel.org,
Joey Lu <a0987203069@gmail.com>,
andrew+netdev@lunn.ch, mcoquelin.stm32@gmail.com,
krzk+dt@kernel.org, davem@davemloft.net
Subject: Re: [PATCH net-next v7 3/3] net: stmmac: dwmac-nuvoton: Add dwmac glue for Nuvoton MA35 family
Date: Tue, 14 Jan 2025 18:29:47 +0800 [thread overview]
Message-ID: <52dab677-6ec9-4ae2-803f-1a2a34c32007@linux.dev> (raw)
In-Reply-To: <d9fc5212-9710-449e-90b9-a195305d990f@molgen.mpg.de>
在 2025/1/14 10:21, Paul Menzel 写道:
> Dear Andrew,
>
>
> Thank you for your quick reply.
>
>
> Am 14.01.25 um 21:16 schrieb Andrew Lunn:
>>>> +#define NVT_MISCR_RMII BIT(0)
>>>> +
>>>> +/* 2000ps is mapped to 0x0 ~ 0xF */
>>>
>>> Excuse my ignorance: What is ps?
>>
>> picoseconds. An RGMII link needs a 2ns delay between the clock line
>> and the data lines. Some MACs allow you to tune the delay they can
>> insert, in this case in steps of 2ns / 16.
>
> Thank you for the clarification. Maybe it’s my English, but I didn’t
> deduce this from how the comment is worded. I do not have a better idea
> either.
Hmmm, how about:
2000 ps is xxxx
I checked the kernel code and it looks like
folks usually put a space between the number
and the unit.
I looked into the rules of a bunch of publishers
again. It seems like there's a rule about putting
a space between a number and a unit, but when the
unit is a symbol, that's an exception:
space:
10 kg
10 ℃
10 h
no space:
22°36′48″N, 114°10′10″E
Thanks,
Yanteng
next prev parent reply other threads:[~2025-01-14 10:31 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-13 5:54 [PATCH net-next v7 0/3] Add support for Nuvoton MA35D1 GMAC Joey Lu
2025-01-13 5:54 ` Joey Lu
2025-01-13 5:54 ` [PATCH net-next v7 1/3] dt-bindings: net: nuvoton: Add schema for Nuvoton MA35 family GMAC Joey Lu
2025-01-13 5:54 ` Joey Lu
2025-01-13 5:54 ` [PATCH net-next v7 2/3] arm64: dts: nuvoton: Add Ethernet nodes Joey Lu
2025-01-13 5:54 ` Joey Lu
2025-01-13 5:54 ` [PATCH net-next v7 3/3] net: stmmac: dwmac-nuvoton: Add dwmac glue for Nuvoton MA35 family Joey Lu
2025-01-13 5:54 ` Joey Lu
2025-01-14 1:49 ` Paul Menzel
2025-01-14 1:49 ` Paul Menzel
2025-01-14 2:16 ` Andrew Lunn
2025-01-14 2:16 ` Andrew Lunn
2025-01-14 2:21 ` Paul Menzel
2025-01-14 2:21 ` Paul Menzel
2025-01-14 10:29 ` Yanteng Si [this message]
2025-01-14 10:29 ` Yanteng Si
2025-01-14 23:35 ` Jakub Kicinski
2025-01-14 23:35 ` Jakub Kicinski
2025-01-15 9:03 ` Joey Lu
2025-01-15 9:22 ` Paul Menzel
2025-01-15 9:22 ` Paul Menzel
2025-01-15 11:05 ` Joey Lu
2025-01-15 11:05 ` Joey Lu
2025-01-14 23:33 ` Jakub Kicinski
2025-01-14 23:33 ` Jakub Kicinski
2025-01-15 9:09 ` Joey Lu
2025-01-15 9:09 ` Joey Lu
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=52dab677-6ec9-4ae2-803f-1a2a34c32007@linux.dev \
--to=si.yanteng@linux.dev \
--cc=a0987203069@gmail.com \
--cc=alexandre.torgue@foss.st.com \
--cc=andrew+netdev@lunn.ch \
--cc=andrew@lunn.ch \
--cc=conor+dt@kernel.org \
--cc=davem@davemloft.net \
--cc=devicetree@vger.kernel.org \
--cc=edumazet@google.com \
--cc=joabreu@synopsys.com \
--cc=krzk+dt@kernel.org \
--cc=kuba@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-stm32@st-md-mailman.stormreply.com \
--cc=mcoquelin.stm32@gmail.com \
--cc=netdev@vger.kernel.org \
--cc=openbmc@lists.ozlabs.org \
--cc=pabeni@redhat.com \
--cc=peppe.cavallaro@st.com \
--cc=pmenzel@molgen.mpg.de \
--cc=richardcochran@gmail.com \
--cc=robh@kernel.org \
--cc=schung@nuvoton.com \
--cc=ychuang3@nuvoton.com \
--cc=yclu4@nuvoton.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.