Received: from pandora.armlinux.org.uk (pandora.armlinux.org.uk [78.32.30.218]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3BC0031AF15 for ; Mon, 1 Dec 2025 14:59:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=78.32.30.218 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764601165; cv=none; b=KQsiOIIMn0erAz/WxXHAYMzDIodvV2/1fy5YyoJB7bVXhgRqCeAni4TBOff2yNzTm9iilnq3uISECSqqP4Zh1o+aTm0V0+Ek/yRU/mqz6J7J9ynqplkR0vY4MGCZucwiLTU1mTvnfqxWyZoTB72QUPZA2qFGdIdYq9Rbp94likU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764601165; c=relaxed/simple; bh=DIkjBY9zl84R5hjR+/5RTN6bORpZTnLylYm37ey54wA=; h=In-Reply-To:References:From:To:Cc:Subject:MIME-Version: Content-Disposition:Content-Type:Message-Id:Date; b=PrQymrGG5DZd+Cj0qa8/6dqedwHTE8na8ioMzqTS3PcisyBVoHFVBChcY6jFU76hyUI4foLr0QL2iBt3+PFH+YFtNf50vU+3ciRI1HWaV5AguwG8EsMg4/R/2SUESslcpPFlMPCZIF3ur9vR2VBGmdeFOeQUoKMpf9+BvT99x10= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=armlinux.org.uk; spf=none smtp.mailfrom=armlinux.org.uk; dkim=pass (2048-bit key) header.d=armlinux.org.uk header.i=@armlinux.org.uk header.b=Conu3tvH; arc=none smtp.client-ip=78.32.30.218 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=armlinux.org.uk Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=armlinux.org.uk Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=armlinux.org.uk header.i=@armlinux.org.uk header.b="Conu3tvH" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Date:Sender:Message-Id:Content-Type: Content-Transfer-Encoding:MIME-Version:Subject:Cc:To:From:References: In-Reply-To:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=I2fXZwmb35EIN/x1qesc6br+Ei92V4Iw4QaRP7+DyA8=; b=Conu3tvH+YjBecg06O4GMiHMCg ZINsYOtCAQnKyHX+MZ68BNJfLzg8E4WK4A8MIlzNozy8G47GYPBD9qqI7LzB3pSTJ7hCX0I63KfdX ci7UdMdA9XX1FbZPOEpAnOLdDx4Minpat6uU9EUb5Q1ZV2quxsrcaSbOhSxqyf7+nuVoDWCl5cFKj 3om06mjbdsmSgM8BQTzks2F3Rysjt+v/fLRAmhJ7gc461DWL2B8immYieSNpV9WdSf6NzYt7hh6/f MvzbZfKijvqUzlutYBpJy0g6owfnhNElW/WkcH4f8KiZhpO5bv7BP+xjd8FEhT4EzN5wIHvqkeEb3 YNKuedDg==; Received: from e0022681537dd.dyn.armlinux.org.uk ([fd8f:7570:feb6:1:222:68ff:fe15:37dd]:46786 helo=rmk-PC.armlinux.org.uk) by pandora.armlinux.org.uk with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1vQ5G1-000000000iB-0oWY; Mon, 01 Dec 2025 14:52:05 +0000 Received: from rmk by rmk-PC.armlinux.org.uk with local (Exim 4.98.2) (envelope-from ) id 1vQ5Fq-0000000GNwl-1aSe; Mon, 01 Dec 2025 14:51:54 +0000 In-Reply-To: References: From: "Russell King (Oracle)" To: Andrew Lunn , Heiner Kallweit Cc: Alexandre Torgue , Andrew Lunn , "David S. Miller" , Eric Dumazet , Heiko Stuebner , Jakub Kicinski , linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com, Maxime Coquelin , netdev@vger.kernel.org, Paolo Abeni Subject: [PATCH RFC net-next 14/15] net: stmmac: rk: rk3328: gmac2phy only supports RMII Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="utf-8" Message-Id: Sender: Russell King Date: Mon, 01 Dec 2025 14:51:54 +0000 As detailed in a previous commit ("net: stmmac: rk: convert rk3328 to use bsp_priv->id") rk3328 gmac2phy only supports RMII, whereas gmac2io supports both RMII and RGMII. Clear supports_rgmii for gmac2phy. Signed-off-by: Russell King (Oracle) --- drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c b/drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c index c9a915b2cb84..c04a115beb98 100644 --- a/drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c +++ b/drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c @@ -438,6 +438,7 @@ static int rk3328_init(struct rk_priv_data *bsp_priv) case 1: /* gmac2phy */ bsp_priv->phy_intf_sel_grf_reg = RK3328_GRF_MAC_CON2; bsp_priv->speed_grf_reg = RK3328_GRF_MAC_CON2; + bsp_priv->supports_rgmii = false; return 0; default: -- 2.47.3