🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #22087

Re: [PATCH net-next v4] net: phy: marvell: add support for PHY LEDs polarity modes

#22087
From: Andrew Lunn
Date: Tue, 24 Nov 2026 21:07
14 lines
8598 bytes
On Tue, Nov 24, 2026 at 07:11:35PM +0100, Aleksander Jan Bajkowski wrote:
> Add the led_polarity_set callback for setting LED polarity. Implement
> this callback for the 88E1116R, 88E1318 and 88E1510 PHYs. This should
> also work on other Marvell PHYs, but I don't have access to the TRM or
> the hardware.
> 
> Tested on Adapteva Paralella board with Marvell 88E1318 PHY.
> 
> Signed-off-by: Aleksander Jan Bajkowski <olek2@wp.pl>

Reviewed-by: Andrew Lunn <andrew@lunn.ch>

    Andrew
Technical Details
Message-ID: <bbedbdd6-8255-47ae-8411-aaba27214a8a@lunn.ch>
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-370763-linux-kernel-netdev=dewy.ru
References: <20261124202054.1070702-1-olek2@wp.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-370763-linux-kernel-netdev=dewy.ru
From: andrew@lunn.ch (Andrew Lunn)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net-next v4] net: phy: marvell: add support for PHY LEDs
 polarity modes
Date: Tue, 24 Nov 2026 22:07:38 +0100
Organization: Usenet Network
Message-ID: <bbedbdd6-8255-47ae-8411-aaba27214a8a@lunn.ch>
References: <20261124202054.1070702-1-olek2@wp.pl>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Injection-Info: usenet.network;
	logging-data="38698"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:CJSgxvB1BJEnRxmSllH8d33yMdU= sha256:PBVpJLvUMeOgNsefzH8PZAf4ji/99DJ062rDwb0JUe0=
	sha1:c9PmH7fSuk1x95kUQYN/vn98Np8= sha256:Rq2pL5sqjvsqQ3n8P0iSovKvhFtzPLLH2GseHagLf5Q=
Content-Disposition: inline
List-ID: <netdev.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1])
	by mail.dewy.ru (Postfix) with ESMTP id 6B651125E32; Wed, 25 Nov 2026 00:08:18 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.05
X-Spam-Status: No, score=-3.05 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
	DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.249,
	MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001,
	SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (1024-bit key)
	header.d=lunn.ch
X-Received: from mail.dewy.ru ([127.0.0.1])
	by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id ebBIemGj3ci2;
	Wed, 25 Nov 2026 00:08:15 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-370763-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=lunn.ch
