🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #17236

Re: [PATCH net-next v6 2/7] dt-bindings: net: ftgmac100: Add AST2700 compatible

#17236
From: Andrew Lunn
Date: Mon, 16 Nov 2026 14:10
21 lines
9042 bytes
> > +  - if:
> > +      properties:
> > +        compatible:
> > +          contains:
> > +            const: aspeed,ast2700-mac
> > +    then:
> > +      required:
> > +        - phy-mode
> 
> [Severity: Medium]
> Is phy-mode really mandatory for every AST2700 MAC node? The binding
> also documents the use-ncsi boolean. That mode runs the NC-SI stack
> over RMII instead of talking to an MDIO PHY. The first example in this
> file sets use-ncsi and has no phy-mode property, and that is a valid
> setup on the earlier Aspeed parts.

This seems like a valid point. Maybe make it conditional like the
code, either phy-mode, or use-ncsi. Both or neither is invalid.

	Andrew
Technical Details
Message-ID: <51667f1f-4f2b-44ea-b725-87cf63c2c9dc@lunn.ch>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-364420-linux-kernel-netdev=dewy.ru
References: <20261112-support_ast2700-v6-2-238020bf46cf@aspeedtech.com> <179483725554.3136.8359940788845125105@kernel.org>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-364420-linux-kernel-netdev=dewy.ru
From: andrew@lunn.ch (Andrew Lunn)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net-next v6 2/7] dt-bindings: net: ftgmac100: Add AST2700
 compatible
