🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #5547

[PATCH 3/3] ARM: dts: bcm2711: give the GENET MDIO controller its clock

#5547
From: Nicolai Buchwitz
Date: Tue, 20 Oct 2026 14:58
26 lines
9397 bytes
The MDC of the GENET MDIO controller comes from the GISB clock.
Describe it, so mdio-bcm-unimac can get the real 200 MHz from
clk_get_rate() instead of assuming the 250 MHz of the STB chips, and
can put bounds on when an MDIO write completes for PTP.

Signed-off-by: Nicolai Buchwitz <nb@tipi-net.de>
---
 arch/arm/boot/dts/broadcom/bcm2711.dtsi | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/boot/dts/broadcom/bcm2711.dtsi b/arch/arm/boot/dts/broadcom/bcm2711.dtsi
index 5e3b4bb393967..82b38551d55cf 100644
--- a/arch/arm/boot/dts/broadcom/bcm2711.dtsi
+++ b/arch/arm/boot/dts/broadcom/bcm2711.dtsi
@@ -597,6 +597,7 @@ genet_mdio: mdio@e14 {
 				compatible = "brcm,genet-mdio-v5";
 				reg = <0xe14 0x8>;
 				reg-names = "mdio";
+				clocks = <&clocks BCM2711_CLOCK_GISB>;
 				#address-cells = <0x1>;
 				#size-cells = <0x0>;
 			};

-- 
2.53.0
Technical Details
Message-ID: <20261020-devel-bcm2711-gisb-clk-v1-3-a1728724d0f8@tipi-net.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-349350-linux-kernel-netdev=dewy.ru
References: <20261020-devel-bcm2711-gisb-clk-v1-0-a1728724d0f8@tipi-net.de>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-349350-linux-kernel-netdev=dewy.ru
From: nb@tipi-net.de (Nicolai Buchwitz)
Newsgroups: linux.kernel.netdev
Subject: [PATCH 3/3] ARM: dts: bcm2711: give the GENET MDIO controller its
 clock
Date: Tue, 20 Oct 2026 16:58:11 +0200
Organization: Usenet Network
Message-ID: <20261020-devel-bcm2711-gisb-clk-v1-3-a1728724d0f8@tipi-net.de>
References: <20261020-devel-bcm2711-gisb-clk-v1-0-a1728724d0f8@tipi-net.de>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
Injection-Info: usenet.network;
	logging-data="3880137"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:Obkozh9xRL6vNCS2RXTPRuzAu/s= sha256:yU66WvYG8uA7AEEuTLTKO6SnUWfCAsWMrB8R3C8MojU=
	sha1:sYV2Gds1NrL4OnTCi/s+uqhr2w4= sha256:9fjmJRrsuCn9qt6Ws+FhGIjpYKwAI0putVMn/4iABIY=
List-ID: <netdev.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1])
	by mail.dewy.ru (Postfix) with ESMTP id C22F7110D40; Tue, 20 Oct 2026 18:12:34 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.049
X-Spam-Status: No, score=-3.049 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
	DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.25,
	MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001,
	SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
	header.d=tipi-net.de
X-Received: from mail.dewy.ru ([127.0.0.1])
	by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id gJoknmZInF5q;
	Tue, 20 Oct 2026 18:12:32 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=104.64.211.4; helo=sin.lore.kernel.org; envelope-from=netdev+bounces-349350-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=none (p=none dis=none) header.from=tipi-net.de
