Received: by 2002:a05:6a10:8395:0:0:0:0 with SMTP id n21csp6492pxh; Tue, 9 Nov 2021 06:33:12 -0800 (PST) X-Google-Smtp-Source: ABdhPJypf4TOoj4pxCfZXJcDkEsADGq4ySEZcftyt+X1aayiXqjhZHsqhK1T0q74rCwoZOFXFREe X-Received: by 2002:a17:907:1b16:: with SMTP id mp22mr10070727ejc.487.1636468392259; Tue, 09 Nov 2021 06:33:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1636468392; cv=none; d=google.com; s=arc-20160816; b=PiZyX6MR1ciQC9322b9GBElb95+9dkNZGhNDbydlttfg6xfa/PabLJpYlHFDOdt+M7 5R+2MruLPuQHVdHWkvr7iI2fK73CzwSwABLIX5Ds7uaSNNSK/sDrzmYRlWd7Mv+3GD9C cy6CNlI6z0BXrOltrbPqxlYpJO94zvf+oQCWV7gLXDb7kNQPgCJ2NJzQO6tyANQJ8tNR wX2vGJxCuBeRY5RWBXgW6NajmWDGT6CLhE03SjmYIirVXhU+QfOf4mSJdffWW53+vhHO grNLJd6p3Icd6q6xCY3kZxr+XoZQg2R5n+J6xWy4RSS9jea41BBZA0GhRLVdMHIc++zB vTew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :to:subject:dkim-signature; bh=OSiVmEctRFAInEF+kuhKPhF8Bk8dgP3Se4G/4Mqpat4=; b=CpqkZthYYh9tJ47L2ulwJOOuORZPaZ9R0dUTtpY2JUGMua51W5TbX/MldLKW67f6Mi bQU7Ce7de1sm5yRPJTI3m7cpuVrWqgp1NuY3ciZS1oq/3qEpBUtEHaMcOSVu5KdrE92m 7FEeKQnYjpoy4l9GP9RYvxztfzAXgpDLMQ8QgV6NjB8EjUJseqd2uNW/JJzX+mEIhUR0 6C6M9VPfK8k+Yi0ofavRS1RWlO4R+QDezaVFLwH9+ojO9axo2V1WqLKGqpmKMptXAEty 9upv3jO2+MRMN1GvB0eJcI3R71Y9NOh6cSsjB7dYvkhI1C2KgfPvWQoN2s4dMdR2d05l ctcQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=merlin.20170209 header.b=oRz4DQY0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y24si15101418edl.115.2021.11.09.06.32.48; Tue, 09 Nov 2021 06:33:12 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=merlin.20170209 header.b=oRz4DQY0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243029AbhKIGGY (ORCPT + 99 others); Tue, 9 Nov 2021 01:06:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54606 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243022AbhKIGGX (ORCPT ); Tue, 9 Nov 2021 01:06:23 -0500 Received: from merlin.infradead.org (merlin.infradead.org [IPv6:2001:8b0:10b:1234::107]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8B75DC061764; Mon, 8 Nov 2021 22:03:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:From:References:To:Subject:Sender: Reply-To:Cc:Content-ID:Content-Description; bh=OSiVmEctRFAInEF+kuhKPhF8Bk8dgP3Se4G/4Mqpat4=; b=oRz4DQY02uZDr76wG2WIx47pRB Tsy1V+HRrYysgIypC3ceMW7IGyo9I/hlrtz/I8UNEQx7zE+ZuTOA0Nbv3oOwCXOHxONW96TBOyZUJ br2bGEcykWko3GIkH90XTc6uTHeTomtZsWZfj50VEn0rd/i0ZC+hRuuna+Nxo0qiriG2UfTpo/5xK 7gVQHBCrK5JZjPksOJa/G4ocW7LhfiQ0aBLfKIbgRGZldBwNMf7J1hlYdL2Agw9MK2rDvvo5XEIiF BAyhsJFq2Kvma24P/tP6rkcR9PfnGnvrsXE/7fue4WRNdavyCAtA59gVmT1I8U4GPPZkrxKg/sqbs gDKbbHrw==; Received: from [2601:1c0:6280:3f0::aa0b] by merlin.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1mkKEJ-008lkQ-LK; Tue, 09 Nov 2021 06:03:35 +0000 Subject: Re: [RFC PATCH v3 7/8] net: dsa: qca8k: add LEDs support To: Ansuel Smith , Andrew Lunn , Vivien Didelot , Florian Fainelli , Vladimir Oltean , "David S. Miller" , Jakub Kicinski , Rob Herring , Jonathan Corbet , Pavel Machek , John Crispin , netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, linux-leds@vger.kernel.org, =?UTF-8?Q?Marek_Beh=c3=ban?= References: <20211109022608.11109-1-ansuelsmth@gmail.com> <20211109022608.11109-8-ansuelsmth@gmail.com> From: Randy Dunlap Message-ID: <2b36fd25-a71e-0902-18d1-73624de169c8@infradead.org> Date: Mon, 8 Nov 2021 22:03:30 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: <20211109022608.11109-8-ansuelsmth@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/8/21 6:26 PM, Ansuel Smith wrote: > diff --git a/drivers/net/dsa/Kconfig b/drivers/net/dsa/Kconfig > index 7b1457a6e327..89e36f3a8195 100644 > --- a/drivers/net/dsa/Kconfig > +++ b/drivers/net/dsa/Kconfig > @@ -67,6 +67,15 @@ config NET_DSA_QCA8K > This enables support for the Qualcomm Atheros QCA8K Ethernet > switch chips. > > +config NET_DSA_QCA8K_LEDS_SUPPORT > + tristate "Qualcomm Atheros QCA8K Ethernet switch family LEDs support" > + select NET_DSA_QCA8K > + select LEDS_OFFLOAD_TRIGGERS > + help > + Thsi enabled support for LEDs present on the Qualcomm Atheros This enables > + QCA8K Ethernet switch chips. This require the LEDs offload requires > + triggers support as it can run in offload mode. -- ~Randy