Article View: linux.kernel.netdev
Article #26193Re: [PATCH net-next v8 2/3] dt-bindings: net: dptel,dap8211r: add LED nodes
From: Artem Shimko
Date: Thu, 03 Dec 2026 07:30
Date: Thu, 03 Dec 2026 07:30
62 lines
13749 bytes
13749 bytes
Hi Andrew, On Thu, Dec 3, 2026 at 2:45 AM Andrew Lunn <andrew@lunn.ch> wrote: > > 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. I was initially doubtful about the necessity of this commit, since neither maxlinear,gpy2xx nor other PHYs (realtek,rtl82xx, motorcomm,yt8xxx and etc) have LED descriptions in the yaml bindings. Yes, let's drop the dt-bindings patch, as ethernet-phy.yaml already covers it, and the number of LEDs is verified within the driver itself. Thank you for your review =) -- Best regards, artem
Technical Details
Message-ID:
<CAOPX744wYc7JLrjcePWWpAyU_Uzbd37hsxBfjwAmUYRwu1nWow@mail.gmail.com>Path:
mbox-mo1.pugleaf.net!news-can.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-376373-linux-kernel-netdev=dewy.ruReferences:
<20261202144329.3167956-1-a.shimko.dev@gmail.com> <20261202144329.3167956-3-a.shimko.dev@gmail.com> <6bead654-3177-4326-909b-c7b52fa4a4ee@lunn.ch>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-can.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-376373-linux-kernel-netdev=dewy.ru
From: a.shimko.dev@gmail.com (Artem Shimko)
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 10:30:40 +0300
Organization: Usenet Network
Message-ID: <CAOPX744wYc7JLrjcePWWpAyU_Uzbd37hsxBfjwAmUYRwu1nWow@mail.gmail.com>
References: <20261202144329.3167956-1-a.shimko.dev@gmail.com>
<20261202144329.3167956-3-a.shimko.dev@gmail.com> <6bead654-3177-4326-909b-c7b52fa4a4ee@lunn.ch>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Injection-Info: usenet.network;
logging-data="2411881"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:pqOm4N8nkZ/slosSLzTTQZG8Yr8= sha256:H/M276QvZ56RBuW5uubBYDoXVvP64t2c+SkunZQO7JU=
sha1:YqP7h5kuonuV9AQiZiw7xvM0EVE= sha256:Nbbr8nHgeeyt99m8HKWRyjHaCaguta1BGJzIN11zelc=
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 C301211786B; Thu, 3 Dec 2026 10:31:38 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.049
X-Spam-Status: No, score=-3.049 tagged_above=-9999 required=6.31
tests=[DCC_REPUT_70_89=0.1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
DKIM_VALID_AU=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.001,
FREEMAIL_FROM=0.001, 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] autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
header.d=gmail.com
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 YNarhJ_4HniV;
Thu, 3 Dec 2026 10:31:31 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-376373-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN>
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=gmail.com
X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
by mail.dewy.ru (Postfix) with ESMTPS id 898B8117866; Thu, 3 Dec 2026 10:31:23 +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 0EA692D9CE; Thu, 3 Dec 2026 07:31:16 +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=3; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
t=1796283055;
b=elh4q+qVpKVEFrM5zoBiIWbJYHVfAwgty5xgLf5//WgeT8bT3vriWUj+c1eO7KQCv/v4
HF0bP1LOrc2Rt6XDRkW5yFjz0IB9WDisEgHl6a2STbx1Ad+9F56s5k+TVM415kKAaCO35
+jAgqcevsWGln7a8ITAgzjKdreiYq1GdG93eWHPKuZngEOigKl15GkR8RzvOXNn7cKMBR
U67rVC0lqh5yH4nWnayCHckTUTyql/aJtYfGpV3w3xl7t6tdAl76bbqCjFwiJDo8ovdKq
OMRlZ37orcfa7u2MXprOECrJm207WCujzrde1S/tTafOV6nAC1ZvaMPhZaOklnFz46A==
X-ARC-Message-Signature: i=3; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1796283055;
h=X-Original-To:Received:DMARC-Filter:Received:DKIM-Signature:
X-Google-DKIM-Signature:X-Forwarded-Encrypted:X-Gm-Message-State:
X-Gm-Gg:X-Received:X-Mailing-List:List-Id:List-Post:List-Help:
List-Subscribe:List-Unsubscribe:List-Owner:Precedence:MIME-Version:
References:In-Reply-To:From:Date:X-Gm-Features:Message-ID:Subject:To:
Cc:Content-Type:Content-Transfer-Encoding;
bh=hvCNoRUcQ+AAWV+dpgvxdCgONbfximnH9JA27/04xFo=;
b=M7Dyw0gZbKj/WQGvDfwZ7EIANFwj96bEV8iKBQ6ZohwwAoy4mkCGkq4+uODoNVW4TkSW
EAgh4gEUgVOGgu48+2O+6/2XoBdtlJk2SiKoRCLeeuZ8VhIFN9Kho86cYSXyJRrRXDk77
aCi1AEEmZnfXyxSbutrJltsiqmcbgt2O9O24IDyiqxXTSo7Wc8OuKT4n9O8L2TA+J2ejD
YUtbtrn+WEwgwK9hgArT0Md3DpI9zKBNeg2AMRNkF3NCcbKI6r2tjXEw/sncTEMU3Sg4x
qrcOyYW1XwU6JqyU6quEasNH8xiX7w4YzvBUnQLikvUn1/1Rzh5EUo/JXhtxHTPcvhA==
X-ARC-Authentication-Results: i=3; smtp.subspace.kernel.org;
dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=hDZ2GqSD;
dmarc=pass header.from=gmail.com;
spf=pass smtp.mailfrom=gmail.com;
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 77E3E60A260E;
Thu, 3 Dec 2026 07:30:55 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=hDZ2GqSD
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=209.85.218.42
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
t=1796283054;
b=oTh2gUtMo20snScdvVJB7p7FxJeggx2NqqmN3wj2xtoidMrP0eKdbWSJgmXC5s58Bhl0
PxZb0twTB6uxAU45LeQrCRxQ9CJN+L3x0HvPHPr5pC7xihZE+4Hq4wAAhgCxJDKCuLYF3
ZJ1nqv348M/pOnw5/cYwEka4nDwsaLqaIqxJ0ZN1hEH16i5omA9uUVS8PTt3q5gCfPham
y+4w35OOvRBLfwpuY1w7lwqAP8/XCMehnYyNDZpqE4NyOw4CruOOze9F5zLxz1jYRMiX+
B3zX83NJP6ZuxO+kTP8bWwb1XMt0WmqRSbGsjPeaod2hrNnlO+eJfaNCRl93B9dMkQQ==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1796283054;
h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature:
X-Forwarded-Encrypted:X-Gm-Message-State:X-Gm-Gg:X-Received:
MIME-Version:References:In-Reply-To:From:Date:X-Gm-Features:
Message-ID:Subject:To:Cc:Content-Type:Content-Transfer-Encoding;
bh=hvCNoRUcQ+AAWV+dpgvxdCgONbfximnH9JA27/04xFo=;
b=dcYBnA9JdYTz1FrS1Pm+6vX/bw8nLQwB8UPIMq72gJXBD5staIEOXIP2Dl9r3ObPHChY
o2cYIJh316YMy/XBuYy+SXLF/vrKQQiquUSIDCZI3KgbFip+0Aplgp6MsJ2luwjKzS+Ef
VPILCsUdh2VAPQq+sZgqGRZQkSoO7zFYqmz90aIQvRkstZcJHMyVHJeKD+KahCdIh38Dw
3f6QBp8evP3g3s/Rk5ry6kPum9YCbz1G2cs6uYZ26ExZEk2dTqNeNnp6XQM5gfC+Ie0Bv
roRmbhGhkuE3Ga3iYWZOwSiPNJ5m6S0xKjXfzSAMmvjrpUrQsfNE43q8gK+qIIMOzUQ==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org;
dmarc=pass header.from=gmail.com;
spf=pass smtp.mailfrom=gmail.com;
dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=hDZ2GqSD;
arc=pass header.oldest-pass=0 smtp.remote-ip=209.85.218.42
X-Received: from mail-ej1-f42.google.com (mail-ej1-f42.google.com [209.85.218.42])
(using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)
key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256)
(No client certificate requested)
by smtp.subspace.kernel.org (Postfix) with ESMTPS id 48C9560A2603
for <netdev@vger.kernel.org>; Thu, 3 Dec 2026 07:30:54 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 48C9560A2603
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com
X-Received: by mail-ej1-f42.google.com with SMTP id a640c23a62f3a-c4cac7a7d3cso2102476566b.3
for <netdev@vger.kernel.org>; Wed, 02 Dec 2026 23:30:54 -0800 (PST)
X-ARC-Seal: i=1; a=rsa-sha256; t=1796283053; cv=none;
d=google.com; s=arc-20260327;
b=nFkBkj/XP5KwovBuDvPqB/Crt1VunTZJP4AKUHYgDW6Sad+jWkSujjDreA6mb68MPM
MwmGpG+5Z6LQ10Pv549nAs+XeKqtDBCm6K0QpNxIm3+DYumu1ITmh75wtLRLLiOXmhPX
YPNl5Z4AJ39dRsCW4PNNzYNNcfJfY8Qez70iE6yoaK8EjlclV3IJFi5p2tNRwD9M4ED8
7BjFXKaCMynk6QR2ZMPgWAS13Dioq32dGtHYOrhjCRzyDRB6jh90rfk+hBOUWE8ur78P
SSmWWdjgPkfecuewHlNHnDEf3GznnJYo7S80+ALuPS+7vh//iSG2CP55dqkpRVIDfB5H
BfDg==
X-ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20260327;
h=content-transfer-encoding:cc:to:subject:message-id:date:from
:in-reply-to:references:mime-version:dkim-signature;
bh=hvCNoRUcQ+AAWV+dpgvxdCgONbfximnH9JA27/04xFo=;
fh=emwc9UND+SLwBxtQ8+kcpoFYLPOUJT68k2yTnEPCxvA=;
b=aIWaSDCMhZjyxC37FT1AaH0tJ7jTijnR8EIGUYwjnuwBGvn2QreS+4MoZnAdKE1pmE
Ff/s8PyiPQqa9JpQnuIDea16V2hPOQFYG/FAo/6ByG9o/XjWEMp3txq1kZ83PznPuwUe
i0ixsdRWCcwKrU8IxPj307hB0Z2Pd4yryRnyaAiE0Lq5ojemJrAgbflokiVxmw+4MCc+
dNnAzRz5DlnneWt+/XEs+2CpRGsYd8R/7NvzL5ByFZ+bHdLy2qKXgUS82vvpmmro9rX8
V1bpoxjJPBxqdws75VhVClC23vtrfVdkiCNfmW2AwrAnhMG4LpCW5QgZaV28Pzr9YCDR
AtTw==;
darn=vger.kernel.org
X-ARC-Authentication-Results: i=1; mx.google.com; arc=none
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20260707; t=1796283053; x=1796887853; darn=vger.kernel.org;
h=content-transfer-encoding:content-type:cc:to:subject:message-id
:date:from:in-reply-to:references:mime-version:from:to:cc:subject
:date:message-id:reply-to:content-type;
bh=hvCNoRUcQ+AAWV+dpgvxdCgONbfximnH9JA27/04xFo=;
b=hDZ2GqSDxfwJW5QRM5Tb2vcF0B01gTQMGLefmqa8LW5pC3c4sNmANJ5zWnFz/EMngu
5ZaILuvLLXi6on1m3F+Rj2r2GBG6F8mpoaGynLv0PxuWtejdGOC5X1Ucf0SDE5y/J7xu
Xfi0hWyGNBjj/uBXq1ZOKB40w3pmOMvlwhVHqjCULyEO1LKcejDv1i1+n+TbiAaeMrm8
ybg6l8twQ79nl7d5jHyhG7anDRNMBGPiQgUvBt/fVzSZ2CftIoQgJoFHb7GtSb5+Fxf6
MLIRTtOUC//YoixIfWV0M/ivNHA/Xf+var31e29qZRNe4q8fUv23m6SkMMFZPbaS6EXL
uDAA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20260707; t=1796283053; x=1796887853;
h=content-transfer-encoding:content-type:cc:to:subject:message-id
:date:from:in-reply-to:references:mime-version:x-gm-gg
:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to
:content-type;
bh=hvCNoRUcQ+AAWV+dpgvxdCgONbfximnH9JA27/04xFo=;
b=JDUEprMc61SzJaNKHOCmyK7ij+f+YLVjA8CSut1zmAmSUsNiSgEeZ+zn7oGuIhZKjE
d2nzVwDwEk45unDJYEIVzJa11lFVdole8X0AB2wP0e/S70U7Sx2Md+IlaO2E6KvJc/uW
eZF8dJUEOUAE3nL34LpkoelfEm60I4zoA+1ndHxL710aQVtxqOOlKhhf5GDQINnEq6/U
4HYdta0FWT+EO2WWvmB3oBANittIkZZWdEMS8qLumskhtGI4EG4zN5ShsygI+IEmpRIM
zTh51pdneYy8Lq095yH9kDzDPYC1rfq7bYI57vfXg+yiA555npMq7+J7Zh5RPK5eB6GW
utTA==
X-Forwarded-Encrypted: i=1; AL+hErFRwiEeHOl7bpVC0ypmS/gdXi4seaBvW1oYnA4R1Dxg1uEA2We6fZ4zTkIw+dXGEUYjrQbJaEg=@vger.kernel.org
X-Gm-Message-State: APuU4Z9cobim10lwvgGUhgksLkWZJnnuzegYtSp07wmRYNG2fk+LuBB+
OP2MyNEds6X+0b8+AR6ZduKfWluIDnbZyMzu+9AdrA90be23VdfVR0Q+dQ/J1t6zUMRnQeXYtBi
F3GwAXxWBt+R/QXctdDyliK1lXkkjsKs=
X-Gm-Gg: AZFdTZeyRHhn+Acuf3jxQ8ZHjcZqrGytvEGW5vaJWrFlOuXITwWQiLHL49UWoUl+RUV
Yuawwr+A9zAx/gLulAUH+jkR0VXeREiA6WXjq+dJTzj/9jscCZHRueHue6TwoxPAjnIi1eqhGPA
wdh3kl3RZ0BD3hjDWqVAlZDus5OHMj09HHAfuvXpktbrN1UUpPPtvnxsI2KQvqDnnUUexkv8jrG
JkWTxL4zVSHIjaoXQTxw7PI0iYqlvQ6opWp8EAJn9YlZzO59LCs3VpFt7D2oKPEkUs/v6Y4CGjm
wxWuIy+ZrkrPyohaOKZCmbMHZxqKGhngwHe4DTg1n0yk5/Vyp2YN8aWccD2ZWntOq1t+TtQP+nK
/9j0zv1xeY23sXkG3vjimEHu8C1dwUOLM2Favmw==
X-Received: by 2002:a17:907:1b0c:b0:c51:e6ed:9e0c with SMTP id
a640c23a62f3a-c51e6ed9f6emr1435486666b.12.1796283052603; Wed, 02 Dec 2026
23:30:52 -0800 (PST)
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: <6bead654-3177-4326-909b-c7b52fa4a4ee@lunn.ch>
X-Gm-Features: Aa3M54orhhWg4qLKwoH2VQPwEAYExSF3hC4NvRp8vtZn8eDonszx2DlDJT34Do4
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