X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
	by mail.dewy.ru (Postfix) with ESMTPS id 666E3125E2E; Wed, 25 Nov 2026 00:08:05 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by sea.lore.kernel.org (Postfix) with ESMTP id 478212A73D; Tue, 24 Nov 2026 21:08:04 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
	t=1795554484;
	b=SrQb4lcaOX7hjhRS3lP7cAE0SS8W7BLDiFcbgbdgG1XnpIjptCs6L9LafVGgaAC5ARyI
	 vgDhW5qGMWz5Pua2pM3BvDECVfEaveumtGMKkg+NHQzPuklslckcQ4IYhlSwf2eVI4y0h
	 Gs3194Q0aSJvHt9LgtMl9zFfVWafNpJSnacuC20/ILsQv0zzw95auHUib9FogaWQz12lS
	 wTCh/XDv7ITWBrPVg5DXpFl17M9dTp4Yznfl6zCqMRDiLEvsJBYuZ8Pk27UEieFXZobKx
	 JQGqd3bpqIgVVKGA2cNGpYHI4DEQT6UqpL/YIQ/aU27XlJLsqLwM7raWL8wnWlKcj8A==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1795554484;
	h=X-Original-To:Received:DMARC-Filter:DKIM-Signature:Received:Date:
	 From:To:Cc:Subject:Message-ID:References:X-Mailing-List:List-Id:
	 List-Post:List-Help:List-Subscribe:List-Unsubscribe:List-Owner:
	 Precedence:MIME-Version:Content-Type:Content-Disposition:In-Reply-To;
	bh=stmJ501BpvjAccVzRZit0diOdUkKTMI8Pg27qZ0I8/Y=;
	b=JaB2yyu9ZM66McZiL0v6qbBTScx/3t3PMXJMkW4TeZ3YaFKBfkdjnAXutW7nDe/5QayK
	 RilN24jaKtHKGbRSF8wa34n3QxOXcmU4rv9B7MvlJIBoLkqxWwfuLKtFETB+RMU5Og8vl
	 qw5p+s909Qys1ZCFm+J3ljyfD8OQKktCJNKNfnbJ4feLDWBSFMN4VL1GQhPjh3E1G4ITH
	 7iw20YMi6dJaiIjfkYO0668xNMkC8JDZjD85+i/eLKeaJXi+RmkdTvzv7kzZfwjdcjUbB
	 GWpjMRGpQaUvWy7wwxs+27+5KMuGUVG6bD3Em6dyE9mSPDarkAp0A2Ps19uQ+wkCzRg==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=lunn.ch header.i=@lunn.ch header.a=rsa-sha256 header.s=20171124 header.b=1rWphg3B;
	dmarc=pass header.from=lunn.ch;
	spf=pass smtp.mailfrom=lunn.ch;
	arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-Received: from localhost.localdomain (localhost [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id 1F042606A32C;
	Tue, 24 Nov 2026 21:08:04 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.a=rsa-sha256 header.s=20171124 header.b=1rWphg3B
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=156.67.10.101
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1795554483;
	b=vyb5fT97UT/tXoeUgtBarZjVcBbLu1RloHca5x07JMetSKBB8FYZir+FEUZI5HZb+kKf
	 YrE4mjNehWpA6CNBEuZfgaU/DXPdDWWmuKIvu5hpqNPt5mTKDDowYmuydpCNVXtmP1iYu
	 v481zZVH4cm7f2bunhLxqiPLDyWtanT3Z67juyvm7m81dRo/kmpZdirg4N7A0AxzgVjva
	 2anUtedKRIsnmu331f8xNj7hwUqXCp0U2ceuB0b8K+Q0W22RyxgjWNdYP67zOYWz/xVD/
	 Xw3Pz25fqRqjtEXgNMVIPp2AOHwssuNze1H5rfbJ3GoWoDW7qRhxEN/FoTKkX9Pb7dQ==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1795554483;
	h=DMARC-Filter:DKIM-Signature:Received:Date:From:To:Cc:Subject:
	 Message-ID:References:MIME-Version:Content-Type:Content-Disposition:
	 In-Reply-To;
	bh=stmJ501BpvjAccVzRZit0diOdUkKTMI8Pg27qZ0I8/Y=;
	b=TYV24E/XgZZ1AsfAdPzRFx1u3z9tBY7R0RreBXhFXJi4q9RDor2qmSCV+2UHm/3UDwAC
	 ZXpM0+ZP3DzA1dcVLVxYmOcRYRBMstc1kIQHKCwHATWY1YYjXDl3aE0OA8/Cuvmr2GBO9
	 xYkCd0pOEmYDdtJ2V8QhUqL6k5Kyrzr3qxl8fuWta+Q61IiES2fd8okekIBLV4KWiSlnI
	 rWyN7w1HGYjiqEZiC11E2E9oNs9xfLT6C+n9exYxH+TrsehqlrjsXXJGiTddQ77T9M6Oc
	 q/JmxfCFxR4749kCIn2VQ0Obc2ArrgS97z88qw3/u1KfGTFK55NvSZW8TShgeH058yw==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dmarc=pass header.from=lunn.ch;
	spf=pass smtp.mailfrom=lunn.ch;
	dkim=pass header.d=lunn.ch header.i=@lunn.ch header.a=rsa-sha256 header.s=20171124 header.b=1rWphg3B;
	arc=none smtp.remote-ip=156.67.10.101
X-Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange ECDHE (prime256v1) server-signature ECDSA (prime256v1) server-digest SHA256)
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id D8689606A31E
	for <netdev@vger.kernel.org>; Tue, 24 Nov 2026 21:08:02 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org D8689606A31E
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lunn.ch
X-DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch;
	s=20171124; h=In-Reply-To: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=stmJ501BpvjAccVzRZit0diOdUkKTMI8Pg27qZ0I8/Y=; b=1rWphg3BlFm//KapY3okvNgmFo
	SvUk+9TRJy12J87jAnL43xRwAoVln32y6gsWNlChsM0RoasKSoNh85DivIggm0ZQn/x9+qnmv1ppp
	pBHYjIjbBQTlYYg86d+NXx16O+aV93LHKcoRri0PEZx0IRcfaD/rIwJY2WeEFRAugy+I=;
X-Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2)
	(envelope-from <andrew@lunn.ch>)
	id 1xVxjm-001A7T-Jj; Tue, 24 Nov 2026 22:07:38 +0100
X-Cc: skyline@mail.ru, hkallweit1@gmail.com, linux@armlinux.org.uk,
	davem@davemloft.net, edumazet@kernel.org, kuba@kernel.org,
	pabeni@redhat.com, netdev@vger.kernel.org
X-Mailing-List: netdev@vger.kernel.org
X-List-Post: <mailto:netdev@vger.kernel.org>
X-List-Help: <mailto:netdev+help@vger.kernel.org>
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-List-Owner: <mailto:netdev+owner@vger.kernel.org>
X-Precedence: list
X-In-Reply-To: <20261124202054.1070702-1-olek2@wp.pl>