X-Received: from sin.lore.kernel.org (sin.lore.kernel.org [104.64.211.4])
	by mail.dewy.ru (Postfix) with ESMTPS id A7982110D3C; Tue, 20 Oct 2026 18:12:23 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by sin.lore.kernel.org (Postfix) with ESMTP id 670CF3ADA6; Tue, 20 Oct 2026 14:58:35 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
	t=1792508306;
	b=o8BqvKXOaN+t/RtQIt/irlvbh07F/rlgA05FgUgZlODsVbOwIDiATpXGrGmNYa95sHo5
	 knOJXsrooF6u7ZexoTwxWUwrA5hybbG1DTKKaRajJCYnwngA5lyqNqbBy1i0feP7ye2Sb
	 oY4NtxvQYJBtCsfNacDSQU1W8BvxzMJM8XTyW3aPW62+hi78hehDoSKP5Pu1AvG8Emg1y
	 8CH4XLqzMith1rNi4JC/O7xYYFPkSuE36hA4h4skbYJ9LRxPoeGcYG8TNvQD5//AUNu6t
	 djyPvtPGYdiffO8zdai7R9fE7jbthLULfB3DKBATzBJfOXZLlV2XuO0Jq3jGpo1W/OQ==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1792508306;
	h=X-Original-To:Received:DMARC-Filter:Received:DKIM-Signature:From:
	 Date:Subject:X-Mailing-List:List-Id:List-Post:List-Help:
	 List-Subscribe:List-Unsubscribe:List-Owner:Precedence:MIME-Version:
	 Content-Type:Content-Transfer-Encoding:Message-Id:References:
	 In-Reply-To:To:Cc:X-Mailer:X-Last-TLS-Session-Version;
	bh=28+LnlCRAvjMNnWFEtfBXa2DgYOE3LxqM/Us2XEafcE=;
	b=OV21ElkLK3a0X4v+vFz2bMx4j2cr2+51LwE+MJy6x+wb3QFcBKwhcdINN404nyFBOGI3
	 wpZcuqD7K9XxFTR7TGSDcBLV99aK45mdXvV3oULajxESEO/FkvqP/Gg6ZLqWeoPruLePp
	 GMRr4JH9l9KzESZ4HOnWcxOLdSMmuBbGCdPV5DBW7dMiPOXzF7TxtAQkPZNxaERXpG87g
	 VaiuWDwSVnZFNe7DRIdA00j5bddqN0YU3YgdMIm0T/rtyrJOGY/p4mKN+RD1lBbNV0rGN
	 eTYYzl5osohVaMaqFeUPfqdyBp/pEJq1nOvJVpXfCOjFUIzhbaCHZWvvLOWmFIBXZcg==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=tipi-net.de header.i=@tipi-net.de header.a=rsa-sha256 header.s=dkim header.b=M8V5ZhLd;
	dmarc=none header.from=tipi-net.de;
	spf=pass smtp.mailfrom=tipi-net.de;
	arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-Received: from localhost.localdomain (localhost [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id 4BB8860A262A;
	Tue, 20 Oct 2026 14:58:26 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key, unprotected) header.d=tipi-net.de header.i=@tipi-net.de header.a=rsa-sha256 header.s=dkim header.b=M8V5ZhLd
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=194.13.80.246
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1792508305;
	b=17pwVrGdgJGqhoIiTRpi5vi/fCZlz0R7AdY2RqytYeVQF94Ay5Jty2u4EyTuPNwVWbz0
	 IzYD/AB+WaF1k647RWv9S7hoifIbjH6za4YJzpeDbAcX6+87nDbMG2t+DI3xiJTDrFEoQ
	 4skeeA8y5uMEPj4wMLveJwszeiXW+jHLaTrZQrMYY6w4WGSf4HLGvzbcbBk9F78XaVPRo
	 z9BPJh9xNvqfZA7LqD5CMjAk8Mpa0HsR033xpG/ZfYHIvLMZSUNdEnTkWbbeqHi17vEis
	 lRpDKq47icZH745PhvqmWynq9BQ5v0YPbvxdqHdFQ5mZG7Tq0T+Vez9ygUTd/2Mzj3w==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1792508305;
	h=DMARC-Filter:Received:DKIM-Signature:From:Date:Subject:MIME-Version:
	 Content-Type:Content-Transfer-Encoding:Message-Id:References:
	 In-Reply-To:To:Cc:X-Mailer:X-Last-TLS-Session-Version;
	bh=28+LnlCRAvjMNnWFEtfBXa2DgYOE3LxqM/Us2XEafcE=;
	b=Dl7L2mCIaSNO3I2wFR+IG3LJsEqDd6KZJHtmkKkekoL4FCEHdB32sOVIQUjgcVwZnshh
	 n+zKejyX90JOpaXYNqWfWcNPwJwo/ZhRC2rJmWIxb4mCmkzzBT70+0jpEFCgeGoABFyCX
	 bh/Q1SS489cPeoGYTn37RIS2QBJQziORjMP6uHnrS7uhX88HVfj8t9xts1NHrX/XbTBKR
	 qwUtsfZ5GS+JkEwUt3AYbfp8SLxyAcuk1LaNdgo62tJE+nAMeD4SpzTqS9oI4RSnFqBgc
	 lD6GT0RqA5ZnPrp/chjd274hcF4MfU1DpNnpnFV7zf8OREqAfWN230xyWjU/XWHmIug==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dmarc=none header.from=tipi-net.de;
	spf=pass smtp.mailfrom=tipi-net.de;
	dkim=pass header.d=tipi-net.de header.i=@tipi-net.de header.a=rsa-sha256 header.s=dkim header.b=M8V5ZhLd;
	arc=none smtp.remote-ip=194.13.80.246
X-Received: from mail.tipi-net.de (mail.tipi-net.de [194.13.80.246])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature ECDSA (prime256v1))
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id ED024606A32D;
	Tue, 20 Oct 2026 14:58:24 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org ED024606A32D
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=tipi-net.de
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=tipi-net.de
X-Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 7BC16A1628;
	Tue, 20 Oct 2026 16:58:22 +0200 (CEST)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tipi-net.de; s=dkim;
	t=1792508303; h=from:subject:date:message-id:to:cc:mime-version:content-type:
	 content-transfer-encoding:in-reply-to:references;
	bh=28+LnlCRAvjMNnWFEtfBXa2DgYOE3LxqM/Us2XEafcE=;
	b=M8V5ZhLdLP3LvMwiq4WLC8waJafgH/ggE9IV/fUO9k72p7paoT7bTW8OLj17qkl/LXO2RP
	17J+nJu+eccJY9EvE1yZfYHNQUtSEApxWrv7fUhmTfHef+iNHGnqDahBTAYv7cts7Gy/XW
	EPiTa680zH0/pHpnif0QtJSlO+yEQG/SrZat5kXyieek22X2PdI0H/EqJyJ+DM4iuIKTKw
	uRpySKyZWbR4d09zbWBOFXYemrdDoEmeqFdf5JGdlOaR2GM8PRWF0/aVPd45P5od+9oFts
	Vw6I2JZj/Zp/Dp6nbabbMLssI+ztUdpfbkJPtExxVDOxak4uzyYj/+8eCP6fYA==
X-Mailing-List: netdev@vger.kernel.org
X-List-Post: <mailto:netdev@vger.kernel.org>
X-List-Help: <mailto:netdev+help@vger.kernel.org>
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-List-Owner: <mailto:netdev+owner@vger.kernel.org>
X-Precedence: list
X-In-Reply-To: <20261020-devel-bcm2711-gisb-clk-v1-0-a1728724d0f8@tipi-net.de>
X-Cc: linux-clk@vger.kernel.org, devicetree@vger.kernel.org, 
 linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, 
 linux-kernel@vger.kernel.org, Andrew Lunn <andrew@lunn.ch>, 
 Stefan Wahren <wahrenst@gmx.net>, Phil Elwell <phil@raspberrypi.com>, 
 netdev@vger.kernel.org, James Clark <jjc@jclark.com>, 
 Nicolai Buchwitz <nb@tipi-net.de>
X-Mailer: b4 0.16.0
X-Last-TLS-Session-Version: TLSv1.3