Date: Mon, 16 Nov 2026 15:10:21 +0100
Organization: Usenet Network
Message-ID: <51667f1f-4f2b-44ea-b725-87cf63c2c9dc@lunn.ch>
References: <20261112-support_ast2700-v6-2-238020bf46cf@aspeedtech.com>
 <179483725554.3136.8359940788845125105@kernel.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Injection-Info: usenet.network;
	logging-data="2082487"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:UP6N4foawCQwA2EJELwQgWIbXG0= sha256:lHyhLQwtoHDyQO/nTWzCWh66IVKpHXUtrt51sFGpS+s=
	sha1:VWAIc29GhftAmCv6fgRIkKycABc= sha256:LQV0UJTfZmuZ6jBbI2KVPvFEXPumSPujdPIsXr+asCc=
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 084B0114C59; Mon, 16 Nov 2026 17:11:08 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -1.95
X-Spam-Status: No, score=-1.95 tagged_above=-9999 required=6.31
	tests=[DCC_CHECK=1.1, DCC_REPUT_70_89=0.1, DKIM_SIGNED=0.1,
	DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,
	HEADER_FROM_DIFFERENT_DOMAINS=0.249, 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 (1024-bit key)
	header.d=lunn.ch
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 I0pfwcg11y3m;
	Mon, 16 Nov 2026 17:11:03 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-364420-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=lunn.ch
X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
	by mail.dewy.ru (Postfix) with ESMTPS id 86308114C11; Mon, 16 Nov 2026 17:10:55 +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 8E73D3666D; Mon, 16 Nov 2026 14:10:47 +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=1794838246;
	b=yF3gbO2GoyqX3du+IF1UFH9CkJ5IqAylsA0CgD6/tYygmT56hThPN8jh1PJ1DyqGF2Y4
	 o9K708JblpY+1asmPOFvKVc81rrUi/dapjXovUtsXH8uWYwTrZlDE2NHSMJPNkAzXX1iK
	 IdgRiCJOjInLBvKL4KuhHX0bY0AECdn9NtdkK2zapnGtFcMNw1HcTQpUBVmwNXVBYNEVE
	 0+kwFBU6ZeOPInrlcmCqeYEds2kAts8PxQO9/svAOiL67395blqVsuE1L3Hf1p+Ci3Zgl
	 z2c5dWFwmlqht4Kck+6QScnNDxEd2p3VUQ8tJQ1bwzduIiuo26wxqSZAHyhBYN5uXig==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1794838246;
	h=X-Original-To:Received:DMARC-Filter:DKIM-Signature: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=9Ww2B866Qzj75gaqNgDn9gH66Ny8eO7Uks5H+nxKStc=;
	b=Ht48Rh1T51ttNjtbQyK5hbIEw3C8N95rNOFDuI6X3MOzRWfw048FJLHyLBC51qa/FbqC
	 jxrC9WIbmdHbBdN37GV6uI099/oTGCLL+4azTXLKR77Has7cw8TGYO96BvL9ceHXeKH+e
	 2Q0BzXIdL78uqtl4gsadUAP9y2/alghWwNXn+IrafWu2HftS2SdwAV/ScKe0leL3Dmo+Z
	 zKLbJ3HUTV9rfVaeVGblkAOjbOkE6V2ij85zSqXep/jTmkfQI9Za9R1HNvXbUlntd8n9x
	 IXHUn3TFda/Gh0/pfkL6nfa1o1EJipVly1o+8XTjPK4WfawXDQIIlJMAFoMowzZ9Erw==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=lunn.ch header.i=@lunn.ch header.a=rsa-sha256 header.s=20171124 header.b="o/pEEvs8";
	dmarc=pass header.from=lunn.ch;
	spf=pass smtp.mailfrom=lunn.ch;
	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 9103E606A33D;
	Mon, 16 Nov 2026 14:10:46 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.a=rsa-sha256 header.s=20171124 header.b=o/pEEvs8
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=156.67.10.101
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1794838235;
	b=a7EzM7wdunxXaqSyvTRwtBDwQFbaYLS1TQrAvWM/EoKx/5Vzy/0KYzTcFAWVHdECzp1o
	 GuGKuW71bSUg0+AphBxkZIrdcoaVfOdivjqwCiuePucowXeptxhxHxYgnTEA3O8bdq9EE
	 lyhNKEZD0+vz6CaX4Sk/vBJnyesLzneM85sx/Mczdqv89IQyOcaWFhirSzjSa9ZHJMOk7
	 8bxL40ZcEMrfUhdN36EpgS6ljS34yEXIIB+nggMMFazCtnWx6FZ7zHHf7HJYybaOOdMdi
	 JCdutrhOzx00CdXpYIZcMH71B07XIrcUppq/AZYw4lvKuLWmdUbRNQHnLqZEIfFzaBg==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1794838235;
	h=DMARC-Filter:DKIM-Signature:Received:Date:From:To:Cc:Subject:
	 Message-ID:References:MIME-Version:Content-Type:Content-Disposition:
	 In-Reply-To;
	bh=9Ww2B866Qzj75gaqNgDn9gH66Ny8eO7Uks5H+nxKStc=;
	b=nC5iJP5zUTajI+rgWzk5C4ZZYLjFiOifIAkLzY8LvP5LDd4iltYVUVpx3hG5dRx+gb3+
	 P3Ms8dZCd1Xr3mwHolIrSmxCi4HXR6OKa2Bj5HN1pYxE+9DEntvUyZVGprSHYdSXl6UjX
	 PjGBi7nCF1eocjVxNij6DWEizIJ+xCvX6dCQDIgb2osi/jpyN03nQq9JKEJWBACvjWRFE
	 IaEN/SRb8jObtYV3nwHdzMo+L779XPj4qpElo6luKpo1anvnfZzjxk6yAsLUh+N5v0png
	 1R/YftA30XiplSCerQn7ky/US/skTJIU1KaZSv8T/vj2OVtZ4bCrEDmOUwDbcXGNtBw==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dmarc=pass header.from=lunn.ch;
	spf=pass smtp.mailfrom=lunn.ch;
	dkim=pass header.d=lunn.ch header.i=@lunn.ch header.a=rsa-sha256 header.s=20171124 header.b="o/pEEvs8";
	arc=none smtp.remote-ip=156.67.10.101
X-Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange ECDHE (prime256v1) server-signature ECDSA (prime256v1) server-digest SHA256)
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6A7EA606A329;
	Mon, 16 Nov 2026 14:10:35 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 6A7EA606A329
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lunn.ch
X-DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch;
	s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version:
	References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject:
	Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding:
	Content-ID:Content-Description:Content-Disposition:In-Reply-To:References;
	bh=9Ww2B866Qzj75gaqNgDn9gH66Ny8eO7Uks5H+nxKStc=; b=o/pEEvs86dEc+pMCHsYRxbJ5Ye
	9fJHYQOKPsZNt1ibHSs+Q94g06Uw6dYYoBAvBm9/YOqpg6lmDQgUQkigm+br3yKhjTHoO7fnSLXmA
	o+aIFKR6NBd96a/hc3dKBUxFRgcAZxOQqWgEZ2LgAzx7HPlCDc+H2QqCE9eD8gqzi7dg=;
X-Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2)
	(envelope-from <andrew@lunn.ch>)
	id 1xSxPZ-00Gw0P-Tz; Mon, 16 Nov 2026 15:10:21 +0100
X-Cc: jacky_chou@aspeedtech.com, andrew+netdev@lunn.ch, davem@davemloft.net,
	kuba@kernel.org, pabeni@redhat.com, robh@kernel.org,
	krzk+dt@kernel.org, conor+dt@kernel.org, ratbert@faraday-tech.com,
	edumazet@kernel.org, hkallweit1@gmail.com, 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: <179483725554.3136.8359940788845125105@kernel.org>