From: Yixun Lan <dlan@kernel.org>
To: Chukun Pan <amadeus@jmu.edu.cn>
Cc: Rob Herring <robh@kernel.org>, Paul Walmsley <pjw@kernel.org>,
Alexandre Ghiti <alex@ghiti.fr>,
Albert Ou <aou@eecs.berkeley.edu>,
Palmer Dabbelt <palmer@dabbelt.com>,
Conor Dooley <conor+dt@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org,
devicetree@vger.kernel.org, spacemit@lists.linux.dev
Subject: Re: [PATCH 1/1] riscv: dts: spacemit: Disable ETH PHY sleep mode for OrangePi
Date: Wed, 21 Jan 2026 08:50:02 +0800 [thread overview]
Message-ID: <20260121005002-GKA61591@kernel.org> (raw)
In-Reply-To: <20260120100001.1285624-2-amadeus@jmu.edu.cn>
Hi Chukun,
On 18:00 Tue 20 Jan , Chukun Pan wrote:
> On the SpacemiT K1 platform, the MAC can't read statistics when the PHY
> clock stops. Disable Link Down Power Saving Mode for the YT8531C PHY on
> OrangePi R2S and RV2 boards to avoid reading statistics timeout logs.
>
> Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
Looks good to me
Reviewed-by: Yixun Lan <dlan@kernel.org>
> ---
> arch/riscv/boot/dts/spacemit/k1-orangepi-r2s.dts | 2 ++
> arch/riscv/boot/dts/spacemit/k1-orangepi-rv2.dts | 2 ++
> 2 files changed, 4 insertions(+)
>
> diff --git a/arch/riscv/boot/dts/spacemit/k1-orangepi-r2s.dts b/arch/riscv/boot/dts/spacemit/k1-orangepi-r2s.dts
> index 58098c4a2aab..de75f6aac740 100644
> --- a/arch/riscv/boot/dts/spacemit/k1-orangepi-r2s.dts
> +++ b/arch/riscv/boot/dts/spacemit/k1-orangepi-r2s.dts
> @@ -52,6 +52,7 @@ mdio-bus {
>
> rgmii0: phy@1 {
> reg = <0x1>;
> + motorcomm,auto-sleep-disabled;
> };
> };
> };
> @@ -75,6 +76,7 @@ mdio-bus {
>
> rgmii1: phy@1 {
> reg = <0x1>;
> + motorcomm,auto-sleep-disabled;
> };
> };
> };
> diff --git a/arch/riscv/boot/dts/spacemit/k1-orangepi-rv2.dts b/arch/riscv/boot/dts/spacemit/k1-orangepi-rv2.dts
> index 41dc8e35e6eb..7b7331cb3c72 100644
> --- a/arch/riscv/boot/dts/spacemit/k1-orangepi-rv2.dts
> +++ b/arch/riscv/boot/dts/spacemit/k1-orangepi-rv2.dts
> @@ -54,6 +54,7 @@ mdio-bus {
>
> rgmii0: phy@1 {
> reg = <0x1>;
> + motorcomm,auto-sleep-disabled;
> };
> };
> };
> @@ -77,6 +78,7 @@ mdio-bus {
>
> rgmii1: phy@1 {
> reg = <0x1>;
> + motorcomm,auto-sleep-disabled;
> };
> };
> };
> --
> 2.25.1
>
--
Yixun Lan (dlan)
_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv
WARNING: multiple messages have this Message-ID (diff)
From: Yixun Lan <dlan@kernel.org>
To: Chukun Pan <amadeus@jmu.edu.cn>
Cc: Rob Herring <robh@kernel.org>, Paul Walmsley <pjw@kernel.org>,
Alexandre Ghiti <alex@ghiti.fr>,
Albert Ou <aou@eecs.berkeley.edu>,
Palmer Dabbelt <palmer@dabbelt.com>,
Conor Dooley <conor+dt@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org,
devicetree@vger.kernel.org, spacemit@lists.linux.dev
Subject: Re: [PATCH 1/1] riscv: dts: spacemit: Disable ETH PHY sleep mode for OrangePi
Date: Wed, 21 Jan 2026 08:50:02 +0800 [thread overview]
Message-ID: <20260121005002-GKA61591@kernel.org> (raw)
In-Reply-To: <20260120100001.1285624-2-amadeus@jmu.edu.cn>
Hi Chukun,
On 18:00 Tue 20 Jan , Chukun Pan wrote:
> On the SpacemiT K1 platform, the MAC can't read statistics when the PHY
> clock stops. Disable Link Down Power Saving Mode for the YT8531C PHY on
> OrangePi R2S and RV2 boards to avoid reading statistics timeout logs.
>
> Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
Looks good to me
Reviewed-by: Yixun Lan <dlan@kernel.org>
> ---
> arch/riscv/boot/dts/spacemit/k1-orangepi-r2s.dts | 2 ++
> arch/riscv/boot/dts/spacemit/k1-orangepi-rv2.dts | 2 ++
> 2 files changed, 4 insertions(+)
>
> diff --git a/arch/riscv/boot/dts/spacemit/k1-orangepi-r2s.dts b/arch/riscv/boot/dts/spacemit/k1-orangepi-r2s.dts
> index 58098c4a2aab..de75f6aac740 100644
> --- a/arch/riscv/boot/dts/spacemit/k1-orangepi-r2s.dts
> +++ b/arch/riscv/boot/dts/spacemit/k1-orangepi-r2s.dts
> @@ -52,6 +52,7 @@ mdio-bus {
>
> rgmii0: phy@1 {
> reg = <0x1>;
> + motorcomm,auto-sleep-disabled;
> };
> };
> };
> @@ -75,6 +76,7 @@ mdio-bus {
>
> rgmii1: phy@1 {
> reg = <0x1>;
> + motorcomm,auto-sleep-disabled;
> };
> };
> };
> diff --git a/arch/riscv/boot/dts/spacemit/k1-orangepi-rv2.dts b/arch/riscv/boot/dts/spacemit/k1-orangepi-rv2.dts
> index 41dc8e35e6eb..7b7331cb3c72 100644
> --- a/arch/riscv/boot/dts/spacemit/k1-orangepi-rv2.dts
> +++ b/arch/riscv/boot/dts/spacemit/k1-orangepi-rv2.dts
> @@ -54,6 +54,7 @@ mdio-bus {
>
> rgmii0: phy@1 {
> reg = <0x1>;
> + motorcomm,auto-sleep-disabled;
> };
> };
> };
> @@ -77,6 +78,7 @@ mdio-bus {
>
> rgmii1: phy@1 {
> reg = <0x1>;
> + motorcomm,auto-sleep-disabled;
> };
> };
> };
> --
> 2.25.1
>
--
Yixun Lan (dlan)
next prev parent reply other threads:[~2026-01-21 0:50 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-20 10:00 [PATCH 0/1] riscv: dts: spacemit: Disable ETH PHY sleep mode for OrangePi Chukun Pan
2026-01-20 10:00 ` Chukun Pan
2026-01-20 10:00 ` [PATCH 1/1] " Chukun Pan
2026-01-20 10:00 ` Chukun Pan
2026-01-21 0:50 ` Yixun Lan [this message]
2026-01-21 0:50 ` Yixun Lan
2026-01-21 6:55 ` [PATCH 0/1] " Yixun Lan
2026-01-21 6:55 ` Yixun Lan
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=20260121005002-GKA61591@kernel.org \
--to=dlan@kernel.org \
--cc=alex@ghiti.fr \
--cc=amadeus@jmu.edu.cn \
--cc=aou@eecs.berkeley.edu \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-riscv@lists.infradead.org \
--cc=palmer@dabbelt.com \
--cc=pjw@kernel.org \
--cc=robh@kernel.org \
--cc=spacemit@lists.linux.dev \
/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.