Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp2509727rdh; Sun, 26 Nov 2023 08:46:23 -0800 (PST) X-Google-Smtp-Source: AGHT+IHf59z7OiFYLnNXccYyRjAzlVbtOivnUcGf7X0W8ELBl4/LUfEh4n57Vcclx+XFXL85GSIf X-Received: by 2002:a17:90b:4c05:b0:285:25b3:4d5d with SMTP id na5-20020a17090b4c0500b0028525b34d5dmr7560002pjb.8.1701017183488; Sun, 26 Nov 2023 08:46:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701017183; cv=none; d=google.com; s=arc-20160816; b=jP6cKy6DLlD3yxyiLQ1lXEUEsisPE2tCfWmZbK2vW29g7hdaKTe15u4fbp6vYsJQdE sp6VvqAvutQkwv5I1dUnWfmT7mOOq85S6cB9eGWws4kVkpEuY+5/tCuU+hVYQQ9/6eNv Ie4wKLLl6Kphja9onGK8aYVZPgH6JgUX134YKc5wx7EGFegcEBIqZ+RYUwWrg1TilmmQ GBjrqCfuchW08rYIqjGbvDdhm/KJzAiUXUOVsIx5FHGdWcWrLW3Mm0c/CGyLaBtyuex7 QTBT1UD+1hq+ihVZHOr+Y92YLFybDZkpcW/Owyu7voUmiD6qbQpcUZBz4quO5vyHGeMs Ec5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=j2jPT/9rr9kXvPsTQ11nJwwxmOX/0wSB95nubK+OrHc=; fh=ya+F2hAcyt4InIOyb9db5AWgH4mneOyZtP7moKYl6QM=; b=seqeg5K/FOK/4cr8WqIwmQwGth8KCCNKKavODx9P0o431JrKPQIJ8/3Y3RHsKTUXqz xxrjsnS0H9wIQi5elwbHn7nfuFiQMn5Z3AKJQK3KALcTMjTLoWeCfX73gvDJI+/h9lF2 pTXyZjifhNEpYw1ZqW36BTogMAnTAl6pF/FMB+c+FCF8L0lmn1zyktHXaaj1Ao0oPGVG Hg6FCOvDsurlLF+jmtS1W2HvI+s37px5SW4MfuzmAOjkxDF9ELzBkZEyc9RpGyk3vOUS 0WPiVY7q8CAVLmh0UyY31UoYglrSwKpVaV90P7tJvcU3Dn51cotlngAa9mjoEMkrG/1H aFcw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=56++GXxv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Return-Path: Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id f24-20020a17090aa79800b002839bc84a0esi8428293pjq.139.2023.11.26.08.46.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 Nov 2023 08:46:23 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=56++GXxv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id E99318080EF9; Sun, 26 Nov 2023 08:45:58 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230243AbjKZQpi (ORCPT + 99 others); Sun, 26 Nov 2023 11:45:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49416 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229437AbjKZQpg (ORCPT ); Sun, 26 Nov 2023 11:45:36 -0500 Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C0EF39C; Sun, 26 Nov 2023 08:45:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Transfer-Encoding:Content-Disposition: Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:From: Sender:Reply-To:Subject:Date:Message-ID:To:Cc:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Content-Disposition: In-Reply-To:References; bh=j2jPT/9rr9kXvPsTQ11nJwwxmOX/0wSB95nubK+OrHc=; b=56 ++GXxvk0aycH3l+IA1TCnmFUQtlOctVh1L+hFZhIePl6+oxXNV8sbIcBwNipOqqaKfHBNfQ6Gj3vU IPDQFgHwbRIKCY9CJ1v5t5qUWDqmphWDvf7a8S/F+S+8Gpre76Q/+TBabmvea6DcgqU0t7w06ebRq eVm5PwlyUY8u2tU=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1r7IGB-001G8A-Mb; Sun, 26 Nov 2023 17:45:31 +0100 Date: Sun, 26 Nov 2023 17:45:31 +0100 From: Andrew Lunn To: Linus Walleij Cc: Florian Fainelli , Vladimir Oltean , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Christian Marangi , Tim Harvey , linux-kernel@vger.kernel.org, netdev@vger.kernel.org Subject: Re: [PATCH RFC] net: dsa: mv88e6xxx: Support LED control Message-ID: <4bd8642c-988f-4b99-944a-da573d0ef2c3@lunn.ch> References: <20231123-mv88e6xxx-leds-v1-1-3c379b3d23fb@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Sun, 26 Nov 2023 08:45:59 -0800 (PST) On Sun, Nov 26, 2023 at 12:46:03AM +0100, Linus Walleij wrote: > On Thu, Nov 23, 2023 at 5:13 PM Andrew Lunn wrote: > > > What i would really like to see happen is that the DSA core handles > > the registration of the LEDs, similar to how phylib does. The DT > > binding should be identical for all DSA devices, so there is no need > > for each driver to do its own parsing. > > > > There are some WIP patches at > > > > https://github.com/lunn/linux.git leds-offload-support-reduced-auto-netdev > > > > which implement this. Feel free to make use of them. > > Oh it's quite a lot of patches, I really cannot drive that because there are > so many things about them that I don't understand the thinking behind... > But I like what I see! O.K. Let me dust them off, rebase them on net-next and see what is missing. You have some fibre things i don't have. I don't have a machine with fibre so i cannot test that. Andrew