Article View: linux.kernel.netdev
Article #5620Re: [PATCH net-next v4 1/7] dt-bindings: net: ftgmac100: Make Aspeed compatibles standalone
From: Rob Herring
Date: Tue, 20 Oct 2026 18:14
Date: Tue, 20 Oct 2026 18:14
36 lines
8500 bytes
8500 bytes
On Tue, Oct 20, 2026 at 07:34:12PM +0800, Jacky Chou wrote:
> The aspeed,ast2400-mac, aspeed,ast2500-mac, and aspeed,ast2600-mac
> compatibles are currently only valid when paired with the generic
> "faraday,ftgmac100" fallback: if a node ever bound through the
> generic entry alone, ftgmac100_probe() would set
> rxdes0_edorr_mask/txdes0_edotr_mask to BIT(15) instead of the Aspeed
> BIT(30), skip Aspeed clock setup, and leave the DMA mask too narrow.
>
> Make each of them a standalone compatible instead, so none of the
> Aspeed compatibles require the generic fallback alongside them.
>
> Signed-off-by: Jacky Chou <jacky_chou@aspeedtech.com>
>
> ---
> ftgmac100_of_match[] has had dedicated entries for AST2400, AST2500,
> and AST2600 since commit 03a2aba50b2c ("net: ftgmac100: List all
> compatibles"), so there is no known kernel + devicetree combination
> where a node has actually bound through the generic entry and gotten
> the wrong EDORR bit. This part is a binding correctness fix, not a fix
> for an observed failure.
>
> Note that arch/arm/boot/dts/aspeed/aspeed-g4.dtsi, aspeed-g5.dtsi, and
> aspeed-g6.dtsi still declare their MAC nodes with the two-string
> "aspeed,astXXXX-mac", "faraday,ftgmac100" compatible, so this will make
> dtbs_check warn against those files until the redundant fallback
> compatible is dropped there as well. That .dtsi change will be sent as
> a separate series through the Aspeed/arm-soc tree, since dt-bindings
> changes don't go through that tree.
No. This just creates unnecessary warnings even if only temporary.
What a driver uses doesn't matter. That can evolve over time, but that
doesn't mean we change the DT schema.
Rob
Technical Details
Message-ID:
<20261020181441.GA510274-robh@kernel.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-349460-linux-kernel-netdev=dewy.ruReferences:
<20261020-support_ast2700-v4-0-4d36b40939b3@aspeedtech.com> <20261020-support_ast2700-v4-1-4d36b40939b3@aspeedtech.com>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-349460-linux-kernel-netdev=dewy.ru From: robh@kernel.org (Rob Herring) Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net-next v4 1/7] dt-bindings: net: ftgmac100: Make Aspeed compatibles standalone Date: Tue, 20 Oct 2026 13:14:41 -0500 Organization: Usenet Network Message-ID: <20261020181441.GA510274-robh@kernel.org> References: <20261020-support_ast2700-v4-0-4d36b40939b3@aspeedtech.com> <20261020-support_ast2700-v4-1-4d36b40939b3@aspeedtech.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: usenet.network; logging-data="3919686"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:SSUhnWcg8GdI0cRsuDUMTt7yUDs= sha256:6ZrAUeOIHntCOEJA4k63hstCTzjsGOfMeykGE3rXe6Q= sha1:Uevel8Kt1UHohWryCBJnIDHIM/8= sha256:9kSLyw9WVDOgp7eMFtWqekRYEJL5QIhLX0hSrpua1/k= Content-Disposition: inline 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 92691110DBB; Tue, 20 Oct 2026 21:17:53 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -2.1 X-Spam-Status: No, score=-2.1 tagged_above=-9999 required=6.31 tests=[DCC_CHECK=1.1, DCC_REPUT_70_89=0.1, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no 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 Z878Ebs8YN5x; Tue, 20 Oct 2026 21:17:50 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-349460-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> X-Authentication-Results: OpenDMARC; dmarc=pass (p=quarantine dis=none) header.from=kernel.org X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10]) by mail.dewy.ru (Postfix) with ESMTPS id 941B3110DB1; Tue, 20 Oct 2026 21:17:46 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by sea.lore.kernel.org (Postfix) with ESMTP id 4B031385CF; Tue, 20 Oct 2026 18:15:02 +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=1792520102; b=K0/c0DxwGSva3J+0n8GYnmtCQE6GBm0kOUTeP0aDQxiCHoiGwDetGgt5YavtqjKG+mv5 zzwltwE3PNY/Sy69r+rYnnZ2ee5Fy5SFGCbJwBdgMMcdAxbBeVL3Wr8HXZ+F3lLQpB4hP bmVeTs8w+ZVAMjJd8d/ollWxHNeLcgTsCYrErALlAFZ3zEyROBWEWN26tMxqk0ZM8LrQx dkk3mjh5uTPP4ysoAs4U3Wnomfp7Y3cdVAIKkJCRfZnOAUBv6d7utbozwKkb8orTKWUVI GBSRi7vzlKZ4whgsddvNnNFLHLYCqauMWtPwfyJUoOw5FYjPYS/ZaCWCzehGnT2yHnQ== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1792520102; h=X-Original-To:Received:Received:Date:From:To:Cc:Subject:Message-ID: References:X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe: List-Unsubscribe:List-Owner:Precedence:MIME-Version:Content-Type: Content-Disposition:In-Reply-To; bh=uK7yicMd7fV27ely5ePv4vfAPSKVcR6O+lt+i4O5dkU=; b=nzGS2d9+3QVs6AkIvNPKIlLWMyxxJ8zcidDIxs/FAEkuq0xnwif5P7/oEeHZL5nN9423 +c11IQKvSJwZYaVKjOnJ1X+HVo/yhXJiUTyrWhmrGRka1o9I/xJrzDdl02bRLeW+25QHM YWIzCFgLolFQiN63DGGNmCe/UF4UkkwrU6U0naish95t3diiGgY2Fdsd4u4L0vut3b88f JiA1slp/0qsgLhQjbmE+LGS4n5CNsHXnxUjQSgdgZmKU6L4ipNY/OhBUMtf5Aak2MZWVI x9b+4AO4pmIgusL4ocEyhfvetNsVTuuWJvNfM0TJv6H+BhHT/bc9K7/mrKZemPkaDeQ== X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 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 EDC3C606A324; Tue, 20 Oct 2026 18:15:01 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1792520085; b=2XokDx3SOxQaRMLcPhVUnQrC5R2y8swXmZEW9Y6A4qtHppRwXycNJpx1xqjtTM71ayyG uLcgLoKGR3YM/XwiHxKG1G1fsglOEDfko0wo+4kjo6WSIqFhWvWjNFGVBbH+4cYvhNI+W P372qJewwwdHvswM31bXid/yKWq9Q1Xor9DgLdTy3UVM3DO7kjPmwdQ/C1zqNazpCPKfP 6Nzvi4Sn9KKVq+9dS/Z/SdPBIF4kEV+DnY3aUzN0BNd+lkX1qxnL5XPga6wCxqq6X4BVt dfF39pwRir5iT388+jd0cRHZfJaQEJD0xA+eZSowDtG7BtuBiFwldVrLQbFnZWoaAqA== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1792520085; h=Received:Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; bh=uK7yicMd7fV27ely5ePv4vfAPSKVcR6O+lt+i4O5dkU=; b=xPAM/ua+N7zBO53Msg4y0dlR5o2nrN2Oj7QHJsj9D4oNWGW91RiKs3rc1S5Ux4j5gQKZ /pP2rRQB7ghupYMVVKxy+a3R5O0L6VkxzcChH9jfIb8VJwnOjopYhhD6cEBOuinUk96ub FQ3tapsp4bzj8tRaZ1rmAoLBaIPCLdPmyNWsg5DUjkor5aSZne+oS/x8A+ZxAtTEAPta+ yhED3svb6GjqeMb6ZayUOT5KDJWAMUiy0cVkZJDZT5BYj1UR0PFQ5uWd6z73aI9wN8DEy 1keiyRQiQhP/v4b2OmtcqEoLNYS/GKT86piM5L3AKfr1fgnjULiy3YhtpDbOzYTF/2A== X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 X-Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (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 16155606A31E; Tue, 20 Oct 2026 18:14:44 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 983261F000C9; Tue, 20 Oct 2026 18:14:44 +0000 (UTC) X-Cc: Andrew Lunn <andrew+netdev@lunn.ch>, "David S. Miller" <davem@davemloft.net>, Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>, Krzysztof Kozlowski <krzk+dt@kernel.org>, Conor Dooley <conor+dt@kernel.org>, Po-Yu Chuang <ratbert@faraday-tech.com>, Eric Dumazet <edumazet@kernel.org>, Heiner Kallweit <hkallweit1@gmail.com>, Russell King <linux@armlinux.org.uk>, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org 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-support_ast2700-v4-1-4d36b40939b3@aspeedtech.com>