From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from layka.disroot.org (layka.disroot.org [178.21.23.139]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4F1B72222D7; Fri, 1 Aug 2025 09:13:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=178.21.23.139 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1754039599; cv=none; b=Gd2tIerowH0EhTod3OSwAcgIY8LpaDcdl6fZ68qva+K3MRj+wyPYgzCY9L72fxHG4hP9RHhIz9J5DugMMpFrQVH9USRtfI0tHc8qPbd3cNOxPRNae046OebTiesyEw+ErEJWI+1oX6ZAKQ2lKHSx0C23/kGg60fsGWEWeaMMvqk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1754039599; c=relaxed/simple; bh=0a/cTE0bx1ATJ5XeKNodUXK3aNY1rEiyvhz5v3jv5T8=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=CqTEfX+n2+Z1pzCnp6TLlmZa/jV8XRv0ncJtaE0ZOy8mKnluxMC2FbCBkS4HYZiCwxTcOGxWiWtCBvh/5AuFP7RED7q+rX8Ozxq4IXc0im9fZgFKFzfrX0MJResbVROc/NqapXAh6rT2LYaHUDp0hVcTE1xdFMvkF9qYHCR8K3Y= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=disroot.org; spf=pass smtp.mailfrom=disroot.org; dkim=pass (2048-bit key) header.d=disroot.org header.i=@disroot.org header.b=eFJntMlv; arc=none smtp.client-ip=178.21.23.139 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=disroot.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=disroot.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=disroot.org header.i=@disroot.org header.b="eFJntMlv" Received: from mail01.disroot.lan (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 6377A2072F; Fri, 1 Aug 2025 11:13:14 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from layka.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavis, port 10024) with ESMTP id hIxTaEIjrnft; Fri, 1 Aug 2025 11:13:13 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1754039593; bh=0a/cTE0bx1ATJ5XeKNodUXK3aNY1rEiyvhz5v3jv5T8=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=eFJntMlvqkYUyfSsujXcVIBs5oApoYhdSGJGyQIYLP71GO2TqgTlWq8dEJtoB/vhD RftaFO0h68vB5P0f1aixtY4w+J6skwOr73EtHBvnOl0HSZly+axLy+TOvq3gaLWiSF aMKQXMEkygd8H4h+L5j+j6sISNNuDCaHMMZJ0TcN11pZHWiTyDvk2J5TyGdNtiNVgf G3j+CTaIBZq0F62HYmX+5K/dMYcIlVK34qIp1o69P757ZSHuwX+Aw1WqcgzbNwEw10 vcgk45l+5Te7bEj7vQ6/noZXUurs6g4EIxOjVUk6SfhCvcJ7grfc4dXqmGKa7L2Uov uHUeGpH2E5UYg== From: Yao Zi To: Drew Fustini , Guo Ren , Fu Wei , Andrew Lunn , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Paul Walmsley , Palmer Dabbelt , Albert Ou , Alexandre Ghiti , Emil Renner Berthing , Jisheng Zhang Cc: linux-riscv@lists.infradead.org, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Yao Zi Subject: [PATCH net v2 1/3] dt-bindings: net: thead,th1520-gmac: Describe APB interface clock Date: Fri, 1 Aug 2025 09:12:38 +0000 Message-ID: <20250801091240.46114-2-ziyao@disroot.org> In-Reply-To: <20250801091240.46114-1-ziyao@disroot.org> References: <20250801091240.46114-1-ziyao@disroot.org> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Besides ones for GMAC core and peripheral registers, the TH1520 GMAC requires one more clock for configuring APB glue registers. Describe it in the binding. Fixes: f920ce04c399 ("dt-bindings: net: Add T-HEAD dwmac support") Signed-off-by: Yao Zi Tested-by: Drew Fustini --- .../devicetree/bindings/net/thead,th1520-gmac.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/net/thead,th1520-gmac.yaml b/Documentation/devicetree/bindings/net/thead,th1520-gmac.yaml index 6d9de3303762..b3492a9aa4ef 100644 --- a/Documentation/devicetree/bindings/net/thead,th1520-gmac.yaml +++ b/Documentation/devicetree/bindings/net/thead,th1520-gmac.yaml @@ -62,11 +62,13 @@ properties: items: - description: GMAC main clock - description: Peripheral registers interface clock + - description: APB glue registers interface clock clock-names: items: - const: stmmaceth - const: pclk + - const: apb interrupts: items: @@ -88,8 +90,8 @@ examples: compatible = "thead,th1520-gmac", "snps,dwmac-3.70a"; reg = <0xe7070000 0x2000>, <0xec003000 0x1000>; reg-names = "dwmac", "apb"; - clocks = <&clk 1>, <&clk 2>; - clock-names = "stmmaceth", "pclk"; + clocks = <&clk 1>, <&clk 2>, <&clk 3>; + clock-names = "stmmaceth", "pclk", "apb"; interrupts = <66>; interrupt-names = "macirq"; phy-mode = "rgmii-id"; -- 2.50.1