From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.167.53 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796222618; b=PJ2dVRjOKY+pfK2jDVI4cncXgXoA1oBDAsyUfi43uWDLCOL8ny63K1vXiBV/rFQqAKmH uAe2RmCHPKe+99+SHhplz1SwHWUe9cz77T1IPsqjVgrlYS+G4puo7Gj4e2Yp8Gb1eKfw+ s9JmRgsGgheDK+cJUwA/XY6WmT17uOwIinwoiHtbpup5o1jKP+Mczc3zlgvJbJpSZUcKr 3O12q5m5UDfK7dix5OascUZzSNWwuVpQdUA6bVWKmrE/HuhDEYSF7V11+sZjX8sQIeW20 rBODq5TdSS0F+fhzyClbXhWrq5eWzehRmLjIrrOxqQiet4nfrgbV/r8vu33KUCIDj4w== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796222618; h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature: X-Forwarded-Encrypted:X-Gm-Message-State:X-Gm-Gg:X-Received:Received: From:To:Cc:Subject:Date:Message-ID:X-Mailer:In-Reply-To:References: MIME-Version:Content-Transfer-Encoding; bh=2q5rZ2pLb/h6wjidkLZuid95ttDVJZA6ShD+OLAarM8=; b=OB86yel/77LdTgKqD05eLdcHYdBX0O05z3NeH6iWGLwdGkBu1a9O/LCsyHNfysGwLlyY XQ2CQx06fPFwPclYGJFut3CAthl7xdDZ6f91YB+eIeH77Lh+1/PT5tweYd7hl6kOcg/PT ss/hH0Z2jk6igKVTYcvCVt/x8Mt/M4AqqF767iW5Gp+2rVW6qmlLjlAn13DvvckpRT9aX vNia2b7VYbC5HFx+fSWumY8nUFFHhNHkGpBjFVw5vIBesqKwvISwbkxV9jZw33nUSX75S QTLHsKTsm/Uc7hvRff8V5pYfZHNPTk7Txs0TqhVnXzYZ40jLEf7VGgUp04VmK71sxoQ== ARC-Authentication-Results: i=1; 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=ESamB4DY; arc=none smtp.remote-ip=209.85.167.53 Received: from mail-lf1-f53.google.com (mail-lf1-f53.google.com [209.85.167.53]) (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 6E9E5606A680 for ; Wed, 2 Dec 2026 14:43:38 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 6E9E5606A680 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com 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=ESamB4DY Received: by mail-lf1-f53.google.com with SMTP id 2adb3069b0e04-5be3cff0f6cso9058659e87.0 for ; Wed, 02 Dec 2026 06:43:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1796222617; x=1796827417; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=2q5rZ2pLb/h6wjidkLZuid95ttDVJZA6ShD+OLAarM8=; b=ESamB4DYfwUErwxoj3CsdR6/b+280C20yi4bgJlvuZjN8Dcxf+zT12KjHbMQV95oRI HckVvHrty4OjP8YlFHmcnJpAVAhFyxY9ub/C1Keka8OmhzR5OLVGC23+c2+nI0TTE90I 2tGeoXzmPqohf1ST7ZU6+UEL/YJc5z/Y58tw9WhnzUsmvQAu7aQbrS7pmGwM4u6YBUT6 m35cqMaybRQ+bP3a3KjToL0j5pgB9vccELlBIn4XSqiMdOAJrPu4sfPlO6/rgqeD3pBZ CZuvx4QzfCO4NcmC6ULRszj6N1t6l+n92Ub30eod2oiJ1dN7yKp7Q4oL2NpYgXeVjVDC fuWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796222617; x=1796827417; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=2q5rZ2pLb/h6wjidkLZuid95ttDVJZA6ShD+OLAarM8=; b=wOnk86P/dwmbPXBL7Kt3o6+ZX1/+wb65wl5DaT2LXOeDRIAWXfMA09vO3wPcaOLjDg LnxBqer6BA+vRyeKedKIU21apNg7UwJtPwsDQ7lZAH5Vgn29sUx01xFPwH32qHdPJLJJ xW5WrMGm4TGusHU35ePxLgZeSI2qPrBridLm4EXoAzq00SR0wWDlV+mmKgLYXZOwuA3+ Vxj0fII8VAJMcCzPuOLyQ2JtVE7gFlfumX/ysCRI9H4zin3nGQG4KXxlr9nu7TM3PqRk u8JSMNUkY1FWtyx38uUOgA2eBZ0TmO7j6fCBExuzHDTFwDMkFsCSs7VW/lmfemlOIhbd cvIQ== X-Forwarded-Encrypted: i=1; AL+hErHEiDigrtusTV4Ti/YrW0+XHi8lK5SLCXn5fWhg8YxSCpe+wd2+eRTT2zmfnBAGbhwSgN2YjdAC4ToA@vger.kernel.org X-Gm-Message-State: APuU4Z/BgfwNq3hn2dymLr5A3Iuvq174arb592l9WrEOu/ZFS2hl26lS 541ihu/Gg8TI6+yQEu2HELUovuDrA4xB3Py7m7anAa4PK3nadejhJP2l X-Gm-Gg: AZFdTZcTWppg1GCkncPRL50a3gYPjVaCjgNBYrNmLOiRafBk9BbAfDmnrm3s6k+yFmr mRrvGhR0OVVnm++QaiYuceQ4LhsFon7jgK9l+2A4oEifMKj4ifOWFT8mVXkA/wnNp70pqgFG6RQ UtJtzVfRPBTLA635lEBcGcX89B5Xx7yO7nH19B2j+V1eEaB4StWC68coM99d8MgazedpKg+gVb4 MVRsPdVBbfnJFlJrzNMSmDy7aej7rdD0o8aJEDfDwWdeQy4xil5dKAfCu/ED7+usgCltJGULaWR 08woxCRy2G3+8Vc8qQXuRVrR7/K74vVr64xmo6R1oVhPH2tBhIhkca5YIDK/Akn7N66W5UHq8Dw B9zxTKq+iKtHW6mW9UGCWjSIOmGQxOoH6Q7vsB8ZsqcZ8VafXfc+Z5PLyYRHcUwPjh6l2mZLibK 3NerSsLxJmsT75S82kebzGII6tbzDLV9v9Zptp6BPwc7dvqZyWpkfIwn2V6Y0PbQzT+QaxLGCoh JxpSInoH2+lGxhZgpVYB7NJnSs1TAaRSJC0eOsrstrnuzGUBbfbAjuaYoUW6Fab1Ksabi1CiT+a zLdmF/7k4X7yj0yCf8YikDStCYOZMNM7djMhocQtIV63izsE5UqyYHoRRhoFF85A65Yd X-Received: by 2002:a05:6512:1084:b0:5c1:ace0:73f6 with SMTP id 2adb3069b0e04-5c1bc7c1fcbmr15356056e87.12.1796222616661; Wed, 02 Dec 2026 06:43:36 -0800 (PST) Received: from NB-6746.corp.yadro.com ([188.243.183.76]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-5c1bd017708sm9585066e87.35.2026.12.02.06.43.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Dec 2026 06:43:36 -0800 (PST) From: Artem Shimko To: 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 Cc: Artem Shimko , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-leds@vger.kernel.org, netdev@vger.kernel.org, andrew+netdev@lunn.ch Subject: [PATCH net-next v8 2/3] dt-bindings: net: dptel,dap8211r: add LED nodes Date: Wed, 2 Dec 2026 17:43:25 +0300 Message-ID: <20261202144329.3167956-3-a.shimko.dev@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20261202144329.3167956-1-a.shimko.dev@gmail.com> References: <20261202144329.3167956-1-a.shimko.dev@gmail.com> X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 --- .../bindings/net/dptel,dap8211r.yaml | 44 +++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/Documentation/devicetree/bindings/net/dptel,dap8211r.yaml b/Documentation/devicetree/bindings/net/dptel,dap8211r.yaml index 4cd0f9730d95..fa379a6c515b 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,34 @@ properties: maximum: 2250 default: 1950 + leds: + type: object + + properties: + '#address-cells': + const: 1 + '#size-cells': + const: 0 + + patternProperties: + '^led@[0-2]$': + type: object + $ref: /schemas/leds/common.yaml# + + properties: + reg: + maximum: 2 + + unevaluatedProperties: false + + additionalProperties: false + unevaluatedProperties: false examples: - | + #include + mdio { #address-cells = <1>; #size-cells = <0>; @@ -58,5 +83,24 @@ examples: reg = <1>; rx-internal-delay-ps = <1950>; tx-internal-delay-ps = <1950>; + + leds { + #address-cells = <1>; + #size-cells = <0>; + + led@0 { + reg = <0>; + color = ; + function = LED_FUNCTION_LAN; + linux,default-trigger = "netdev"; + }; + + led@1 { + reg = <1>; + color = ; + function = LED_FUNCTION_LAN; + linux,default-trigger = "netdev"; + }; + }; }; }; -- 2.43.0