Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp5910835pxb; Sun, 7 Nov 2021 23:30:03 -0800 (PST) X-Google-Smtp-Source: ABdhPJyAqKKhWWEJ3z53HQufy0Z5lCfORC2Pj51L5fSqfQGbs0DLj+5vTLfnTysKTIK2A8TOCwpf X-Received: by 2002:a17:906:640d:: with SMTP id d13mr77288207ejm.444.1636356603257; Sun, 07 Nov 2021 23:30:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1636356603; cv=none; d=google.com; s=arc-20160816; b=KnkJAy0bH9omLTTlXXD2pR3Yd8CpiRMz3csEQdC/rTFITD92+SHpFothHv2+1yZYHU U0iV8SNlFWpfj58AaUiJVyiaXTrTwg3ngSUHiWS9ESF5xBMvhHX5h3PB7opWBWpfBPvj 6qVlBlQ5SANOUk9tQIvC1/zU08CdsYak4b5XBpaXbjR/2mlXgQj6DvHiQKoECOkOr4xV yFArCQAZ/ZZX26iBskffBRBgyu31xbYKf3H+He6122WpU4CQRWSbNdi80EUQXZ9Ylt2/ NFJ8JIdpQRS47gbUbk8OBerPYlHghP/8DYaE7Ib0HOXYWuwIO3HMGVFTeq0DOCAsn9K1 8SJg== 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=a7MOawtGg9i5nZII6P2Ie8CmqVA3XG+KbtxOuMforEQ=; b=uGSf0iEwk/31F+QysyFB3R4kcDJr2unKh9FO5xt8rukjmyScAG+80pczu9h3SzMCrx U8LoByhBllCEyCv3YwUgcO5PU6cRp2F9/cANGvvGxT6uJu90ndn5M7BGiShgxviAHnUk /adbz1oci2R71zDRDpUOOkeoOdR8W+54RhDqE2FlD3COk+AWoBlmo2CZTdwRB81nc/6Q 7mqpkdhsraQT5NLsc+KP/L38Vq/mHbo1fsvqekTlo5qTS9BWCb0C1JQLnYrF+ATHaAWo GIDoXX5ufaIkpxcAc6QWT3fG6yqgqJn71vEA/e7NRJmqjhHg94ng8RbmmUSN8lYDIvkO T1hQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=merlin.20170209 header.b=HrlGF6fu; 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 y17si31276455edc.178.2021.11.07.23.29.40; Sun, 07 Nov 2021 23:30:03 -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=HrlGF6fu; 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 S236664AbhKHC3A (ORCPT + 99 others); Sun, 7 Nov 2021 21:29:00 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48208 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236327AbhKHC27 (ORCPT ); Sun, 7 Nov 2021 21:28:59 -0500 Received: from merlin.infradead.org (merlin.infradead.org [IPv6:2001:8b0:10b:1234::107]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 58FAEC061570; Sun, 7 Nov 2021 18:26:16 -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=a7MOawtGg9i5nZII6P2Ie8CmqVA3XG+KbtxOuMforEQ=; b=HrlGF6fu5kimMloUUndF7EbFKv bX4pmQS9LsTdallxeQKSc4HDBeC2r4BuI9XlJ2X/8qMk3qm5bt9I0iQaxl8NWHqYinZ/+eWl7Zb33 i7pSrhSXteZhcJTg/vLjqAH2mEj3QZNJB+0pX2SXbKqKb5CqfnaatpaWz1StS3rwTirRJJ3gDEC/a r8/w5RfEXJjprU8qA+vFyX1vRmtT1/3mJTZpbSBvWqJGjHfS8IOZ5nxinti+ZWTnywMf9q4QD73r5 CPRXvxsoYZKRQXcMmZl+AwE5d28niTv3riV+vroXRYNfGHDzYl6Hs/RxTjtoRXZwj1trTFN369Iwa RRlLFF5A==; Received: from [2601:1c0:6280:3f0::aa0b] by merlin.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1mjuMQ-008fRF-6Q; Mon, 08 Nov 2021 02:26:14 +0000 Subject: Re: [RFC PATCH v2 4/5] 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 References: <20211108002500.19115-1-ansuelsmth@gmail.com> <20211108002500.19115-5-ansuelsmth@gmail.com> From: Randy Dunlap Message-ID: <733ca0f1-549c-207d-d3e8-cb5d5f41594a@infradead.org> Date: Sun, 7 Nov 2021 18:26:08 -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: <20211108002500.19115-5-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/7/21 4:24 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