From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f46.google.com (mail-wr1-f46.google.com [209.85.221.46]) (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 213C93BB5A for ; Fri, 17 Oct 2025 15:23:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.46 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1760714632; cv=none; b=bAFRJU4PXSI9p/adaNQ1vghWYjYhKUWBajodRDKOSbU3zKzJPg9PvP6wrvW/eElOFrN2lsvWSKUxzkRQ2L3PgSL6GvwUouTMw51Gtcx760qEGfqd9QjAO8ftRPTmmvSeRkunE8fsaWvqPukqvy1u79PPtexmaGWhCKKqZ7/0WH4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1760714632; c=relaxed/simple; bh=IlC1uoM6hGZDFnPynvz/oLrdeH24f/eZIlnDf3u2N1E=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=k3PSP03sQdPM+oASbGBApFZnkv+kwEnAYHQXWsxPVrlRrxIPl0EcxE+xSX6DP9QUv/6VklRYs4bzKhCEKy3gI4BIsN5NlAszxN7PcxAxMXxFdhypEGYbkMpxRg4QSp+WpBZVGVlHVVBGueTM9OcWJiwA40Xka8z0CdFlD7RZK18= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=GcAOPA6T; arc=none smtp.client-ip=209.85.221.46 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="GcAOPA6T" Received: by mail-wr1-f46.google.com with SMTP id ffacd0b85a97d-42420c7de22so1055563f8f.1 for ; Fri, 17 Oct 2025 08:23:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1760714628; x=1761319428; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=2WuCukqGv8l97mP78xfZnvYpfA8a4jrxFt2laMKgkVQ=; b=GcAOPA6TOAwFTtQIu24rrn8pLPIhVs7RA3tkw9DAytyK1c6MdFmJRN2upGtHgaLUY5 0iZ6FYg2zKKLLQqyLqe1SJT//cpGJaO9JlVkzOV8PLE3immiTi3AGJY0Fl8Z/jJX8GYY qFBg8thwE0igMLc+LTSpp4HmtyQWVoPkLgHCemMdZ4TO+R4PzNDkM7RF1liJuvnDbe71 fdItBhFutAdIkGAh5ju2XYl6ni9FB0WWK4Ov35tEuEKSJDb0HJ6s/7dHUPGJhntZbrvf R6pJWciXcxP5LxXH9GkrI3qbSOLOE7nTGtPlL12RRPRj3YrzPSuTgI5m4muvtRdJ67R0 Z7hQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1760714628; x=1761319428; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=2WuCukqGv8l97mP78xfZnvYpfA8a4jrxFt2laMKgkVQ=; b=IeEs3XKyFBp42L/vD12O9lYA9N5aqQUM8Zdlbdj2gaZhdhFhVX+wMJAXQXPZdVkW4V 0k5smlXWr5INd00iW5V3PVvmui3giQLT6Uw/RqWcK/9MTanbup9LCSIGc4jeUUdHDfoM 95G+xDv3HmsMwHaZGRzdjPePaAYXo7Ed70NZSjSh58dR8IvtaDOsm8/TUbLlJfOHs26u xXeSCFt7mQqKCB60NvANAGzewjKPu9FWBOveQy7U3OOVHLGN82Dp4buNedcDFtQB3oPq fkoSykilwqGVX8e1hPPM9FLEHhfEetEbhQoAVlQU1r0WpH7wWfd9Djq1ES1HCYE+YZPn nWpQ== X-Forwarded-Encrypted: i=1; AJvYcCWhGGOgqI6r+JBO/o+cn62oNTGd2J4HQhk1fPY8erzG5nu3ym/Qu8upyiZfT0pi3F1Mt1IOQ0Q=@vger.kernel.org X-Gm-Message-State: AOJu0Yxtq6YvwbpVRf4JnWPpfxpBwS83NjKct2tvpfECE42rKSakdNHz KrioMBIRaVmuuom05lEa7dXJScAU9Q9nWW3qlvJKtpa8VFiuP+YYnMqHKF6jDMglhNIznhgtaw/ WkhpYuFjLjN4+tGDi8U8q+ecEB0sYJJY= X-Gm-Gg: ASbGncssNHfibBxqvIeqxbCvVVcvPgyl5A1RMIasaWO8D1Vj96ssPw7vBEh9RziWE0I N2qLWTW9XZQCc27hUKpVyRO+UuTIwkM288IgAZmQJphBq9ABvezYpw7sacNSqQnKWpL/1H4Ytij FC0DuoVp6pyqpoYZmqELqe+aFqB/NSAypNG/h21qh1OMFOx3XVMKVGMMZa9aAV26n8ZWA6fhNsB wqJKrCfUSKanFSAcs0UQrMIAdHzltGMWfFIxxLykCcUULxyRCTGUWLfV58wOfxP3UvlX9Sf X-Google-Smtp-Source: AGHT+IG9xiadhmJD4lUsclg2Axex3bGa//JnAU5c3h9ptGoH+u70ankmo/AMuooeTQWR4PTCr5WDdAqvMTGtgOVMeWk= X-Received: by 2002:a05:6000:2f83:b0:427:4b0:b3e5 with SMTP id ffacd0b85a97d-42704d99d9cmr3022352f8f.47.1760714628111; Fri, 17 Oct 2025 08:23:48 -0700 (PDT) Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20210601005155.27997-1-kabel@kernel.org> <7d510f5f-959c-49b7-afca-c02009898ef2@lunn.ch> <87875554-1747-4b0e-9805-aed1a4c69a82@lunn.ch> In-Reply-To: From: "Lad, Prabhakar" Date: Fri, 17 Oct 2025 16:23:20 +0100 X-Gm-Features: AS18NWB1QRPamrGSSJSqAaecntg_6BMvM434savRI_Ze2iw7DBFqjzS-Onxj_5k Message-ID: Subject: Re: [PATCH leds v2 00/10] Add support for offloading netdev trigger to HW + example implementation for Turris Omnia To: Andrew Lunn Cc: =?UTF-8?B?TWFyZWsgQmVow7pu?= , linux-leds@vger.kernel.org, netdev@vger.kernel.org, Pavel Machek , Dan Murphy , Russell King , Matthias Schiffer , Jacek Anaszewski , Mauro Carvalho Chehab Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Andrew, On Thu, Oct 16, 2025 at 8:44=E2=80=AFPM Andrew Lunn 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 =3D air_led_brightness_set, > as21xxx.c:static int as21xxx_led_brightness_set(struct phy_device *phydev= , > as21xxx.c: .led_brightness_set =3D as21xxx_led_brightness_se= t, > as21xxx.c: .led_brightness_set =3D as21xxx_led_brightness_se= t, > as21xxx.c: .led_brightness_set =3D as21xxx_led_brightness_se= t, > as21xxx.c: .led_brightness_set =3D as21xxx_led_brightness_se= t, > as21xxx.c: .led_brightness_set =3D as21xxx_led_brightness_se= t, > as21xxx.c: .led_brightness_set =3D as21xxx_led_brightness_se= t, > as21xxx.c: .led_brightness_set =3D as21xxx_led_brightness_se= t, > as21xxx.c: .led_brightness_set =3D as21xxx_led_brightness_se= t, > as21xxx.c: .led_brightness_set =3D as21xxx_led_brightness_se= t, > as21xxx.c: .led_brightness_set =3D as21xxx_led_brightness_se= t, > 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 =3D bcm_phy_led_brightness_set, > broadcom.c: .led_brightness_set =3D bcm_phy_led_brightness_set, > broadcom.c: .led_brightness_set =3D bcm_phy_led_brightness_set, > broadcom.c: .led_brightness_set =3D bcm_phy_led_brightness_set, > broadcom.c: .led_brightness_set =3D bcm_phy_led_brightness_set, > broadcom.c: .led_brightness_set =3D bcm_phy_led_brightness_set, > broadcom.c: .led_brightness_set =3D bcm_phy_led_brightness_set, > broadcom.c: .led_brightness_set =3D bcm_phy_led_brightness_set, > broadcom.c: .led_brightness_set =3D bcm_phy_led_brightness_set, > broadcom.c: .led_brightness_set =3D bcm_phy_led_brightness_set, > broadcom.c: .led_brightness_set =3D bcm_phy_led_brightness_set, > broadcom.c: .led_brightness_set =3D bcm_phy_led_brightness_set, > broadcom.c: .led_brightness_set =3D bcm_phy_led_brightness_set, > broadcom.c: .led_brightness_set =3D bcm_phy_led_brightness_set, > broadcom.c: .led_brightness_set =3D bcm_phy_led_brightness_set, > dp83867.c:dp83867_led_brightness_set(struct phy_device *phydev, > dp83867.c: .led_brightness_set =3D dp83867_led_brightness_se= t, > dp83td510.c:static int dp83td510_led_brightness_set(struct phy_device *ph= ydev, u8 index, > dp83td510.c: .led_brightness_set =3D dp83td510_led_brightness_set, > intel-xway.c:static int xway_gphy_led_brightness_set(struct phy_device *p= hydev, > intel-xway.c: .led_brightness_set =3D xway_gphy_led_brightness_= set, > intel-xway.c: .led_brightness_set =3D xway_gphy_led_brightness_= set, > intel-xway.c: .led_brightness_set =3D xway_gphy_led_brightness_= set, > intel-xway.c: .led_brightness_set =3D xway_gphy_led_brightness_= set, > intel-xway.c: .led_brightness_set =3D xway_gphy_led_brightness_= set, > intel-xway.c: .led_brightness_set =3D xway_gphy_led_brightness_= set, > intel-xway.c: .led_brightness_set =3D xway_gphy_led_brightness_= set, > intel-xway.c: .led_brightness_set =3D xway_gphy_led_brightness_= set, > intel-xway.c: .led_brightness_set =3D xway_gphy_led_brightness_= set, > intel-xway.c: .led_brightness_set =3D xway_gphy_led_brightness_= set, > marvell.c:static int m88e1318_led_brightness_set(struct phy_device *phyde= v, > marvell.c: .led_brightness_set =3D m88e1318_led_brightness_s= et, > marvell.c: .led_brightness_set =3D m88e1318_led_brightness_s= et, > marvell.c: .led_brightness_set =3D m88e1318_led_brightness_s= et, > marvell.c: .led_brightness_set =3D m88e1318_led_brightness_s= et, > marvell.c: .led_brightness_set =3D m88e1318_led_brightness_s= et, > mxl-86110.c:static int mxl86110_led_brightness_set(struct phy_device *phy= dev, > mxl-86110.c: .led_brightness_set =3D mxl86110_led_brightne= ss_set, > mxl-86110.c: .led_brightness_set =3D mxl86110_led_brightne= ss_set, > mxl-gpy.c:static int gpy_led_brightness_set(struct phy_device *phydev, > mxl-gpy.c: .led_brightness_set =3D gpy_led_brightness_set, > mxl-gpy.c: .led_brightness_set =3D gpy_led_brightness_set, > mxl-gpy.c: .led_brightness_set =3D gpy_led_brightness_set, > mxl-gpy.c: .led_brightness_set =3D gpy_led_brightness_set, > mxl-gpy.c: .led_brightness_set =3D gpy_led_brightness_set, > mxl-gpy.c: .led_brightness_set =3D gpy_led_brightness_set, > mxl-gpy.c: .led_brightness_set =3D gpy_led_brightness_set, > mxl-gpy.c: .led_brightness_set =3D gpy_led_brightness_set, > mxl-gpy.c: .led_brightness_set =3D gpy_led_brightness_set, > Thank you for the pointers. Cheers, Prabhakar