Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp5636517pxb; Sun, 7 Nov 2021 16:55:41 -0800 (PST) X-Google-Smtp-Source: ABdhPJzaL3LX/oPjzto9vaW7snqRQOm01UHvwcdYzkiJ4r9tRSAMUCEiU4M2dOZP3lB3hFkgHkNh X-Received: by 2002:a17:906:780a:: with SMTP id u10mr13091417ejm.235.1636332941447; Sun, 07 Nov 2021 16:55:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1636332941; cv=none; d=google.com; s=arc-20160816; b=KSqC0oHDFfF1i49696GpgSkqXz3S26a8dAzRC6xH+gADdxK0Yi8mNvvgExiiQa0yYx LMM97OUcDJxNKQvUQizD5XS3uvAdpRpzHHQALsrsAakFCK8sRkqzkxpZRCFxHsDaU/0M P4pgNoth69rnTEUReAdLVHXVvp2TiNocgE81ECmt9JijnR8dfZ4nDH4v4ihr7+P5ZTAO IQwHQELZN8iqD6EL8ShrLtaifOjrJnDZb9J0+Uz1ndE7UhhwcSdWEleI0+Jz2waCb+PB uL3VYRkY2cisij0Kub15o8OsHeejqhGm6Ok+HS5VEttL281NcP64QQ6SVgZvv0oDy9Ss v2pg== 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=IuE50SfEcrKvnyeTlBQKBFmBjfzFbhRhWCEA3tN9QXk=; b=Jn1Dj8TFqLVoliVSMf2/QAWUXOwcJGHRX1zw1aA6w/vHtX3So3cP8SrRU6N8RjXBMz TV8AZP0zSCgmS+QXtwZJ1R3o5aPOym/87xcuzDy7iTsBzo6/4E30g11MoYNKCktbQli6 iEeFSUhzQJv78ID9RgkRFjFyaeJuaozTUr3erckkgs6XI4NRHYkw5urJ3IvBRdm+Um9Z bBUbLmTqvzxCYOmhFdJ8p5ANWuR2kP6RIUlMh5876etgpb9k41VKMF9sKbgVE3Jbvxd7 8gwFLZUkjUGG4lCkn11OezO4QSNaKQDA8D9rRw2S7pxFpybKVmEw18L6yByLthtXMEtB QReg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Nre9H+8p; 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 gt41si27937341ejc.31.2021.11.07.16.55.18; Sun, 07 Nov 2021 16:55:41 -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=@kernel.org header.s=k20201202 header.b=Nre9H+8p; 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 S235877AbhKGWJP (ORCPT + 99 others); Sun, 7 Nov 2021 17:09:15 -0500 Received: from mail.kernel.org ([198.145.29.99]:37756 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235687AbhKGWJO (ORCPT ); Sun, 7 Nov 2021 17:09:14 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 323666056B; Sun, 7 Nov 2021 22:06:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1636322790; bh=toI6HLlxwBPJ5YPKt3v20fsa6jRRPdPSmuMIZD208hs=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=Nre9H+8pGNFdOGG0uQxbXTanDSfBtfCUCT8iXIoMeRhHTHlRZWnBGAlpdE3S2+0E2 /9t4B8MLVV2Defde7KvNb3Iyg10lBenk2MlIIZxOauBfpv73Kd1L/5kpo0izMf7FSc ZN7+vRLRaI/YSQ/zqcYOM2weeY6ofbDfaQUJrVIGxZZml6woT2djYsXNQpb2kjYzWc m4zcZSeHvC+tsojPfXBc8eCPNguo1Re6Az+HNkwqmfBh3nL4zxGss0zoQTU4nUfP1T Y5LQABiFLI5YQYmIUwwc+gZKb2FHZKEP7QUBwKJLEJf16FEOPIHcPGF+mC9MblRLQu srhmsugpzuQHQ== Date: Sun, 7 Nov 2021 23:06:24 +0100 From: Marek =?UTF-8?B?QmVow7pu?= To: Ansuel Smith Cc: 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 Subject: Re: [RFC PATCH 2/6] leds: permit to declare supported offload triggers Message-ID: <20211107230624.5251eccb@thinkpad> In-Reply-To: <20211107175718.9151-3-ansuelsmth@gmail.com> References: <20211107175718.9151-1-ansuelsmth@gmail.com> <20211107175718.9151-3-ansuelsmth@gmail.com> X-Mailer: Claws Mail 3.18.0 (GTK+ 2.24.33; 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 On Sun, 7 Nov 2021 18:57:14 +0100 Ansuel Smith wrote: > With LEDs that can be offload driven, permit to declare supported triggers > in the dts and add them to the cled struct to be used by the related > offload trigger. This is particurally useful for phy that have support > for HW blinking on tx/rx traffic or based on the speed link. > > Signed-off-by: Ansuel Smith NAK. The device-tree shouldn't define this, only the LED's function as designated by the manufacturer of the device. Marek