Received: by 2002:a89:288:0:b0:1f7:eeee:6653 with SMTP id j8csp322451lqh; Mon, 6 May 2024 23:10:49 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVIeJk4yBHZhO9CPFFjcG+UqS7I2F4/HzaUc1LmQh8toUlSbLleJI0O+bz/m31HEI6aliR/iFTp0gjxudxHc/L21HbTA0cazKA2G3A/sA== X-Google-Smtp-Source: AGHT+IEOlAcuL8IMMAIZXLfNUXisG7llWDjYoGk3rkP1GDOcDVYfe3xd00b1n+MBguz849qVPnY6 X-Received: by 2002:a05:6a20:3d8c:b0:1af:3855:b63f with SMTP id adf61e73a8af0-1afbdca7498mr2626520637.9.1715062248695; Mon, 06 May 2024 23:10:48 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715062248; cv=pass; d=google.com; s=arc-20160816; b=ZF9lXnwiUZUEwt7w6Qgz3hA9Z0u0YH60bW/LS2ONTQVLxlVNNBy+abV2AkeQ+Q5/dU Z+c1/kjKbi3iKoQ7dmEf6SkgN6ndfZPQdb6VQRRjXUo+NIqMZQyBUgzuTtFnqY/ZIn9B VAJl7yQd3gBJjGcfp79mHRJ8XuQIA4sjBhOXH56GnxsCMUs/HPj3A2q1YIfuLJ5coK7A C4uuRn9b0aDpsPiT4JHYFPw+fQjPApR5bUtN9esD4X/d+VKK0e2MgfDfJ56xW0S2jmIW dEfSJXTbjBowNS0prHUrfq6a4pfk1jqn9qJNBzeiGfHodwD8mFe80Y0k924nZNNd9pjA 4Xuw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:content-language :from:references:cc:to:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=MXjJi9Id2sTcJOhILmN1ky4B/45ar4n3Y4h1sMFH2gA=; fh=6JkRhuwjO/9tch4krS3HN2QxTYOrHKvF9r1u6YB2g50=; b=YkS0Z/m2oqrvAMC0iqpqmD/lbOOVL4zJxUtx4RURGXdIRDze4VWqFqkEaT/ekE1ffW XovMm3GPobnlqX+GP7/vUFZUtyGDAYEL1GZkcfgEBq4AAzSN8I+RjfRkp1xJ92vZRt3l aQeDhXEkkCuDdKdxXSTKYujbefvo96MPNbuTOPv7IXrmfk8lMu5tuzPAaas+3Ep+gRnD e5lqrx9LVuVXtJiRD9EuwWBhWaBpsEaaRGTFmqJEFqurD07QrdqRaoRep1aJq12k1Beh PMn2OB906KZm6ULj+uv/AUxFPZVTgZV8801MAbsdsMz5mCXwZPR/shgZ+9PWvkNuk04z oXew==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=I6Sgo6Oi; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-170728-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-170728-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id c11-20020a65420b000000b005f7fe229c68si9589427pgq.223.2024.05.06.23.10.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 May 2024 23:10:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-170728-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=I6Sgo6Oi; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-170728-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-170728-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 7B389282D90 for ; Tue, 7 May 2024 06:10:41 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E333A6EB70; Tue, 7 May 2024 06:10:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="I6Sgo6Oi" Received: from mail-ej1-f47.google.com (mail-ej1-f47.google.com [209.85.218.47]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0273A6EB65 for ; Tue, 7 May 2024 06:10:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.47 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715062228; cv=none; b=s53GlilbkgYNc9eh5i2w8r4j7jnu/cMzUjKLXFFsDuAiG143qDvNy7g12E3ADyANyw/jaC6xeTR/b906AlkX3ln3fM/xbgZsTlzTLaUYVlQW665M/xKzE6XoQcOxjmFwc7CL8RjL47I6IzQQVUoD0GcFtRy085o9XaPqdV8hxb0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715062228; c=relaxed/simple; bh=NN37t59EsYaWpOfY6mIxVvawgYy1WxwgD7Dv5L4ULOg=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=oRnmWqa8w712XrxPMAwr60P4pIlHL6KbkJaUNPvHlvKyyHT1+2XypTtGBqmxEyHt7QsA9nJzlKPFO7KxM7hNXgYOW91mPOSlucOiAbwPd+/+siuifn92beHrf5DJ5+G5Oe2/E0O3tH3x+dDnPYlFK1E9alxQpUn8kHyhcZL8Gf8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=I6Sgo6Oi; arc=none smtp.client-ip=209.85.218.47 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-ej1-f47.google.com with SMTP id a640c23a62f3a-a59a64db066so660832266b.3 for ; Mon, 06 May 2024 23:10:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1715062225; x=1715667025; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:content-language :from:references:cc:to:subject:user-agent:mime-version:date :message-id:from:to:cc:subject:date:message-id:reply-to; bh=MXjJi9Id2sTcJOhILmN1ky4B/45ar4n3Y4h1sMFH2gA=; b=I6Sgo6Oi0tI1e1OvwJe607Twd2qVWLBld45zSG6wvw6c8Ro0TNuC4Uem7+WlXULGo6 Wln68zxocPZ/PguVTjDF/SiFOMWvj2CRjNeBnDEOb0p945mIQEb96plHqtOFEW9ao6dV Izp9Q6pZzlN7ON8AxXFIIBoxRJYkXYNHw7BXkk3B3dyiOg7Hx5aqNErff0JZGc1uQkEL L22Q/7YLEQeT07q7yO3jv8kb9/dcGoU3+zoJOKlX9tfMY7t+DqU490UNSpPBJU/fcqnD xks3V/30ZVtnHYOzKvJcvCzzy9D9B8zgt7EY8Ki2pe0TUmcuj1NU3ZDDwOPdx9qzG5re zfiw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715062225; x=1715667025; h=content-transfer-encoding:in-reply-to:autocrypt:content-language :from:references:cc:to:subject:user-agent:mime-version:date :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=MXjJi9Id2sTcJOhILmN1ky4B/45ar4n3Y4h1sMFH2gA=; b=v/Je16FgIUJ1ILSeo2RFBV3tJ584EyT2Q3LeZHlMEGm9PAyLtLH7Ism5MU+c34MQGb Vbt0FbC95i+lD3ToY+ssZnSAl5WcOrJqwtElLI8vIqb3iiqa4WlYc1r0n6d8vrOgSPBN JzEguHlQenhOedBM8HnkYSfmgEhg2y5EFdwAGygHLZxefgGKbMGURrh9EvMthhsd0W6/ dTlbV/4AdM76j+wnCws6DTfQyf3cBr37TFu99AnRlXibuxOBcf9bUdypMrqey4pU/E4F X/DlHVjY4bl0uUL9c89FyhUgEo1uz1D6mZyh49yW2/9X6OF8tqi1yHgzYFA5o4jp0/vT Mosg== X-Forwarded-Encrypted: i=1; AJvYcCUYBGSzTW3lXFSCu10UDq41ErEmRFb9qAblC0AJ4Ift+dCX428LvZJjaooRoRuwwNod4i9gGFiBiziKfml8N6WGCuUmXsMfLKgWLbM0 X-Gm-Message-State: AOJu0YzmcHdtwY0etlxQXYafAjZadRKz1hF+EWBqWeBmMNHbHKD3DDko tZK2DrX4Ow4xNBBgHhn4ceyV6GRkmpBm6pBxbDEK8s+qAuU4uM7NIu75yT9TQDI= X-Received: by 2002:a50:bb0b:0:b0:56e:63d3:cb3e with SMTP id y11-20020a50bb0b000000b0056e63d3cb3emr7637147ede.41.1715062225320; Mon, 06 May 2024 23:10:25 -0700 (PDT) Received: from [192.168.1.20] ([178.197.206.169]) by smtp.gmail.com with ESMTPSA id q11-20020a056402248b00b005726b83071esm6060147eda.4.2024.05.06.23.10.23 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 06 May 2024 23:10:24 -0700 (PDT) Message-ID: Date: Tue, 7 May 2024 08:10:22 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Aw: Re: [RFC v1 1/5] dt-bindings: leds: add led trigger netdev To: Frank Wunderlich Cc: Frank Wunderlich , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Michael Turquette , Stephen Boyd , Pavel Machek , Lee Jones , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Matthias Brugger , AngeloGioacchino Del Regno , Eric Woudstra , Tianling Shen , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-leds@vger.kernel.org, netdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org References: <20240505164549.65644-1-linux@fw-web.de> <20240505164549.65644-2-linux@fw-web.de> <8e9fd4c9-f537-4413-b8c8-988b001b64c0@linaro.org> From: Krzysztof Kozlowski Content-Language: en-US Autocrypt: addr=krzysztof.kozlowski@linaro.org; keydata= xsFNBFVDQq4BEAC6KeLOfFsAvFMBsrCrJ2bCalhPv5+KQF2PS2+iwZI8BpRZoV+Bd5kWvN79 cFgcqTTuNHjAvxtUG8pQgGTHAObYs6xeYJtjUH0ZX6ndJ33FJYf5V3yXqqjcZ30FgHzJCFUu JMp7PSyMPzpUXfU12yfcRYVEMQrmplNZssmYhiTeVicuOOypWugZKVLGNm0IweVCaZ/DJDIH gNbpvVwjcKYrx85m9cBVEBUGaQP6AT7qlVCkrf50v8bofSIyVa2xmubbAwwFA1oxoOusjPIE J3iadrwpFvsZjF5uHAKS+7wHLoW9hVzOnLbX6ajk5Hf8Pb1m+VH/E8bPBNNYKkfTtypTDUCj NYcd27tjnXfG+SDs/EXNUAIRefCyvaRG7oRYF3Ec+2RgQDRnmmjCjoQNbFrJvJkFHlPeHaeS BosGY+XWKydnmsfY7SSnjAzLUGAFhLd/XDVpb1Een2XucP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z6LMXhB21fa5DGs/tHAcUF35hSJrvMJzPT/+u /oVmYDFZkbLlqs2XpWaVCo2jv8+iHxZZ9FL7F6AHFzqEFdqGnJQqmEApiRqH6b4jRBOgJ+cY qc+rJggwMQcJL9F+oDm3wX47nr6jIsEB5ZftdybIzpMZ5V9v45lUwmdnMrSzZVgC4jRGXzsU EViBQt2CopXtHtYfPAO5nAkIvKSNp3jmGxZw4aTc5xoAZBLo0OV+Ezo71pg3AYvq0a3/oGRG KQ06ztUMRrj8eVtpImjsWCd0bDWRaaR4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 06/05/2024 19:10, Frank Wunderlich wrote: > Hi > >> Gesendet: Montag, 06. Mai 2024 um 10:18 Uhr >> Von: "Krzysztof Kozlowski" >> An: "Frank Wunderlich" , "Rob Herring" , "Krzysztof Kozlowski" , "Conor Dooley" , "Michael Turquette" , "Stephen Boyd" , "Pavel Machek" , "Lee Jones" , "David S. Miller" , "Eric Dumazet" , "Jakub Kicinski" , "Paolo Abeni" , "Matthias Brugger" , "AngeloGioacchino Del Regno" >> Cc: "Frank Wunderlich" , "Eric Woudstra" , "Tianling Shen" , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-leds@vger.kernel.org, netdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org >> Betreff: Re: [RFC v1 1/5] dt-bindings: leds: add led trigger netdev >> >> On 05/05/2024 18:45, Frank Wunderlich wrote: >>> From: Frank Wunderlich >>> >>> Add led trigger implemented with config-symbol LEDS_TRIGGER_NETDEV to >>> binding. >>> >>> Signed-off-by: Frank Wunderlich >>> --- >>> Documentation/devicetree/bindings/leds/common.yaml | 2 ++ >>> 1 file changed, 2 insertions(+) >>> >>> diff --git a/Documentation/devicetree/bindings/leds/common.yaml b/Documentation/devicetree/bindings/leds/common.yaml >>> index 8a3c2398b10c..bf9a101e4d42 100644 >>> --- a/Documentation/devicetree/bindings/leds/common.yaml >>> +++ b/Documentation/devicetree/bindings/leds/common.yaml >>> @@ -113,6 +113,8 @@ properties: >>> # LED indicates NAND memory activity (deprecated), >>> # in new implementations use "mtd" >>> - nand-disk >>> + # LED indicates network activity >>> + - netdev >> >> "dev" is redundant (there is no flash-dev or usb-host-dev). Two network >> interfaces are already provided, so your commit msg must provide >> rationale why this is not enough and why this is useful/needed. > > i only see 1 network binding...and this is labeled/described with wlan and phy > > # LED is triggered by WLAN activity > - pattern: "^phy[0-9]+tx$" > > which second do you mean? > > btw. usb + disk has 3 trigger and "netdev" is already used in some dts, so i thought adding the binding is a good idea > > arch/arm/boot/dts/rockchip/rk3128-xpi-3128.dts:107: * linux,default-trigger = "netdev"; > arch/arm/boot/dts/nxp/imx/imx53-m53menlo.dts:52: linux,default-trigger = "netdev"; > arch/arm/boot/dts/intel/ixp/intel-ixp42x-dlink-dsm-g600.dts:51: linux,default-trigger = "netdev"; > arch/arm/boot/dts/intel/ixp/intel-ixp42x-iomega-nas100d.dts:39: linux,default-trigger = "netdev"; > arch/arm/boot/dts/ti/omap/am5729-beagleboneai.dts:138: linux,default-trigger = "netdev"; > arch/arm/boot/dts/ti/omap/am335x-netcan-plus-1xx.dts:27: linux,default-trigger = "netdev"; > arch/mips/boot/dts/ralink/gardena_smart_gateway_mt7688.dts:107: linux,default-trigger = "netdev"; > arch/mips/boot/dts/ralink/gardena_smart_gateway_mt7688.dts:113: linux,default-trigger = "netdev"; > Then please check previous discussions: https://lore.kernel.org/all/20230217230346.GA2217008-robh@kernel.org/ Best regards, Krzysztof