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 C03C4C76195 for ; Tue, 28 Mar 2023 01:46:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232417AbjC1BqR (ORCPT ); Mon, 27 Mar 2023 21:46:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49470 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232310AbjC1BqQ (ORCPT ); Mon, 27 Mar 2023 21:46:16 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0DD422102; Mon, 27 Mar 2023 18:46:10 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 54B556156E; Tue, 28 Mar 2023 01:46:10 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2A4BEC433D2; Tue, 28 Mar 2023 01:46:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1679967969; bh=RZx2aaLuSa1JAWsRRdhzXJuR3cLjN0gD2XWPcoAbNfc=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=CdFyehDpbh0+HugIxeQ5zrUAc/8NvF3xNPHRlEPdSLwdB+lpqzlR1Z2TObZSA1axA YTdmU/C/9C6jIRly9yo2Hn7ooy52We53plIbNWNB/FZEjzphODIALLvel6PoBGptUk sqi7iooPidqYZP+XqLobe9eb5eNwGhl6xkWSXliUIBG/TAIxH3ZeuZoPxi/dDKlcLo e92rk+8tsfT9bjCBgJLnxnD1YRT2u55l4wcprJNsCFsvjZOIE5EasQc9629jcKltcc RRNRphIQHS7U5fqsoHHXgjLHoF5icBr3CA8IbHZumB3HvHdXsW03CsxaZPJhhv/iVF GaJ2uVwUNFXUg== Date: Mon, 27 Mar 2023 18:46:06 -0700 From: Jakub Kicinski To: Christian Marangi Cc: Pavel Machek , Lee Jones , Rob Herring , Krzysztof Kozlowski , Andrew Lunn , Florian Fainelli , Vladimir Oltean , "David S. Miller" , Eric Dumazet , Paolo Abeni , Heiner Kallweit , Russell King , Gregory Clement , Sebastian Hesselbarth , Andy Gross , Bjorn Andersson , Konrad Dybcio , John Crispin , linux-leds@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org Subject: Re: [net-next PATCH v6 00/16] net: Add basic LED support for switch/phy Message-ID: <20230327184606.37933d41@kernel.org> In-Reply-To: <20230327141031.11904-1-ansuelsmth@gmail.com> References: <20230327141031.11904-1-ansuelsmth@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On Mon, 27 Mar 2023 16:10:15 +0200 Christian Marangi wrote: > This is a continue of [1]. It was decided to take a more gradual > approach to implement LEDs support for switch and phy starting with > basic support and then implementing the hw control part when we have all > the prereq done. > > This series implements only the brightness_set() and blink_set() ops. > An example of switch implementation is done with qca8k. > > For PHY a more generic approach is used with implementing the LED > support in PHY core and with the user (in this case marvell) adding all > the required functions. > > Currently we set the default-state as "keep" to not change the default > configuration of the declared LEDs since almost every switch have a > default configuration. Please run ./scripts/kernel-doc -none on the headers, the new ops added in patches 6 and 8 need to be kdoc'ed.