lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20260121031548.402-1-kernel@airkyi.com>
Date: Wed, 21 Jan 2026 11:15:45 +0800
From: Chaoyi Chen <kernel@...kyi.com>
To: Andrew Lunn <andrew@...n.ch>,
	Rob Herring <robh@...nel.org>,
	Krzysztof Kozlowski <krzk+dt@...nel.org>,
	Conor Dooley <conor+dt@...nel.org>,
	Heiko Stuebner <heiko@...ech.de>,
	Alexey Charkov <alchark@...il.com>,
	Shawn Lin <shawn.lin@...k-chips.com>,
	Sebastian Reichel <sebastian.reichel@...labora.com>,
	Chaoyi Chen <chaoyi.chen@...k-chips.com>,
	Andy Yan <andy.yan@...k-chips.com>,
	Nicolas Frattaroli <nicolas.frattaroli@...labora.com>,
	Detlev Casanova <detlev.casanova@...labora.com>,
	Stephen Chen <stephen@...xa.com>
Cc: devicetree@...r.kernel.org,
	linux-arm-kernel@...ts.infradead.org,
	linux-rockchip@...ts.infradead.org,
	linux-kernel@...r.kernel.org
Subject: [PATCH 0/3] arm64: dts: rockchip: Change gmac phy-mode to rgmii-id for rk3576 board

From: Chaoyi Chen <chaoyi.chen@...k-chips.com>

According to the description in the net documentation, PHY modes
"rgmii", "rgmii-rxid" and "rgmii-txid" modes require the clock signal
to be delayed on the PCB.

The Rockchip platform has long used the above mentioned PHY modes and
private delay prop to describe the internal IO delay settings of the
chip, which is inconsistent with what is described in the documentation.

Some background, for RK3576, you can assume that:

        tx_delay_time(ns) = 0.0579 * delay_line_count + 0.105

For example, tx_delay = <0x20> means:

        time = 0.0579 * 0x20 + 0.105 ns = 1.9578 ns

Recently, Andrew has often mentioned the problem of phy mode in board
level configuration. So let's start with the RK3576 to modify this.

Please test this series of patches, thanks.

Chaoyi Chen (3):
  arm64: dts: rockchip: Change gmac phy-mode to rgmii-id for rk3576 evb1
  arm64: dts: rockchip: Change gmac phy-mode to rgmii-id for
    roc-rk3576-pc
  arm64: dts: rockchip: Change gmac phy-mode to rgmii-id for ROCK 4D

 arch/arm64/boot/dts/rockchip/rk3576-evb1-v10.dts | 8 ++++----
 arch/arm64/boot/dts/rockchip/rk3576-roc-pc.dts   | 5 ++---
 arch/arm64/boot/dts/rockchip/rk3576-rock-4d.dts  | 5 ++---
 3 files changed, 8 insertions(+), 10 deletions(-)

-- 
2.51.1


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