Article View: linux.kernel.netdev
Article #26031Re: [PATCH net-next v8 2/3] dt-bindings: net: dptel,dap8211r: add LED nodes
From: Andrew Lunn
Date: Wed, 02 Dec 2026 23:44
Date: Wed, 02 Dec 2026 23:44
45 lines
9392 bytes
9392 bytes
On Wed, Dec 02, 2026 at 05:43:25PM +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.
It this needed?
> - $ref: ethernet-phy.yaml#
contains:
leds:
type: object
properties:
'#address-cells':
const: 1
'#size-cells':
const: 0
patternProperties:
'^led@[a-f0-9]+$':
$ref: /schemas/leds/common.yaml#
properties:
reg:
maxItems: 1
description:
This defines the LED index in the PHY or the MAC. It's really
driver dependent and required for ports that define multiple
LED for the same port.
required:
- reg
unevaluatedProperties: false
additionalProperties: false
It seems like you are just duplicating this.
Andrew
Technical Details
Message-ID:
<6bead654-3177-4326-909b-c7b52fa4a4ee@lunn.ch>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-376130-linux-kernel-netdev=dewy.ruReferences:
<20261202144329.3167956-1-a.shimko.dev@gmail.com> <20261202144329.3167956-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-376130-linux-kernel-netdev=dewy.ru From: andrew@lunn.ch (Andrew Lunn) Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net-next v8 2/3] dt-bindings: net: dptel,dap8211r: add LED nodes Date: Thu, 3 Dec 2026 00:44:59 +0100 Organization: Usenet Network Message-ID: <6bead654-3177-4326-909b-c7b52fa4a4ee@lunn.ch> References: <20261202144329.3167956-1-a.shimko.dev@gmail.com> <20261202144329.3167956-3-a.shimko.dev@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: usenet.network; logging-data="2090184"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:X9uG74yZJhcsNHRVpvz9fylOsEA= sha256:+na/PjMe5b1SELy4A3OfrPyHPAuwbrl5Z3TtlBH3jTU= sha1:00m8Q4ILwozxgOKg61m/c607vB4= sha256:Jxox57X2XH+yk+wf0sLMXZ/slHUzKnQx6pkOY80pyXM= 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 511EB117799; Thu, 3 Dec 2026 02:45:45 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.15 X-Spam-Status: No, score=-3.15 tagged_above=-9999 required=6.31 tests=[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 mEB8xEOtvg5U; Thu, 3 Dec 2026 02:45:41 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-376130-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 tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114]) by mail.dewy.ru (Postfix) with ESMTPS id D924D117793; Thu, 3 Dec 2026 02:45:31 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by tor.lore.kernel.org (Postfix) with ESMTP id 52E3B2793A; Wed, 2 Dec 2026 23:45:29 +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=1796255128; b=kv2nv8kyMmhCnxn6+giKyoChqcLCaaAvLF1EZh5sCojoqMXBv783bFmsBLe++1vZRGLl wLNZrF3Ne67EwZBzLIliM8z6AvlzhsCS37fJ/3SOPGxGO7PEG1V57m72bfBDRZcBZ3lBi EStjIwh6ruHh7w1ErkfLtW7eI6OCU9PwW+prm7XJw3TI70sYN8ac88G6Dkpb89DL0qjAj cQDcPBL5MBpbJGs4HHJHZwVgXahfoCnOhL+jKMU0sFkt77cZ3U7WhxBzb+51xvhPWdwwj CV5CVzDMfKKavH5GGlJfOUF4gt4mzQt5NEYGxRnR6/bFMCjyB3UNaLYM7UV8IH4UpJw== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796255128; 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=IMuyln4mhrV2oup5LI26A04wQz6Xw+76+Yxg6po7i64=; b=mRyV1LkFmOTq6E+i9qc8W5az2PEmfnZ8R6OqSz1TG45PvN8SjKtsFk3Wn9uoMjWPYSVE ndjlxP3tAGrJpQnHTfOAC5O2t17zsT1cs/wcc34xl16Gaez6vqQnL9EdbbmemgAFlb2Nx BbQBJlnEKcG6gVte4LFxOOfsr6pWJf3vM37bpaOXyykSF6wZm0ywBQCO8oPglrgGe58WL 0yr/hbzqLOZsoS9o2+ULn+FJWDnavNP+p/KaMG+mHTvlrI/AfNh6aTRmHP8svF3khyfq3 ckfcUGVPL0BS5SIF7INSZNe2nLxFVs+Gni3ntNKatzW52Hg1pM1jF5sZnw7o0s9CD/w== 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=DkuPfSaY; 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 8112C606A33D; Wed, 2 Dec 2026 23:45:28 +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=DkuPfSaY 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=1796255127; b=b5f5sBulWExtcSP55wvGsBCtj7pJDY6/+t5EJpOtui2CIkaYodGWw6W/eL6kXj0MAXOe lZzSAOVCLrAvw91yq1PPNc67pNJr/MeWJextlgtKN0TUXswCODij1P8vkz5Dp4G7UyANm Cjkz058OlDWlG8dHJvpcTnadxOyBzQ/tOjXMboxQA5830q2Urz2tWlYQzHOm1CpWpv1Os N8HuSg42uGsFFygggL3/Z5c1bIrWHYNKtwlbsU6tumTigowjVSwjKIPmLMgIU/x2jFqKL +nWUtWUF73UtqHvPELaqIUnXoK2RS++vKc99Abub2TGGWNHHqdIwx+cr/a4RJkRivCA== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796255127; h=DMARC-Filter:DKIM-Signature:Received:Date:From:To:Cc:Subject: Message-ID:References:MIME-Version:Content-Type:Content-Disposition: In-Reply-To; bh=IMuyln4mhrV2oup5LI26A04wQz6Xw+76+Yxg6po7i64=; b=0gqP6xemwandi424giExdvGU9bEgca0/34Zwb0tXOZuPelMyf43XqJgVWNsNN3sNVpAc 5P2WIGwqYvAvwHvAPe1nsDBxkxPWUxmnGsONiC3fWgVTo7UMrbZbzePfwfrPCBcXTDRgG 5lWrwaBeRq8YR6tmNM6Ah1kQjZeemWHSu2CNjRUQ1ygQeEb6tkJt66FVyJ5CM6kM7g79h RZgVYTMTyP76myAfOkVOwlWBfatY+EyxTYs4TiFlD5gK8o4opBzdIrbAgwnS8ndRSvNj2 YFzxTIApwMZHJONIE550UfZOGhBfZocJLln95tftDe1YbHt9JxR+3xPrSY/lvyAddGA== 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=DkuPfSaY; 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 3E3E1606A32D; Wed, 2 Dec 2026 23:45:27 +0000 (UTC) X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 3E3E1606A32D 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=IMuyln4mhrV2oup5LI26A04wQz6Xw+76+Yxg6po7i64=; b=DkuPfSaY1XJGftvB58+dKUsgQM pypMw1Qfq0GUW1uXBDE/mn008XlRCgFtzfkv7t62pljygkpSMbgL4aUAA//tZ7ml/orL96/l8/SuO Se88GXvwxNR7rhwofl2CPPXB3ujiK1pSQk+6fL1rodMFH9Gt5v6uzdcaK3GCF075FtoE=; X-Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from <andrew@lunn.ch>) id 1xYu0R-002ubA-Sd; Thu, 03 Dec 2026 00:44:59 +0100 X-Cc: 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: <20261202144329.3167956-3-a.shimko.dev@gmail.com>