Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1723250pxj; Wed, 19 May 2021 12:21:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyi6iyrZ8ySuXDMCA+tlRF0vcp6h6v+0RYb6vHtuqJuJ83kySwCcpI3YSslpB7dRguYo5EH X-Received: by 2002:a05:6638:a48:: with SMTP id 8mr766373jap.38.1621452075725; Wed, 19 May 2021 12:21:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621452075; cv=none; d=google.com; s=arc-20160816; b=qlhDY4lrJKV6NjYIf2qEDj+GwbXw4My0l1rrznt55HFGzytrs/02k8RvTZutPtUlfC l8ZHH+Ndaxd1nugZiKG1pu3/DoeybnE0opAjeWr5PJfJjhlaU92w9fJisAbPevFG3gpb j7/vfjenerXZgOZbZpNcCw815BlMIODspsLmn+lbWSgheoDvYx6Lv0kX0IP9uTk0nq9k Prar9o7J5q/z0hVKIjINPyAe8I1ME6JSkZom7Gm9sa69is++e7U1gXWBAktXPvEJyHIF VV0i3B4GJtTUagV/96NGOrr2ZWbfwWnTIYxt+JX3XDBfWOdy68XuYdHAfxA4Rxx1Q9Iq DEVA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=Aeko/3tsOwpiZC8fRlq4sInIE8imT0nQuJbt8oMRw0o=; b=fissHBTj/srfxj0Z6PKYEXXBmyoBFVl61a02IqcTXbeKZuwx+KvPbd1Bg31jLJi8Me dAN+JAcTVsSt8yYDxvKOf1eX9/jP6fP4eQ5jTF+udSFszlsgnIUMHLA0q1aE6fH5vx9F 4cRF7E0wnUB8b2rT33J0FW9l0nppiPXdG1tOxqGk2j5ka0SQRzmyXpTzoQDKQzTwh/1D KnRqfMOGI/hnej3rvUHQ3I1+xoRJ1xYJ4c2k/uCZr8a/2wRgXFeO6xQb3lfEl/iSiJ86 sQCChgcwsOelejQeOclqrhqisZmftjdsM46Hx1ImtyMD12J1taxjoDsUaJ3x0SIxfQIx Iq9w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=poO7BaIg; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g9si498309ild.113.2021.05.19.12.21.01; Wed, 19 May 2021 12:21:15 -0700 (PDT) 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=@kernel.org header.s=k20201202 header.b=poO7BaIg; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243880AbhESIET (ORCPT + 99 others); Wed, 19 May 2021 04:04:19 -0400 Received: from mail.kernel.org ([198.145.29.99]:47078 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242061AbhESIEQ (ORCPT ); Wed, 19 May 2021 04:04:16 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 503EE611BF; Wed, 19 May 2021 08:02:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1621411377; bh=Aeko/3tsOwpiZC8fRlq4sInIE8imT0nQuJbt8oMRw0o=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=poO7BaIgO/F38OgxdbSS4K3qO9DvAXNrZONb/1tK7HG35jyxNV78WyO/EeYFOE2tm akRUKx4sNOCpEQa2VnbT19GRbhLK3FidLJ1hskteFESbR80XvYW7dcrwZ7jxNSwQ9x zap2KMvkWeT+ZmvDs05kiBL/ZAx3rTBZKLvXxDdyIsaHvn2Z5T/S0zhC6+B+IIIWMe zaYSinR52s3bjo5KsJ0e4aMzvi33V4jSYS7j3bp/rmOfur9wIgTAmK0xYwtaxmlWj3 k2CKeJSNhEM2zrW2zelPXuEEObFlqMNIUSxr6kuXjjKgWGDh3RHJWNapv8Eq+WXjl7 jYW639xTs06ag== Date: Wed, 19 May 2021 10:02:53 +0200 From: Marek =?UTF-8?B?QmVow7pu?= To: Mauro Carvalho Chehab Cc: linuxarm@huawei.com, mauro.chehab@huawei.com, Pavel Machek , gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org, linux-leds@vger.kernel.org Subject: Re: [PATCH v2 16/17] leds: leds-nuc: add support for changing the ethernet type indicator Message-ID: <20210519100253.49b155e9@thinkpad> In-Reply-To: <792598f4a1a3219b6517057c92559b0f0a95b419.1621349814.git.mchehab+huawei@kernel.org> References: <792598f4a1a3219b6517057c92559b0f0a95b419.1621349814.git.mchehab+huawei@kernel.org> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org What possible configurations does this support? Does this blink on rx/tx activity for a specific ethernet port? There is a work in progress to add support for transparent offloading of LED triggers, with the netdev trigger being the first target. This means that after that is done, you could implement this driver so that when netdev trigger is enabled on a supported interface, your driver will offload the blinking to the HW. This should probably also work for HDD activity, but this would need a blockdev trigger first... Marek