Article View: linux.kernel.netdev
Article #4656[PATCH 2/3] dt-bindings: net: realtek,rtl9301-switch: add port LED controller
From: Ross Cawston
Date: Sun, 18 Oct 2026 19:43
Date: Sun, 18 Oct 2026 19:43
28 lines
7074 bytes
7074 bytes
The switch drives the port LEDs, and some boards wire LEDs to it that
have no hardware function and are switched in software, such as PoE
status LEDs. Allow the software LED control block, described by
realtek,rtl9301-port-leds, as a child of the switch like its I2C and
MDIO controllers.
Signed-off-by: Ross Cawston <ross@r-sc.ca>
---
.../devicetree/bindings/net/realtek,rtl9301-switch.yaml | 3 +++
1 file changed, 3 insertions(+)
diff --git a/Documentation/devicetree/bindings/net/realtek,rtl9301-switch.yaml b/Documentation/devicetree/bindings/net/realtek,rtl9301-switch.yaml
index 80eabc17066..9529327ee0c 100644
--- a/Documentation/devicetree/bindings/net/realtek,rtl9301-switch.yaml
+++ b/Documentation/devicetree/bindings/net/realtek,rtl9301-switch.yaml
@@ -57,6 +57,9 @@ patternProperties:
'mdio-controller@[0-9a-f]+$':
$ref: realtek,rtl9301-mdio.yaml#
+ 'led-controller@[0-9a-f]+$':
+ $ref: /schemas/leds/realtek,rtl9301-port-leds.yaml#
+
required:
- compatible
- reg
--
2.55.0.windows.5
Technical Details
Message-ID:
<20261018194339.132-3-ross@r-sc.ca>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-348173-linux-kernel-netdev=dewy.ruReferences:
<20261018194339.132-1-ross@r-sc.ca>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-348173-linux-kernel-netdev=dewy.ru From: ross@r-sc.ca (Ross Cawston) Newsgroups: linux.kernel.netdev Subject: [PATCH 2/3] dt-bindings: net: realtek,rtl9301-switch: add port LED controller Date: Sun, 18 Oct 2026 12:43:37 -0700 Organization: Usenet Network Message-ID: <20261018194339.132-3-ross@r-sc.ca> References: <20261018194339.132-1-ross@r-sc.ca> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Injection-Info: usenet.network; logging-data="3417933"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:gjTPhLHQI8UVCg9Zc1MUE2yl2oc= sha256:GZeRaPadlTHFBdMCcl1r13uD1+yE8pSfujzC1yqm0ew= sha1:AoWqEGVdsss8uIajKnNaegoyVK8= sha256:xmvWPDe1J/znfhIm7vMsq6RIlsXOIi6zwidQUjuvq9g= 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 A0E57110898; Sun, 18 Oct 2026 23:05:52 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -2.199 X-Spam-Status: No, score=-2.199 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, 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 (2048-bit key) header.d=r-sc.ca 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 icNZNWg-yB9H; Sun, 18 Oct 2026 23:05: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-348173-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> X-Authentication-Results: OpenDMARC; dmarc=none (p=none dis=none) header.from=r-sc.ca X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10]) by mail.dewy.ru (Postfix) with ESMTPS id 872A211075C; Sun, 18 Oct 2026 23:05:41 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1]) by sea.lore.kernel.org (Postfix) with ESMTP id 9010E3EECE; Sun, 18 Oct 2026 20:04:46 +0000 (UTC) X-Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5DE154C652D; Sun, 18 Oct 2026 20:04:46 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=r-sc.ca header.i=@r-sc.ca header.b="G8zl6yHr" X-Received: from out-utut-a192.jellyfish.systems (out-utut-a192.jellyfish.systems [198.177.127.192]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C2ECC406804 for <netdev@vger.kernel.org>; Sun, 18 Oct 2026 20:04:43 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.177.127.192 X-ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792353886; cv=none; b=qP9iElkC92P+CJUk9hPFc/YLnY2h6i8HCBFoK7XRZ+n1PWxphEbYDHVgYL30ASwB/oeZucDGXGLf3K9mQdm7TPK8XZEFoi/Mtj4VF0T7KJFm9ayXkPGA1B+eOLvFiPWoQ19xRNTh8mqg1QiOltQz7n+a15XuVKZdxi9x06UWGig= X-ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792353886; c=relaxed/simple; bh=4oRVV0Sq19UY5y51DFj9OghAxvL7UUqG4sywn84IEkU=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=t6ghevR4+P8LFi/1AUcRjl3YIiad4mP++hRm4gRKAz/3V9feYzagAALa7ZUEti+Qnit8//hcduVYX1zW4oLAZ1Uli607mQijqAXEVh+43prK86yCza5m444339PbAffFPtvYlhqI7ZfApNHaR9ZnA194OLBtCRfJMCtQdDuI97o= X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=r-sc.ca; spf=pass smtp.mailfrom=r-sc.ca; dkim=pass (2048-bit key) header.d=r-sc.ca header.i=@r-sc.ca header.b=G8zl6yHr; arc=none smtp.client-ip=198.177.127.192 X-Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=r-sc.ca X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=r-sc.ca X-Received: from DESKTOP-290OH2S (d207-6-150-133.bchsia.telus.net [207.6.150.133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.spacemail.com (Postfix) with ESMTPSA id 4j78Hp3MXdz8sWP; Sun, 18 Oct 2026 19:43:50 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=r-sc.ca; s=spacemail; t=1792352632; bh=KwnYgGkKVJxn1/6IzIyhwZUksddwH2puKpniqIhWWKk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=G8zl6yHrLWUlUW82i904lMXjQKXh+LFpIJIpUVNWDnobdn1b6UGRQBKZ7HEfFQhki vi11ka71HVDRt7Hoe7jLLAH/LR9GVA6ZNPKg71LpxYI4HvlcV3bO7zgFcp7RC18/Sj yd7tInP/zKQb2vnlj2WSOkZu8c8zEipzpL3Iaa26FYYWTsC+c0+AMhmgKR9Y88csxt 8ZvE0Q/xROcjrLeb/tIuGGpbE2H39+TaGOTu0RiXgk5/PStod3L1ZK3P39rdFlS8HX 0hlptLZFIouhIE2KD3ahea12nx7MXG3oNRIMIZt9OMPHXwYD+CF1xMqUygMzW1EWMg m7fiRaSvr96Jg== X-Cc: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, chris.packham@alliedtelesis.co.nz, andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@kernel.org, kuba@kernel.org, pabeni@redhat.com, linux-leds@vger.kernel.org, devicetree@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Ross Cawston <ross@r-sc.ca> X-Mailer: git-send-email 2.55.0.windows.5 X-In-Reply-To: <20261018194339.132-1-ross@r-sc.ca> X-Precedence: bulk X-Mailing-List: netdev@vger.kernel.org X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org> X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org> X-Envelope-From: ross@r-sc.ca