Message ID | 20230427001541.18704-1-ansuelsmth@gmail.com |
---|---|
Headers | show |
Series | leds: introduce new LED hw control APIs | expand |
Hi Christian, On Thu, Apr 27, 2023 at 02:15:30AM +0200, Christian Marangi wrote: > This is a continue of [1]. It was decided to take a more gradual > approach to implement LEDs support for switch and phy starting with > basic support and then implementing the hw control part when we have all > the prereq done. I tried to apply this series to give it a try. To what tree should this series be applied upon? > [1] https://lore.kernel.org/lkml/20230216013230.22978-1-ansuelsmth@gmail.com/ > > Changes from previous v8 series: > - Rewrite Documentation from scratch and move to separate commit > - Strip additional trigger modes (to propose in a different series) > - Strip from qca8k driver additional modes (to implement in the different > series) > - Split the netdev chages to smaller piece to permit easier review The changelog reads as if it should be applied instead of v8, but this series doesn't apply on a vanilla kernel. For example, TRIGGER_NETDEV_TX is moved around in this series, but not present in vanilla Linux. Sascha
On Mon, May 08, 2023 at 02:25:14PM +0200, Sascha Hauer wrote: > Hi Christian, > > On Thu, Apr 27, 2023 at 02:15:30AM +0200, Christian Marangi wrote: > > This is a continue of [1]. It was decided to take a more gradual > > approach to implement LEDs support for switch and phy starting with > > basic support and then implementing the hw control part when we have all > > the prereq done. > > I tried to apply this series to give it a try. To what tree should this > series be applied upon? > Hi, since this feature affect multiple branch, the prereq of this branch are still not in linux-next. (the prereq series got accepted but still has to be merged) Lee created a branch. We are waiting for RC stage to request a stable branch so we can reference ti to correctly test this. Anyway you should be able to apply this series on top of this branch [1] Consider that a v2 is almost ready with some crucial changes that should improve the implementation. (so if you are planning on adding support for other device I advice to check also v2, just an additional ops to implement) [1] https://git.kernel.org/pub/scm/linux/kernel/git/lee/leds.git/log/?h=for-leds-next-next [2] https://github.com/Ansuel/linux/commits/leds-offload-support-reduced > > [1] https://lore.kernel.org/lkml/20230216013230.22978-1-ansuelsmth@gmail.com/ > > > > Changes from previous v8 series: > > - Rewrite Documentation from scratch and move to separate commit > > - Strip additional trigger modes (to propose in a different series) > > - Strip from qca8k driver additional modes (to implement in the different > > series) > > - Split the netdev chages to smaller piece to permit easier review > > The changelog reads as if it should be applied instead of v8, but this > series doesn't apply on a vanilla kernel. For example, TRIGGER_NETDEV_TX > is moved around in this series, but not present in vanilla Linux. > > > -- > Pengutronix e.K. | | > Steuerwalder Str. 21 | http://www.pengutronix.de/ | > 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | > Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
On Mon, May 08, 2023 at 02:33:25PM +0200, Christian Marangi wrote: > On Mon, May 08, 2023 at 02:25:14PM +0200, Sascha Hauer wrote: > > Hi Christian, > > > > On Thu, Apr 27, 2023 at 02:15:30AM +0200, Christian Marangi wrote: > > > This is a continue of [1]. It was decided to take a more gradual > > > approach to implement LEDs support for switch and phy starting with > > > basic support and then implementing the hw control part when we have all > > > the prereq done. > > > > I tried to apply this series to give it a try. To what tree should this > > series be applied upon? > > > > Hi, > since this feature affect multiple branch, the prereq of this branch are > still not in linux-next. (the prereq series got accepted but still has > to be merged) > > Lee created a branch. Ok, this explains it, thanks. > > We are waiting for RC stage to request a stable branch so we can > reference ti to correctly test this. > > Anyway you should be able to apply this series on top of this branch [1] > > Consider that a v2 is almost ready with some crucial changes that should > improve the implementation. (so if you are planning on adding support > for other device I advice to check also v2, just an additional ops to > implement) I'll wait for v2 then. My ultimate goal is to implement LED trigger support for the DP83867 phy. It would be great if you could Cc me on v2 so I get a trigger once it's out. Thanks for working on this topic. It pops up here every once in a while and it would be good to get it solved. Sascha
> I'll wait for v2 then. My ultimate goal is to implement LED trigger support > for the DP83867 phy. It would be great if you could Cc me on v2 so I get > a trigger once it's out. Hi Sascha Full hardware offload is going to take a few patch sets. The v2 to be posted soon gives basic support. It is will be missing linking the PHY LED to the netdev. We have patches for that. And then there is a DT binding, which again we have patches for. It could also be my Marvell PHY patches are a separate series. You might want those to get an example for your DP83867 work. I'm hoping we can move faster than last cycles, there is less LED and more networking, so we might be closer to 3 day review cycles than 2 weeks. Andrew