From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id AFD05C07D5A for ; Mon, 27 Nov 2023 08:13:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230413AbjK0INK (ORCPT ); Mon, 27 Nov 2023 03:13:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51812 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230173AbjK0INH (ORCPT ); Mon, 27 Nov 2023 03:13:07 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 22503136 for ; Mon, 27 Nov 2023 00:13:11 -0800 (PST) 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> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 [李琼斯]