netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Lad, Prabhakar" <prabhakar.csengg@gmail.com>
To: Andrew Lunn <andrew@lunn.ch>
Cc: "Marek Behún" <kabel@kernel.org>,
	linux-leds@vger.kernel.org, netdev@vger.kernel.org,
	"Pavel Machek" <pavel@ucw.cz>, "Dan Murphy" <dmurphy@ti.com>,
	"Russell King" <linux@armlinux.org.uk>,
	"Matthias Schiffer" <matthias.schiffer@ew.tq-group.com>,
	"Jacek Anaszewski" <jacek.anaszewski@gmail.com>,
	"Mauro Carvalho Chehab" <mchehab+huawei@kernel.org>
Subject: Re: [PATCH leds v2 00/10] Add support for offloading netdev trigger to HW + example implementation for Turris Omnia
Date: Fri, 17 Oct 2025 16:23:20 +0100	[thread overview]
Message-ID: <CA+V-a8uB2WxU74mhkZ3SCpcty4T10Y3MOAf-SkodLCkp-_-AGA@mail.gmail.com> (raw)
In-Reply-To: <bd95b778-a062-47b1-a386-e4561ef0c8cd@lunn.ch>

Hi Andrew,

On Thu, Oct 16, 2025 at 8:44 PM Andrew Lunn <andrew@lunn.ch> wrote:
>
> > I haven't explored the current leds code tbh. Can you please point me
> > to any PHY which uses leds if any.
>
> ~/linux/drivers/net/phy$ grep .led_brightness_set *
> air_en8811h.c:static int air_led_brightness_set(struct phy_device *phydev, u8 index,
> air_en8811h.c:  .led_brightness_set     = air_led_brightness_set,
> as21xxx.c:static int as21xxx_led_brightness_set(struct phy_device *phydev,
> as21xxx.c:              .led_brightness_set = as21xxx_led_brightness_set,
> as21xxx.c:              .led_brightness_set = as21xxx_led_brightness_set,
> as21xxx.c:              .led_brightness_set = as21xxx_led_brightness_set,
> as21xxx.c:              .led_brightness_set = as21xxx_led_brightness_set,
> as21xxx.c:              .led_brightness_set = as21xxx_led_brightness_set,
> as21xxx.c:              .led_brightness_set = as21xxx_led_brightness_set,
> as21xxx.c:              .led_brightness_set = as21xxx_led_brightness_set,
> as21xxx.c:              .led_brightness_set = as21xxx_led_brightness_set,
> as21xxx.c:              .led_brightness_set = as21xxx_led_brightness_set,
> as21xxx.c:              .led_brightness_set = as21xxx_led_brightness_set,
> bcm-phy-lib.c:int bcm_phy_led_brightness_set(struct phy_device *phydev,
> bcm-phy-lib.c:EXPORT_SYMBOL_GPL(bcm_phy_led_brightness_set);
> bcm-phy-lib.h:int bcm_phy_led_brightness_set(struct phy_device *phydev,
> broadcom.c:     .led_brightness_set     = bcm_phy_led_brightness_set,
> broadcom.c:     .led_brightness_set     = bcm_phy_led_brightness_set,
> broadcom.c:     .led_brightness_set     = bcm_phy_led_brightness_set,
> broadcom.c:     .led_brightness_set     = bcm_phy_led_brightness_set,
> broadcom.c:     .led_brightness_set     = bcm_phy_led_brightness_set,
> broadcom.c:     .led_brightness_set     = bcm_phy_led_brightness_set,
> broadcom.c:     .led_brightness_set     = bcm_phy_led_brightness_set,
> broadcom.c:     .led_brightness_set     = bcm_phy_led_brightness_set,
> broadcom.c:     .led_brightness_set     = bcm_phy_led_brightness_set,
> broadcom.c:     .led_brightness_set     = bcm_phy_led_brightness_set,
> broadcom.c:     .led_brightness_set     = bcm_phy_led_brightness_set,
> broadcom.c:     .led_brightness_set     = bcm_phy_led_brightness_set,
> broadcom.c:     .led_brightness_set     = bcm_phy_led_brightness_set,
> broadcom.c:     .led_brightness_set     = bcm_phy_led_brightness_set,
> broadcom.c:     .led_brightness_set     = bcm_phy_led_brightness_set,
> dp83867.c:dp83867_led_brightness_set(struct phy_device *phydev,
> dp83867.c:              .led_brightness_set = dp83867_led_brightness_set,
> dp83td510.c:static int dp83td510_led_brightness_set(struct phy_device *phydev, u8 index,
> dp83td510.c:    .led_brightness_set = dp83td510_led_brightness_set,
> intel-xway.c:static int xway_gphy_led_brightness_set(struct phy_device *phydev,
> intel-xway.c:           .led_brightness_set = xway_gphy_led_brightness_set,
> intel-xway.c:           .led_brightness_set = xway_gphy_led_brightness_set,
> intel-xway.c:           .led_brightness_set = xway_gphy_led_brightness_set,
> intel-xway.c:           .led_brightness_set = xway_gphy_led_brightness_set,
> intel-xway.c:           .led_brightness_set = xway_gphy_led_brightness_set,
> intel-xway.c:           .led_brightness_set = xway_gphy_led_brightness_set,
> intel-xway.c:           .led_brightness_set = xway_gphy_led_brightness_set,
> intel-xway.c:           .led_brightness_set = xway_gphy_led_brightness_set,
> intel-xway.c:           .led_brightness_set = xway_gphy_led_brightness_set,
> intel-xway.c:           .led_brightness_set = xway_gphy_led_brightness_set,
> marvell.c:static int m88e1318_led_brightness_set(struct phy_device *phydev,
> marvell.c:              .led_brightness_set = m88e1318_led_brightness_set,
> marvell.c:              .led_brightness_set = m88e1318_led_brightness_set,
> marvell.c:              .led_brightness_set = m88e1318_led_brightness_set,
> marvell.c:              .led_brightness_set = m88e1318_led_brightness_set,
> marvell.c:              .led_brightness_set = m88e1318_led_brightness_set,
> mxl-86110.c:static int mxl86110_led_brightness_set(struct phy_device *phydev,
> mxl-86110.c:            .led_brightness_set     = mxl86110_led_brightness_set,
> mxl-86110.c:            .led_brightness_set     = mxl86110_led_brightness_set,
> mxl-gpy.c:static int gpy_led_brightness_set(struct phy_device *phydev,
> mxl-gpy.c:              .led_brightness_set = gpy_led_brightness_set,
> mxl-gpy.c:              .led_brightness_set = gpy_led_brightness_set,
> mxl-gpy.c:              .led_brightness_set = gpy_led_brightness_set,
> mxl-gpy.c:              .led_brightness_set = gpy_led_brightness_set,
> mxl-gpy.c:              .led_brightness_set = gpy_led_brightness_set,
> mxl-gpy.c:              .led_brightness_set = gpy_led_brightness_set,
> mxl-gpy.c:              .led_brightness_set = gpy_led_brightness_set,
> mxl-gpy.c:              .led_brightness_set = gpy_led_brightness_set,
> mxl-gpy.c:              .led_brightness_set = gpy_led_brightness_set,
>
Thank you for the pointers.

Cheers,
Prabhakar

  reply	other threads:[~2025-10-17 15:23 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-01  0:51 [PATCH leds v2 00/10] Add support for offloading netdev trigger to HW + example implementation for Turris Omnia Marek Behún
2021-06-01  0:51 ` [PATCH leds v2 01/10] leds: trigger: netdev: don't explicitly zero kzalloced data Marek Behún
2021-06-01  0:51 ` [PATCH leds v2 02/10] leds: trigger: add API for HW offloading of triggers Marek Behún
2021-06-01  0:51 ` [PATCH leds v2 03/10] leds: trigger: netdev: move trigger data structure to global include dir Marek Behún
2021-06-01  0:51 ` [PATCH leds v2 04/10] leds: trigger: netdev: support HW offloading Marek Behún
2021-06-01  0:51 ` [PATCH leds v2 05/10] leds: trigger: netdev: change spinlock to mutex Marek Behún
2021-06-01  0:51 ` [PATCH leds v2 06/10] leds: core: inform trigger that it's deactivation is due to LED removal Marek Behún
2021-06-01 21:12   ` Andrew Lunn
2021-06-02 12:44     ` Marek Behún
2021-06-01  0:51 ` [PATCH leds v2 07/10] leds: turris-omnia: refactor sw mode setting code into separate function Marek Behún
2021-06-01  0:51 ` [PATCH leds v2 08/10] leds: turris-omnia: refactor brightness setting function Marek Behún
2021-06-01  0:51 ` [PATCH leds v2 09/10] leds: turris-omnia: initialize each multicolor LED to white color Marek Behún
2021-06-01  0:51 ` [PATCH leds v2 10/10] leds: turris-omnia: support offloading netdev trigger for WAN LED Marek Behún
2021-06-01  1:44   ` Marek Behún
2021-06-01 21:19   ` Andrew Lunn
2025-10-16 11:43 ` [PATCH leds v2 00/10] Add support for offloading netdev trigger to HW + example implementation for Turris Omnia Lad, Prabhakar
2025-10-16 13:14   ` Andrew Lunn
2025-10-16 18:53     ` Lad, Prabhakar
2025-10-16 19:11       ` Andrew Lunn
2025-10-16 19:25         ` Lad, Prabhakar
2025-10-16 19:44           ` Andrew Lunn
2025-10-17 15:23             ` Lad, Prabhakar [this message]
2025-10-21 10:50               ` Lee Jones
2025-11-05 13:32               ` Lad, Prabhakar
2025-11-05 15:48                 ` Andrew Lunn
2025-11-05 17:52                   ` Lad, Prabhakar
2025-11-05 18:35                     ` Andrew Lunn

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CA+V-a8uB2WxU74mhkZ3SCpcty4T10Y3MOAf-SkodLCkp-_-AGA@mail.gmail.com \
    --to=prabhakar.csengg@gmail.com \
    --cc=andrew@lunn.ch \
    --cc=dmurphy@ti.com \
    --cc=jacek.anaszewski@gmail.com \
    --cc=kabel@kernel.org \
    --cc=linux-leds@vger.kernel.org \
    --cc=linux@armlinux.org.uk \
    --cc=matthias.schiffer@ew.tq-group.com \
    --cc=mchehab+huawei@kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=pavel@ucw.cz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).