🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #4685

Re: [PATCH 0/3] leds: add Realtek RTL9300 port LEDs under software control

#4685
From: Andrew Lunn
Date: Mon, 19 Oct 2026 00:02
18 lines
6569 bytes
On Sun, Oct 18, 2026 at 04:20:14PM -0700, Ross Cawston wrote:
> On Sun, Oct 18, 2026 at 10:36 PM UTC, Andrew Lunn wrote:
> > Port LEDs should be within the port node of the switch in DT. Ideally
> > you want all LEDs for a port to start the with basics, on/off control.
> [...]
> > So please don't make these LEDs special.
> 
> That makes sense. The catch is that RTL9300 has no switch driver
> upstream yet, so there is no port node with a driver behind it to put
> them in: mainline only has drivers for the switch's I2C and MDIO
> controllers.

Markus Stockhausen <markus.stockhausen@gmx.de> did a lot of work on
the MDIO driver, based on what is in OpenWRT. Maybe he plans to work
on the switch driver?

   Andrew
Technical Details
Message-ID: <38ca5375-ecea-4361-ab26-c044f38ceadb@lunn.ch>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-348213-linux-kernel-netdev=dewy.ru
References: <20261018194339.132-1-ross@r-sc.ca> <59f75e7d-9b56-441d-a4b5-58ad3862267e@lunn.ch> <20261018232015.527-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-348213-linux-kernel-netdev=dewy.ru
From: andrew@lunn.ch (Andrew Lunn)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH 0/3] leds: add Realtek RTL9300 port LEDs under software
 control
Date: Mon, 19 Oct 2026 02:02:30 +0200
Organization: Usenet Network
Message-ID: <38ca5375-ecea-4361-ab26-c044f38ceadb@lunn.ch>
References: <20261018194339.132-1-ross@r-sc.ca>
 <59f75e7d-9b56-441d-a4b5-58ad3862267e@lunn.ch>
 <20261018232015.527-1-ross@r-sc.ca>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Injection-Info: usenet.network;
	logging-data="3463814"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:+r7rKK6xDVS0eFFA1yV4diV9SlE= sha256:D04mo9EQfO1ypy1klEesg1DWLYa6Sfo2ahZJo5yyrHQ=
	sha1:8CmtGAg8Cj3CcQ0MiqpR2BUWd/w= sha256:x8LSl8oFkJLajs3ymhQX1IHVnpzOx7J60/6H3x8lZHM=
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 3D4F61108C6; Mon, 19 Oct 2026 03:03:07 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.151
X-Spam-Status: No, score=-3.151 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]
	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 v8-V4SgFz6Bc;
	Mon, 19 Oct 2026 03:03:04 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.232.135.74; helo=sto.lore.kernel.org; envelope-from=netdev+bounces-348213-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 sto.lore.kernel.org (sto.lore.kernel.org [172.232.135.74])
	by mail.dewy.ru (Postfix) with ESMTPS id D5E2D1108A3; Mon, 19 Oct 2026 03:02:53 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1])
	by sto.lore.kernel.org (Postfix) with ESMTP id 4EC8A6051EA; Mon, 19 Oct 2026 00:02:52 +0000 (UTC)
X-Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id E64D31643B;
	Mon, 19 Oct 2026 00:02:49 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b="dx5ufkko"
X-Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6185739FCE;
	Mon, 19 Oct 2026 00:02:48 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=156.67.10.101
X-ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;
	t=1792368169; cv=none; b=oYGYiF5zAg3XvKMbEB9Qnxki6ZmjGkzwLBeyYCq/83QrYXx5wCHXlUkL4rkA2g7GD/RLAMcM6yJvSpYS0b8saw4mqy+lm0uNk+Vya2dODvY/dN5/YcA90YljsdDVNp/xv0SC/M54AXMjy0je7KaLMAvY5IiRxBHVoOpjShl56JY=
X-ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org;
	s=arc-20240116; t=1792368169; c=relaxed/simple;
	bh=kiRmWbIigttbPI0W84RnZLioWzJTfvGGdwoHwvS28Gk=;
	h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version:
	 Content-Type:Content-Disposition:In-Reply-To; b=dCFCYONU5yLlUaXA7JM2w7eHffE530lKe/rYFaU7n1DRhw0kvWUYtIJY/tXoRF+bmiksFtm/w3ju7hVu0wI3fShHWVIkwqrTmvNoJs+0G+znwB7BfizcVzgXUa+xAnCnPtYxf86al9s2HOhtusWWLaRnYYRfV6EGpO5mwOTRxo4=
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch; spf=pass smtp.mailfrom=lunn.ch; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b=dx5ufkko; arc=none smtp.client-ip=156.67.10.101
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=8ET68I96kFH7mW1zapDe0LJP2HJVVap3gTcE6h7LnlA=; b=dx5ufkko67FlnqlX+OOn1XbcGU
	bYebHX8uIcCLRGyO6xUzhVU/86qZ0JXSKcUqGh6rgJAD8m+jm1yCQ0FngjsDf6n1MCHekC4O0miMR
	QUr8fvjNjZF8knxYBYWXYiSgyzP/aWPa9yKfouYi3bOAYYPnF8pZbvcXLl+kXzQ6wbR8=;
X-Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2)
	(envelope-from <andrew@lunn.ch>)
	id 1xIapi-00BXLf-53; Mon, 19 Oct 2026 02:02:30 +0200
X-Cc: lee@kernel.org, pavel@kernel.org, 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
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-In-Reply-To: <20261018232015.527-1-ross@r-sc.ca>