🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #25822

Re: [PATCH net-next v7 2/3] dt-bindings: net: dptel,dap8211r: add LED nodes

#25822
From: Krzysztof Kozlowski
Date: Wed, 02 Dec 2026 14:12
54 lines
9515 bytes
On Fri, Nov 27, 2026 at 09:37:04AM +0300, Artem Shimko wrote:
> Document the optional "leds" node supported by the DAP8211R PHY.
> 
> The PHY exposes three configurable LED outputs, each of which can be
> assigned a color, a function and a default trigger.
> 
> Signed-off-by: Artem Shimko <a.shimko.dev@gmail.com>
> ---
>  .../bindings/net/dptel,dap8211r.yaml          | 41 +++++++++++++++++++
>  1 file changed, 41 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/net/dptel,dap8211r.yaml b/Documentation/devicetree/bindings/net/dptel,dap8211r.yaml
> index 4cd0f9730d95..84efee27400e 100644
> --- a/Documentation/devicetree/bindings/net/dptel,dap8211r.yaml
> +++ b/Documentation/devicetree/bindings/net/dptel,dap8211r.yaml
> @@ -20,6 +20,7 @@ description: |
>      - IEEE 802.3az-2010 Energy Efficient Ethernet
>      - IEEE 1588 SyncE support
>      - Internal packet generator and checker for link diagnostics
> +    - Three configurable LEDs (link, speed, duplex, TX/RX activity)
>  
>  allOf:
>    - $ref: ethernet-phy.yaml#
> @@ -45,10 +46,31 @@ properties:
>      maximum: 2250
>      default: 1950
>  
> +  leds:
> +    type: object
> +
> +    properties:
> +      '#address-cells':
> +        const: 1
> +      '#size-cells':
> +        const: 0
> +
> +    patternProperties:
> +      '^led@[0-2]$':
> +        type: object

missing additionalProperties/unevaluatedProperties false

missing $ref to led common schema


> +        properties:
> +          reg:
> +            items:

Drop items.

Best regards,
Krzysztof
Technical Details
Message-ID: <20261202-vagabond-metal-hyena-8a2bfd@quoll>
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu.MISMATCH!feed-us-txt.newsdeef.eu!feed-us-ny.newsdeef.eu!srv.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-375839-linux-kernel-netdev=dewy.ru
References: <20261127063708.3074433-1-a.shimko.dev@gmail.com> <20261127063708.3074433-3-a.shimko.dev@gmail.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu.MISMATCH!feed-us-txt.newsdeef.eu!feed-us-ny.newsdeef.eu!srv.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-375839-linux-kernel-netdev=dewy.ru
From: krzk@kernel.org (Krzysztof Kozlowski)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net-next v7 2/3] dt-bindings: net: dptel,dap8211r: add
 LED nodes
