From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 2E63D10785 for ; Mon, 27 Nov 2023 08:13:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="arUeWjhh" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C1F7BC433C7; Mon, 27 Nov 2023 08:13:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1701072790; bh=jdApDdp5fys2vmxXQeWrknDBds70DchNIYMmgGQiSmw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=arUeWjhhaXTIyqScRkphKIC+XgOr5v/R9e9FLSNERvhxALI6UDy5a8u/yUznOhxn8 O/ZT5lxDW/iYsSuPnqGJt0nJvgV1AG9l9IHMcUkhg1QrLwyDw8W4AxHkxvEBobWZ5M Ylvv5ac9l1eT1xxmYmKJoeKFyYMQ1bmHujkJjQyNR/4dnzCfWNz8OQ/FcYRFLRJRt8 v48/FfXdspUqZvxSo4uBLwmuqudrRQfGwXJ87g+42HIeQwjOmv6qPO/4n11vDRAQGG 0VsFtsmsNnrBHpOaEowODs+sGbYp3+VZNvFP/0Oagugw9NX2hIxlA49rPLyFlQNSaa mJ54Yd+9Tf4dQ== Date: Mon, 27 Nov 2023 08:13:05 +0000 From: Lee Jones To: Daniel Golle Cc: Andrew Lunn , Pavel Machek , Christian Marangi , "David S. Miller" , Jakub Kicinski , Li Zetao , linux-leds@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] leds: trigger: netdev: extend speeds up to 10G Message-ID: <20231127081305.GB1470173@google.com> References: <3655d56c08b60f0ce562ceab3a627fef046a7617.1701029732.git.daniel@makrotopia.org> <4bade634-f2f7-4bfc-b882-67cfe9e47b8f@lunn.ch> Precedence: bulk X-Mailing-List: linux-leds@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: On Sun, 26 Nov 2023, Daniel Golle wrote: > Hi Andrew, > > On Sun, Nov 26, 2023 at 10:04:22PM +0100, Andrew Lunn wrote: > > On Sun, Nov 26, 2023 at 08:17:03PM +0000, Daniel Golle wrote: > > > Add 2.5G, 5G and 10G as available speeds to the netdev LED trigger. > > > > > > Signed-off-by: Daniel Golle > > > > Reviewed-by: Andrew Lunn > > > > One thing to consider is how this get merged. I assume you will have a > > PHY driver patch soon making use of this? > > Yes, exactly. I'm working on adding support for LEDs to MaxLinear and > RealTek PHY drivers. > > > We can either: > > > > 1) Get Lee to merge it into the LED tree and then create a stable > > branch which gets pulled into netdev. I'll create an immutable branch. > > 2) Merge into netdev, with Lees Acked-by: > > > > It seems unlikely there will be any merge conflicts. So netdev does > > seem like an O.K. way to go. > > Via netdev (net-next) would be better imho as it would allow to add > changes to PHY drivers making use of the new constants without having > to wait for LED tree being merged. The former solution does not prevent this. > Note that I've sent v2 which adds missing use of sysfs attributes. -- Lee Jones [李琼斯]