Message ID | 20221118001548.635752-1-tharvey@gateworks.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp697191wrr; Thu, 17 Nov 2022 16:21:40 -0800 (PST) X-Google-Smtp-Source: AA0mqf4PtW32DyhZuxV+cIR5RYsYIYJ39EGEV9a2GOgnqzx6UpAsri6esUEdeB5ZVvZoFpM2jYNA X-Received: by 2002:a17:902:9889:b0:186:d89d:f0aa with SMTP id s9-20020a170902988900b00186d89df0aamr5173605plp.50.1668730900038; Thu, 17 Nov 2022 16:21:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668730900; cv=none; d=google.com; s=arc-20160816; b=Li0xaBDQkXPCv7qlnw+gEFLahYwg7qlXWNPG0izrUxPqjJELUtmyOIftYHaAK4nij1 wjIkoUNq7ZDfJvKzbCyB5qJLA7QgBW6HQA/L9FE0lcXo0GH8cS+268y7gCn29PcskRbd 8rDM0b8E2rmvvFyAq8pbDc6DKIvanR6uYQ4J9tGtmBIgCovmG6/XhMi8z5qYU/ZHFuQu oI+2h4EpLTHtkBBG7xxGJ+A2R8yV2rRG7EQtnb8exOESxiSZymgC4Ay3piPXg0ly5CUU CWD9NvpRyLOniLJ0RT+zVqreJQWaSulxIj7LVfKLHastuipl0sHLs9EA2udctvplZb5q PWiw== 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 :message-id:date:subject:cc:to:from; bh=mhLE2TdGpMQtUxQC5SRfiFsA71c/0Qmq2HXpYGC/rEc=; b=sFpJ6neBTy0JodVQcynGe5ggt4OH/YwlUgKVNE6jiXtGxa90R5l5/8kOSqS08aNzA1 y5xPDLxS10d1LmIock3xQRGLCd4y6UdXjfKlZq/TWUQFzFFqb/jZeZBjMg5O5zRZoU0v fSspx2W6u6wmVuTxVbUsNnyeV8Vg/Yc3RVEjkn8dItzpeoxXixQoMdHwfib7jyjzwCPp ZmLmfYttOUpFhtiEsYPU+VmUpiVchkOxaWctSE5bZtRUlRrDgY2RyzpaFZg9g0Q+W+s+ a/4sE5QZoXicBWX4VV+xspyqwKNU86NpzvUyHjM7KvzOcfgJxBWCSl2b6kI+4qUV4IqC go3Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 8-20020a631448000000b00461c7200fafsi2328535pgu.320.2022.11.17.16.21.22; Thu, 17 Nov 2022 16:21:40 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240096AbiKRAQB (ORCPT <rfc822;a1648639935@gmail.com> + 99 others); Thu, 17 Nov 2022 19:16:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34580 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232532AbiKRAP7 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 17 Nov 2022 19:15:59 -0500 Received: from finn.localdomain (finn.gateworks.com [108.161.129.64]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 949A83FB92; Thu, 17 Nov 2022 16:15:58 -0800 (PST) Received: from 068-189-091-139.biz.spectrum.com ([68.189.91.139] helo=tharvey.pdc.gateworks.com) by finn.localdomain with esmtp (Exim 4.93) (envelope-from <tharvey@gateworks.com>) id 1ovp2s-000nxs-OE; Fri, 18 Nov 2022 00:15:50 +0000 From: Tim Harvey <tharvey@gateworks.com> To: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, netdev@vger.kernel.org, Andrew Lunn <andrew@lunn.ch>, Heiner Kallweit <hkallweit1@gmail.com>, Russell King <linux@armlinux.org.uk>, Shawn Guo <shawnguo@kernel.org>, Sascha Hauer <s.hauer@pengutronix.de>, Pengutronix Kernel Team <kernel@pengutronix.de>, Fabio Estevam <festevam@gmail.com>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org> Cc: Tim Harvey <tharvey@gateworks.com> Subject: [PATCH 0/3] add dt configuration for dp83867 led modes Date: Thu, 17 Nov 2022 16:15:45 -0800 Message-Id: <20221118001548.635752-1-tharvey@gateworks.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1749791172400377064?= X-GMAIL-MSGID: =?utf-8?q?1749791172400377064?= |
Series |
add dt configuration for dp83867 led modes
|
|
Message
Tim Harvey
Nov. 18, 2022, 12:15 a.m. UTC
This series adds a dt-prop ti,led-modes to configure dp83867 PHY led modes, adds the code to implement it, and updates some board dt files to use the new property. Tim Harvey (3): dt-bindings: net: phy: dp83867: add LED mode property net: phy: dp83867: add LED mode configuration via dt arm64: dts: imx8m*-venice: add dp83867 PHY LED mode configuration .../devicetree/bindings/net/ti,dp83867.yaml | 6 ++++ .../dts/freescale/imx8mm-venice-gw700x.dtsi | 6 ++++ .../dts/freescale/imx8mm-venice-gw7902.dts | 6 ++++ .../dts/freescale/imx8mn-venice-gw7902.dts | 6 ++++ drivers/net/phy/dp83867.c | 32 +++++++++++++++++-- include/dt-bindings/net/ti-dp83867.h | 16 ++++++++++ 6 files changed, 70 insertions(+), 2 deletions(-)
Comments
On Thu, Nov 17, 2022 at 04:15:45PM -0800, Tim Harvey wrote: > This series adds a dt-prop ti,led-modes to configure dp83867 PHY led > modes, adds the code to implement it, and updates some board dt files > to use the new property. Sorry, but NACK. We need PHY leds to be controlled via /sys/class/leds. Everybody keeps trying to add there own way to configure these things, rather than have just one uniform way which all PHYs share. Andrew
On Thu, Nov 17, 2022 at 4:27 PM Andrew Lunn <andrew@lunn.ch> wrote: > > On Thu, Nov 17, 2022 at 04:15:45PM -0800, Tim Harvey wrote: > > This series adds a dt-prop ti,led-modes to configure dp83867 PHY led > > modes, adds the code to implement it, and updates some board dt files > > to use the new property. > > Sorry, but NACK. > > We need PHY leds to be controlled via /sys/class/leds. Everybody keeps > trying to add there own way to configure these things, rather than > have just one uniform way which all PHYs share. > > Andrew Andrew, I completely agree with you but I haven't seen how that can be done yet. What support exists for a PHY driver to expose their LED configuration to be used that way? Can you point me to an example? Best Regards, Tim
> Andrew, > > I completely agree with you but I haven't seen how that can be done > yet. What support exists for a PHY driver to expose their LED > configuration to be used that way? Can you point me to an example? Nobody has actually worked on this long enough to get code merged. e.g. https://lore.kernel.org/netdev/20201004095852.GB1104@bug/T/ https://lists.archive.carbon60.com/linux/kernel/3396223 This is probably the last attempt, which was not too far away from getting merged: https://patches.linaro.org/project/linux-leds/cover/20220503151633.18760-1-ansuelsmth@gmail.com/ I seem to NACK a patch like yours every couple of months. If all that wasted time was actually spent on a common framework, this would of been solved years ago. How important is it to you to control these LEDs? Enough to finish this code and get it merged? Andrew
On Fri, Nov 18, 2022 at 5:11 AM Andrew Lunn <andrew@lunn.ch> wrote: > > > Andrew, > > > > I completely agree with you but I haven't seen how that can be done > > yet. What support exists for a PHY driver to expose their LED > > configuration to be used that way? Can you point me to an example? > > Nobody has actually worked on this long enough to get code merged. e.g. > https://lore.kernel.org/netdev/20201004095852.GB1104@bug/T/ > https://lists.archive.carbon60.com/linux/kernel/3396223 > > This is probably the last attempt, which was not too far away from getting merged: > https://patches.linaro.org/project/linux-leds/cover/20220503151633.18760-1-ansuelsmth@gmail.com/ > > I seem to NACK a patch like yours every couple of months. If all that > wasted time was actually spent on a common framework, this would of > been solved years ago. > > How important is it to you to control these LEDs? Enough to finish > this code and get it merged? > Andrew, Thanks for the links - the most recent attempt does look promising. For whatever reason I don't have that series in my mail history so it's not clear how I can respond to it. Ansuel, are you planning on posting a v7 of 'Adds support for PHY LEDs with offload triggers' [1]? I'm not all that familiar with netdev led triggers. Is there a way to configure the default offload blink mode via dt with your series? I didn't quite follow how the offload function/blink-mode gets set. Best Regards, Tim [1] https://patches.linaro.org/project/linux-leds/list/?submitter=10040
On Fri, Nov 18, 2022 at 11:57:00AM -0800, Tim Harvey wrote: > On Fri, Nov 18, 2022 at 5:11 AM Andrew Lunn <andrew@lunn.ch> wrote: > > > > > Andrew, > > > > > > I completely agree with you but I haven't seen how that can be done > > > yet. What support exists for a PHY driver to expose their LED > > > configuration to be used that way? Can you point me to an example? > > > > Nobody has actually worked on this long enough to get code merged. e.g. > > https://lore.kernel.org/netdev/20201004095852.GB1104@bug/T/ > > https://lists.archive.carbon60.com/linux/kernel/3396223 > > > > This is probably the last attempt, which was not too far away from getting merged: > > https://patches.linaro.org/project/linux-leds/cover/20220503151633.18760-1-ansuelsmth@gmail.com/ > > > > I seem to NACK a patch like yours every couple of months. If all that > > wasted time was actually spent on a common framework, this would of > > been solved years ago. > > > > How important is it to you to control these LEDs? Enough to finish > > this code and get it merged? > > > > Andrew, > > Thanks for the links - the most recent attempt does look promising. > For whatever reason I don't have that series in my mail history so > it's not clear how I can respond to it. apt-get install b4 > Ansuel, are you planning on posting a v7 of 'Adds support for PHY LEDs > with offload triggers' [1]? > > I'm not all that familiar with netdev led triggers. Is there a way to > configure the default offload blink mode via dt with your series? I > didn't quite follow how the offload function/blink-mode gets set. The idea is that the PHY LEDs are just LEDs in the Linux LED framework. So read Documentation/devicetree/bindings/leds/common.yaml. The PHY should make use of these standard DT properties, including linux,default-trigger. Andrew
On Sun, Nov 20, 2022 at 3:35 PM Andrew Lunn <andrew@lunn.ch> wrote: > > On Fri, Nov 18, 2022 at 11:57:00AM -0800, Tim Harvey wrote: > > On Fri, Nov 18, 2022 at 5:11 AM Andrew Lunn <andrew@lunn.ch> wrote: > > > > > > > Andrew, > > > > > > > > I completely agree with you but I haven't seen how that can be done > > > > yet. What support exists for a PHY driver to expose their LED > > > > configuration to be used that way? Can you point me to an example? > > > > > > Nobody has actually worked on this long enough to get code merged. e.g. > > > https://lore.kernel.org/netdev/20201004095852.GB1104@bug/T/ > > > https://lists.archive.carbon60.com/linux/kernel/3396223 > > > > > > This is probably the last attempt, which was not too far away from getting merged: > > > https://patches.linaro.org/project/linux-leds/cover/20220503151633.18760-1-ansuelsmth@gmail.com/ > > > > > > I seem to NACK a patch like yours every couple of months. If all that > > > wasted time was actually spent on a common framework, this would of > > > been solved years ago. > > > > > > How important is it to you to control these LEDs? Enough to finish > > > this code and get it merged? > > > > > > > Andrew, > > > > Thanks for the links - the most recent attempt does look promising. > > For whatever reason I don't have that series in my mail history so > > it's not clear how I can respond to it. > > apt-get install b4 > > > Ansuel, are you planning on posting a v7 of 'Adds support for PHY LEDs > > with offload triggers' [1]? > > > > I'm not all that familiar with netdev led triggers. Is there a way to > > configure the default offload blink mode via dt with your series? I > > didn't quite follow how the offload function/blink-mode gets set. > > The idea is that the PHY LEDs are just LEDs in the Linux LED > framework. So read Documentation/devicetree/bindings/leds/common.yaml. > The PHY should make use of these standard DT properties, including > linux,default-trigger. > > Andrew Ansuel, Are you planning on posting a v7 of 'Adds support for PHY LEDs with offload triggers' [1]? Best Regards, Tim [1] https://patches.linaro.org/project/linux-leds/list/?series=174704
On Thu, Dec 01, 2022 at 10:26:09AM -0800, Tim Harvey wrote: > On Sun, Nov 20, 2022 at 3:35 PM Andrew Lunn <andrew@lunn.ch> wrote: > > > > On Fri, Nov 18, 2022 at 11:57:00AM -0800, Tim Harvey wrote: > > > On Fri, Nov 18, 2022 at 5:11 AM Andrew Lunn <andrew@lunn.ch> wrote: > > > > > > > > > Andrew, > > > > > > > > > > I completely agree with you but I haven't seen how that can be done > > > > > yet. What support exists for a PHY driver to expose their LED > > > > > configuration to be used that way? Can you point me to an example? > > > > > > > > Nobody has actually worked on this long enough to get code merged. e.g. > > > > https://lore.kernel.org/netdev/20201004095852.GB1104@bug/T/ > > > > https://lists.archive.carbon60.com/linux/kernel/3396223 > > > > > > > > This is probably the last attempt, which was not too far away from getting merged: > > > > https://patches.linaro.org/project/linux-leds/cover/20220503151633.18760-1-ansuelsmth@gmail.com/ > > > > > > > > I seem to NACK a patch like yours every couple of months. If all that > > > > wasted time was actually spent on a common framework, this would of > > > > been solved years ago. > > > > > > > > How important is it to you to control these LEDs? Enough to finish > > > > this code and get it merged? > > > > > > > > > > Andrew, > > > > > > Thanks for the links - the most recent attempt does look promising. > > > For whatever reason I don't have that series in my mail history so > > > it's not clear how I can respond to it. > > > > apt-get install b4 > > > > > Ansuel, are you planning on posting a v7 of 'Adds support for PHY LEDs > > > with offload triggers' [1]? > > > > > > I'm not all that familiar with netdev led triggers. Is there a way to > > > configure the default offload blink mode via dt with your series? I > > > didn't quite follow how the offload function/blink-mode gets set. > > > > The idea is that the PHY LEDs are just LEDs in the Linux LED > > framework. So read Documentation/devicetree/bindings/leds/common.yaml. > > The PHY should make use of these standard DT properties, including > > linux,default-trigger. > > > > Andrew > > Ansuel, > > Are you planning on posting a v7 of 'Adds support for PHY LEDs with > offload triggers' [1]? > > Best Regards, > > Tim > [1] https://patches.linaro.org/project/linux-leds/list/?series=174704 I can consider that only if there is a real interest for it and would love some help by the netdev team to actually have a review from the leds team... I tried multiple time to propose it but I never got a review... only a review from an external guy that wanted to follow his idea in every way possible with the only intention of applying his code (sorry to be rude about that but i'm more than happy to recover the work and search for a common solution) So yes this is still in my TODO list but it would help if others can tell me that they want to actually review it. That would put that project on priority and I would recover and push a v7.
On Thu, Dec 1, 2022 at 10:31 AM Christian Marangi <ansuelsmth@gmail.com> wrote: > > On Thu, Dec 01, 2022 at 10:26:09AM -0800, Tim Harvey wrote: > > On Sun, Nov 20, 2022 at 3:35 PM Andrew Lunn <andrew@lunn.ch> wrote: > > > > > > On Fri, Nov 18, 2022 at 11:57:00AM -0800, Tim Harvey wrote: > > > > On Fri, Nov 18, 2022 at 5:11 AM Andrew Lunn <andrew@lunn.ch> wrote: > > > > > > > > > > > Andrew, > > > > > > > > > > > > I completely agree with you but I haven't seen how that can be done > > > > > > yet. What support exists for a PHY driver to expose their LED > > > > > > configuration to be used that way? Can you point me to an example? > > > > > > > > > > Nobody has actually worked on this long enough to get code merged. e.g. > > > > > https://lore.kernel.org/netdev/20201004095852.GB1104@bug/T/ > > > > > https://lists.archive.carbon60.com/linux/kernel/3396223 > > > > > > > > > > This is probably the last attempt, which was not too far away from getting merged: > > > > > https://patches.linaro.org/project/linux-leds/cover/20220503151633.18760-1-ansuelsmth@gmail.com/ > > > > > > > > > > I seem to NACK a patch like yours every couple of months. If all that > > > > > wasted time was actually spent on a common framework, this would of > > > > > been solved years ago. > > > > > > > > > > How important is it to you to control these LEDs? Enough to finish > > > > > this code and get it merged? > > > > > > > > > > > > > Andrew, > > > > > > > > Thanks for the links - the most recent attempt does look promising. > > > > For whatever reason I don't have that series in my mail history so > > > > it's not clear how I can respond to it. > > > > > > apt-get install b4 > > > > > > > Ansuel, are you planning on posting a v7 of 'Adds support for PHY LEDs > > > > with offload triggers' [1]? > > > > > > > > I'm not all that familiar with netdev led triggers. Is there a way to > > > > configure the default offload blink mode via dt with your series? I > > > > didn't quite follow how the offload function/blink-mode gets set. > > > > > > The idea is that the PHY LEDs are just LEDs in the Linux LED > > > framework. So read Documentation/devicetree/bindings/leds/common.yaml. > > > The PHY should make use of these standard DT properties, including > > > linux,default-trigger. > > > > > > Andrew > > > > Ansuel, > > > > Are you planning on posting a v7 of 'Adds support for PHY LEDs with > > offload triggers' [1]? > > > > Best Regards, > > > > Tim > > [1] https://patches.linaro.org/project/linux-leds/list/?series=174704 > > I can consider that only if there is a real interest for it and would > love some help by the netdev team to actually have a review from the > leds team... > > I tried multiple time to propose it but I never got a review... only a > review from an external guy that wanted to follow his idea in every way > possible with the only intention of applying his code (sorry to be rude > about that but i'm more than happy to recover the work and search for a > common solution) > > So yes this is still in my TODO list but it would help if others can > tell me that they want to actually review it. That would put that > project on priority and I would recover and push a v7. > > -- > Ansuel Ansuel, Considering Andrew is nak'ing any phy code to configure LED's until a solution using via /sys/class/leds is provided I would say there is real interest. It seems to me that you got very positive feedback for this last series. I would think if you submitted without RFC it would catch more eyes as well. Best Regards, Tim
On Thu, Dec 01, 2022 at 10:35:46AM -0800, Tim Harvey wrote: > On Thu, Dec 1, 2022 at 10:31 AM Christian Marangi <ansuelsmth@gmail.com> wrote: > > > > On Thu, Dec 01, 2022 at 10:26:09AM -0800, Tim Harvey wrote: > > > On Sun, Nov 20, 2022 at 3:35 PM Andrew Lunn <andrew@lunn.ch> wrote: > > > > > > > > On Fri, Nov 18, 2022 at 11:57:00AM -0800, Tim Harvey wrote: > > > > > On Fri, Nov 18, 2022 at 5:11 AM Andrew Lunn <andrew@lunn.ch> wrote: > > > > > > > > > > > > > Andrew, > > > > > > > > > > > > > > I completely agree with you but I haven't seen how that can be done > > > > > > > yet. What support exists for a PHY driver to expose their LED > > > > > > > configuration to be used that way? Can you point me to an example? > > > > > > > > > > > > Nobody has actually worked on this long enough to get code merged. e.g. > > > > > > https://lore.kernel.org/netdev/20201004095852.GB1104@bug/T/ > > > > > > https://lists.archive.carbon60.com/linux/kernel/3396223 > > > > > > > > > > > > This is probably the last attempt, which was not too far away from getting merged: > > > > > > https://patches.linaro.org/project/linux-leds/cover/20220503151633.18760-1-ansuelsmth@gmail.com/ > > > > > > > > > > > > I seem to NACK a patch like yours every couple of months. If all that > > > > > > wasted time was actually spent on a common framework, this would of > > > > > > been solved years ago. > > > > > > > > > > > > How important is it to you to control these LEDs? Enough to finish > > > > > > this code and get it merged? > > > > > > > > > > > > > > > > Andrew, > > > > > > > > > > Thanks for the links - the most recent attempt does look promising. > > > > > For whatever reason I don't have that series in my mail history so > > > > > it's not clear how I can respond to it. > > > > > > > > apt-get install b4 > > > > > > > > > Ansuel, are you planning on posting a v7 of 'Adds support for PHY LEDs > > > > > with offload triggers' [1]? > > > > > > > > > > I'm not all that familiar with netdev led triggers. Is there a way to > > > > > configure the default offload blink mode via dt with your series? I > > > > > didn't quite follow how the offload function/blink-mode gets set. > > > > > > > > The idea is that the PHY LEDs are just LEDs in the Linux LED > > > > framework. So read Documentation/devicetree/bindings/leds/common.yaml. > > > > The PHY should make use of these standard DT properties, including > > > > linux,default-trigger. > > > > > > > > Andrew > > > > > > Ansuel, > > > > > > Are you planning on posting a v7 of 'Adds support for PHY LEDs with > > > offload triggers' [1]? > > > > > > Best Regards, > > > > > > Tim > > > [1] https://patches.linaro.org/project/linux-leds/list/?series=174704 > > > > I can consider that only if there is a real interest for it and would > > love some help by the netdev team to actually have a review from the > > leds team... > > > > I tried multiple time to propose it but I never got a review... only a > > review from an external guy that wanted to follow his idea in every way > > possible with the only intention of applying his code (sorry to be rude > > about that but i'm more than happy to recover the work and search for a > > common solution) > > > > So yes this is still in my TODO list but it would help if others can > > tell me that they want to actually review it. That would put that > > project on priority and I would recover and push a v7. > > > > -- > > Ansuel > > Ansuel, > > Considering Andrew is nak'ing any phy code to configure LED's until a > solution using via /sys/class/leds is provided I would say there is > real interest. > > It seems to me that you got very positive feedback for this last > series. I would think if you submitted without RFC it would catch more > eyes as well. > Well yes that's the fun part. netdev really liked the concept and how it was implemented (and actually also liked the use of a dedicated trigger instead of bloating the netdev trigger) But I never got a review from LED team and that result in having the patch stalled and never merged... But ok I will recover the work and recheck/retest everything from the start hoping to get more traction now...
> But I never got a review from LED team and that result in having the > patch stalled and never merged... But ok I will recover the work and > recheck/retest everything from the start hoping to get more traction > now... There are a few emails suggesting the LED team has disappeared, and there are a lot of patches waiting to be merged. I think they were asking GregKH if he could do something about this. https://lore.kernel.org/netdev/Y3zQ5ZtAU4NL3hG4@smile.fi.intel.com/ I don't know if anything has changed since then. Until this is solved, i don't think you will get much from the LED people. Best you can get is more netdev reviews. Andrew
Hello Ansuel, Am Donnerstag, 1. Dezember 2022, 19:38:36 CET schrieb Christian Marangi: > On Thu, Dec 01, 2022 at 10:35:46AM -0800, Tim Harvey wrote: > > On Thu, Dec 1, 2022 at 10:31 AM Christian Marangi <ansuelsmth@gmail.com> wrote: > > > On Thu, Dec 01, 2022 at 10:26:09AM -0800, Tim Harvey wrote: > > > > On Sun, Nov 20, 2022 at 3:35 PM Andrew Lunn <andrew@lunn.ch> wrote: > > > > > On Fri, Nov 18, 2022 at 11:57:00AM -0800, Tim Harvey wrote: > > > > > > On Fri, Nov 18, 2022 at 5:11 AM Andrew Lunn <andrew@lunn.ch> wrote: > > > > > > > > Andrew, > > > > > > > > > > > > > > > > I completely agree with you but I haven't seen how that can be > > > > > > > > done > > > > > > > > yet. What support exists for a PHY driver to expose their LED > > > > > > > > configuration to be used that way? Can you point me to an > > > > > > > > example? > > > > > > > > > > > > > > Nobody has actually worked on this long enough to get code > > > > > > > merged. e.g. > > > > > > > https://lore.kernel.org/netdev/20201004095852.GB1104@bug/T/ > > > > > > > https://lists.archive.carbon60.com/linux/kernel/3396223 > > > > > > > > > > > > > > This is probably the last attempt, which was not too far away > > > > > > > from getting merged: > > > > > > > https://patches.linaro.org/project/linux-leds/cover/20220503151 > > > > > > > 633.18760-1-ansuelsmth@gmail.com/ > > > > > > > > > > > > > > I seem to NACK a patch like yours every couple of months. If all > > > > > > > that > > > > > > > wasted time was actually spent on a common framework, this would > > > > > > > of > > > > > > > been solved years ago. > > > > > > > > > > > > > > How important is it to you to control these LEDs? Enough to > > > > > > > finish > > > > > > > this code and get it merged? > > > > > > > > > > > > Andrew, > > > > > > > > > > > > Thanks for the links - the most recent attempt does look > > > > > > promising. > > > > > > For whatever reason I don't have that series in my mail history so > > > > > > it's not clear how I can respond to it. > > > > > > > > > > apt-get install b4 > > > > > > > > > > > Ansuel, are you planning on posting a v7 of 'Adds support for PHY > > > > > > LEDs > > > > > > with offload triggers' [1]? > > > > > > > > > > > > I'm not all that familiar with netdev led triggers. Is there a way > > > > > > to > > > > > > configure the default offload blink mode via dt with your series? > > > > > > I > > > > > > didn't quite follow how the offload function/blink-mode gets set. > > > > > > > > > > The idea is that the PHY LEDs are just LEDs in the Linux LED > > > > > framework. So read > > > > > Documentation/devicetree/bindings/leds/common.yaml. > > > > > The PHY should make use of these standard DT properties, including > > > > > linux,default-trigger. > > > > > > > > > > Andrew > > > > > > > > Ansuel, > > > > > > > > Are you planning on posting a v7 of 'Adds support for PHY LEDs with > > > > offload triggers' [1]? > > > > > > > > Best Regards, > > > > > > > > Tim > > > > [1] https://patches.linaro.org/project/linux-leds/list/?series=174704 > > > > > > I can consider that only if there is a real interest for it and would > > > love some help by the netdev team to actually have a review from the > > > leds team... > > > > > > I tried multiple time to propose it but I never got a review... only a > > > review from an external guy that wanted to follow his idea in every way > > > possible with the only intention of applying his code (sorry to be rude > > > about that but i'm more than happy to recover the work and search for a > > > common solution) > > > > > > So yes this is still in my TODO list but it would help if others can > > > tell me that they want to actually review it. That would put that > > > project on priority and I would recover and push a v7. > > > > > > -- > > > > > > Ansuel > > > > Ansuel, > > > > Considering Andrew is nak'ing any phy code to configure LED's until a > > solution using via /sys/class/leds is provided I would say there is > > real interest. > > > > It seems to me that you got very positive feedback for this last > > series. I would think if you submitted without RFC it would catch more > > eyes as well. > > Well yes that's the fun part. netdev really liked the concept and how it > was implemented (and actually also liked the use of a dedicated trigger > instead of bloating the netdev trigger) > > But I never got a review from LED team and that result in having the > patch stalled and never merged... But ok I will recover the work and > recheck/retest everything from the start hoping to get more traction > now... I was just trying to use your RFC patchset from May 2022 for dp83867 as well, with some success at least. I have some comments, fixes and uncertainties. How do you want to progress? Resend so I can rebase on that? Anyway, put me on CC. Best regards, Alexander
On 07/12/2022 11.40, Alexander Stein wrote: > Hello Ansuel, > > Am Donnerstag, 1. Dezember 2022, 19:38:36 CET schrieb Christian Marangi: >>> Considering Andrew is nak'ing any phy code to configure LED's until a >>> solution using via /sys/class/leds is provided I would say there is >>> real interest. >>> >>> It seems to me that you got very positive feedback for this last >>> series. I would think if you submitted without RFC it would catch more >>> eyes as well. >> >> Well yes that's the fun part. netdev really liked the concept and how it >> was implemented (and actually also liked the use of a dedicated trigger >> instead of bloating the netdev trigger) >> >> But I never got a review from LED team and that result in having the >> patch stalled and never merged... But ok I will recover the work and >> recheck/retest everything from the start hoping to get more traction >> now... > > I was just trying to use your RFC patchset from May 2022 for dp83867 as well, > with some success at least. > I have some comments, fixes and uncertainties. How do you want to progress? > Resend so I can rebase on that? Anyway, put me on CC. Yes, I'm also very interested in getting mainline support for hardware LED triggers, and incidentally one of my peripherals also happens to be a dp83867. So please also include me on cc if and when you find time to post a v+1, and I'll help with testing and reviewing. Rasmus