From: Krzysztof Kozlowski <krzk@kernel.org>
To: Gavin Gao <attinagaoxu@gmail.com>
Cc: andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@google.com,
kuba@kernel.org, pabeni@redhat.com, heiko@sntech.de,
robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org,
mcoquelin.stm32@gmail.com, alexandre.torgue@foss.st.com,
richardcochran@gmail.com, nicolas.frattaroli@collabora.com,
sebastian.reichel@collabora.com, sashal@kernel.org,
alchark@gmail.com, chaoyi.chen@rock-chips.com,
amadeus@jmu.edu.cn, rmk+kernel@armlinux.org.uk, horms@kernel.org,
alok.a.tiwari@oracle.com, david.wu@rock-chips.com,
netdev@vger.kernel.org, devicetree@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org,
linux-stm32@st-md-mailman.stormreply.com
Subject: Re: [PATCH net-next 1/3] dt-bindings: net: rockchip-dwmac: Add 25M refout clock
Date: Thu, 30 Jul 2026 13:41:26 +0200 [thread overview]
Message-ID: <50a524c2-a470-4b24-9b63-41b37346fa74@kernel.org> (raw)
In-Reply-To: <CAK2JjQVoaHjzf4Z=_LDVzTj0R-ey1Z4T+1OF_xYACdz1C4yReQ@mail.gmail.com>
On 30/07/2026 13:38, Gavin Gao wrote:
> On Thu, Jul 30, 2026 at 4:27 PM Krzysztof Kozlowski <krzk@kernel.org> wrote:
>>
>> On Mon, Jul 27, 2026 at 10:10:45AM +0800, Gavin Gao wrote:
>>> Some Rockchip GMAC instances can provide a 25 MHz reference clock output
>>> for an external RGMII PHY.
>>>
>>> Add a clock name for this 25 MHz reference output so SoC dtsi files can
>>> describe it separately from the existing MAC reference clocks.
>>>
>>> Signed-off-by: Gavin Gao <attinagaoxu@gmail.com>
>>> ---
>>> Documentation/devicetree/bindings/net/rockchip-dwmac.yaml | 1 +
>>> 1 file changed, 1 insertion(+)
>>>
>>> diff --git a/Documentation/devicetree/bindings/net/rockchip-dwmac.yaml b/Documentation/devicetree/bindings/net/rockchip-dwmac.yaml
>>> index 0ac7c4b47d6b..074ac274f2e0 100644
>>> --- a/Documentation/devicetree/bindings/net/rockchip-dwmac.yaml
>>> +++ b/Documentation/devicetree/bindings/net/rockchip-dwmac.yaml
>>> @@ -81,6 +81,7 @@ properties:
>>> - pclk_mac
>>> - clk_mac_ref
>>> - clk_mac_refout
>>> + - clk_mac_25m_refout
>>
>> That's the same as clk_mac_ref and clk_mac_refout. clocks are not
>> outputs but inputs, so explain how does the device take three SAME
>> clocks: clk_mac_ref, clk_mac_refout and clk_mac_25m_refout?
>>
>> Best regards,
>> Krzysztof
>>
>
> This is not the existing clk_mac_refout clock. On RK3576 the
> REFCLKO25M_GMAC[01]_OUT clocks are separate 25 MHz reference clock outputs
That's why I emphasized here and in other patch we do not talk about
outputs. Read the comments.
> intended for RGMII PHYs, while clk_mac_refout is the existing refout clock
> used by the Rockchip DWMAC binding for the RMII reference output path.
Best regards,
Krzysztof
next prev parent reply other threads:[~2026-07-30 11:41 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-27 2:10 [PATCH net-next 0/3] net: stmmac: dwmac-rk: add RK3576 GMAC 25M refout support Gavin Gao
2026-07-27 2:10 ` [PATCH net-next 1/3] dt-bindings: net: rockchip-dwmac: Add 25M refout clock Gavin Gao
2026-07-30 8:27 ` Krzysztof Kozlowski
2026-07-30 11:38 ` Gavin Gao
2026-07-30 11:41 ` Krzysztof Kozlowski [this message]
2026-07-27 2:10 ` [PATCH net-next 2/3] arm64: dts: rockchip: Add RK3576 GMAC 25M refout clocks Gavin Gao
2026-07-30 8:28 ` Krzysztof Kozlowski
2026-07-27 2:10 ` [PATCH net-next 3/3] net: stmmac: dwmac-rk: Enable RGMII 25M refout clock Gavin Gao
2026-07-27 7:10 ` [PATCH net-next 0/3] net: stmmac: dwmac-rk: add RK3576 GMAC 25M refout support Maxime Chevallier
2026-07-27 7:19 ` Alexey Charkov
2026-07-27 7:14 ` Alexey Charkov
2026-07-27 7:21 ` Chaoyi Chen
2026-07-27 7:41 ` Jiaxing Hu
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=50a524c2-a470-4b24-9b63-41b37346fa74@kernel.org \
--to=krzk@kernel.org \
--cc=alchark@gmail.com \
--cc=alexandre.torgue@foss.st.com \
--cc=alok.a.tiwari@oracle.com \
--cc=amadeus@jmu.edu.cn \
--cc=andrew+netdev@lunn.ch \
--cc=attinagaoxu@gmail.com \
--cc=chaoyi.chen@rock-chips.com \
--cc=conor+dt@kernel.org \
--cc=davem@davemloft.net \
--cc=david.wu@rock-chips.com \
--cc=devicetree@vger.kernel.org \
--cc=edumazet@google.com \
--cc=heiko@sntech.de \
--cc=horms@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=kuba@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rockchip@lists.infradead.org \
--cc=linux-stm32@st-md-mailman.stormreply.com \
--cc=mcoquelin.stm32@gmail.com \
--cc=netdev@vger.kernel.org \
--cc=nicolas.frattaroli@collabora.com \
--cc=pabeni@redhat.com \
--cc=richardcochran@gmail.com \
--cc=rmk+kernel@armlinux.org.uk \
--cc=robh@kernel.org \
--cc=sashal@kernel.org \
--cc=sebastian.reichel@collabora.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