Date: Wed, 2 Dec 2026 15:12:51 +0100
Organization: Usenet Network
Message-ID: <20261202-vagabond-metal-hyena-8a2bfd@quoll>
References: <20261127063708.3074433-1-a.shimko.dev@gmail.com>
 <20261127063708.3074433-3-a.shimko.dev@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Injection-Info: usenet.network;
	logging-data="1986825"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:JOJThCqM3fCO+d1G6uqHjnsYCjg= sha256:NbcVy5Z/K7D2GMNMrZ0vgq3vhTck6bWl5nfYz0y2Xh4=
	sha1:Y5zcwzHdLXt0Tc81jdOg9VrR5ks= sha256:RSHWCVbBjy4F8S5FF6UKsDxnKYx/iqHkQU5WYKLAln8=
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 BF13A117663; Wed,  2 Dec 2026 17:13:52 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -2.301
X-Spam-Status: No, score=-2.301 tagged_above=-9999 required=6.31
	tests=[DCC_CHECK=1.1, DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.001,
	DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,
	DKIM_VALID_EF=-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-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
	header.d=kernel.org
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 OS63X9wvfvr1;
	Wed,  2 Dec 2026 17:13: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-375839-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 A02A8117620; Wed,  2 Dec 2026 17:13:41 +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 7EC6F343FF; Wed,  2 Dec 2026 14:13:07 +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=1796220781;
	b=yc+rdmbQsivEvgeGwzerVZu3gBTTwp6tsrB4DEmrsBwNH1oE280h/udprfTQqc+YnM98
	 ICf9T6/UaPR74O6L4tklX5wKOw2i7trVVv1ZicyGQA62LqZgUALaMv77fWXkUOcFD1gHK
	 JNvsrrE6THfoYqVpp10lRSE1/b7DKLyNO0+Rrd+dEvmCM0+yHXJSKQZURNQwXgz2urkCx
	 GdyXimss8WbHrmI+1zmoX7ZRcVp1N6U16iXJxzRoUhn/irjVsmyPDtmUFM1t3JUx/vHCr
	 eM7tfW+GHIRwfuDLQ+ZDAnKJl7djwSvji64s9Ra77rPL0F4Bf1yPFXmEqJ/fRSda+ew==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1796220781;
	h=X-Original-To:Received:Received:DKIM-Signature: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=eh1+/keLPNyD3DOpYpRoYLbs2NLOEZ5uX6tkTEuUt88=;
	b=srzOWP0AHe0fTzZnITtTQ+ipINeg5Y/UoF+n93wq6yiijy9OtJ+z3SzQM5o8x0gGfXx9
	 dVOsFirBoPc8kgiUUhi/ygvDbZcHUn5ddC+CDN8LRRcNEeCB4mjeFhAmYSnuKHfD20hvx
	 tuM46BGUUtyKwLcbJXkpa0eMgZGta8Qei1Q/j4K7l9pzJjdwPOUh7UsOKMu1klRAHE4fP
	 utkMAxsx00+QId4ZuFgxkFVqOWAdGrPQaya0NdOmu89NPfTSwAvMeDwEQhKHvbgE0IqOx
	 5aioCyIpXj/BbXzdyT0NnheftsPLr7JUnNYvhkA6wpiVt1Yo8YtdzRzovpuGQqMAEtQ==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=TeglkraA;
	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 E034F606A323;
	Wed,  2 Dec 2026 14:13:00 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=TeglkraA
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=1796220775;
	b=zowSVQLcwF5lDHHjoT+fVI6voBxxlyxEgdp2FKo44uXlrss2ieaMfP4BgNKaGx1Sclhp
	 L82N9G2Ebd54ylvkt3HKsM+QaBG4krbHqNlzn8Fjms3/0XVHEFRNi1X+V4V8hezJj1RSO
	 eBvKLNZaS6PJwHokwllaUcPPy1imDa+6HSNDLtfx71EHzgxfuqOOWHq4z7OJ7Z/RWy/t2
	 l4X9Wl/Sj8Wz0ekEMuLE1L8MzTeBNhn4cp4hTd11yxbbl5Sn/QgSpFlMJzE9r1aEgobnr
	 iH/+NNqSw1bwFGFNrs7jA9jtOM5yTFAs8yUj9D5elOEbUTvreXBxQrD71rWHlmAvVtw==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1796220775;
	h=Received:DKIM-Signature:Date:From:To:Cc:Subject:Message-ID:
	 References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To;
	bh=eh1+/keLPNyD3DOpYpRoYLbs2NLOEZ5uX6tkTEuUt88=;
	b=QHbFZGH2vXQ3WJVK6+yrofXeHk69CwX1EJycqScVLYNrnJhOKRXa4u1Sn5KHHvvk4eji
	 5lYvzqWx+2j7O1W1cHEiJHq87BCDnmAOZKN/nVy+/S0gvlZgfhhl71iOrZ7ZQCT9QFHaT
	 gRuxI3UZ9sn1jpXqTEvQGz9uIa31tE0tK/ZJyQ6gxAqmLgHSzG2ajxsFcJtGRNc4vh9ZL
	 UAc8LxeDDkFzLiSTYcswsXy3cB2+kiv90uLuAgUIkD08+MEvFIzwLlNQ+OBH2Ra7zqt6M
	 yeFQk8Z66z2IgseIeD3KkcLcAWfeuYHgIsI6aUPpT8amkwmi1cIFJQrJ5o6sFHS6DGw==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=TeglkraA;
	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 0C82B606A336;
	Wed,  2 Dec 2026 14:12:54 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id B4DBE1F00A1C;
	Wed,  2 Dec 2026 14:12:53 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1796220774;
	bh=eh1+/keLPNyD3DOpYpRoYLbs2NLOEZ5uX6tkTEuUt88=;
	h=Date:From:To:Cc:Subject:References:In-Reply-To;
	b=TeglkraASLyTJK0+pKMBB0EtBWT4OvI4z8jhMy8pnxe5+y1ZyLFEf9ajFJoTlBGxx
	 c+7y9FTsiSynept7drENW9vujZjFQwObpz++Wva1c7ESMm7yBKVtAS62JNO6aAgf5J
	 9ayTeDMLz9WRJNK1o0Icty2Qa43HutBOHGhlqp98kKp/K/0U4A6WjyRfit98bNJzF5
	 ToWUn3CxKGvAGf/azutM0ozyUuu2pksCcN0SVYDODjyzdARubP6FgehaItOyUhciqJ
	 dblvanAra/utCcBNBIIlPd7M8ClbWRir7lYC9qvKMrJYx9cobLWTby+NbQXqSM3wDk
	 hlv4dID1yM3Pw==
X-Cc: andrew@lunn.ch, hkallweit1@gmail.com, linux@armlinux.org.uk, 
	davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, 
	robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, 
	maxime.chevallier@bootlin.com, pavel@ucw.cz, linux-kernel@vger.kernel.org, 
	devicetree@vger.kernel.org, linux-leds@vger.kernel.org, netdev@vger.kernel.org, 
	andrew+netdev@lunn.ch
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: <20261127063708.3074433-3-a.shimko.dev@gmail.com>