Article View: linux.kernel.netdev
Article #9941Re: [RFC] hwmon: (tps23861) PSE-PD support, extend hwmon driver or move to pse-pd?
From: Andrew Lunn
Date: Mon, 02 Nov 2026 17:33
Date: Mon, 02 Nov 2026 17:33
30 lines
9834 bytes
9834 bytes
On Mon, Nov 02, 2026 at 05:57:06PM +0100, Kory Maincent wrote: > > > On 11/2/26 17:36, Andrew Lunn wrote: > > > I am not using at all the hwmon framework in that development. > > > But as the binding tps23861 is already reserved for hwmon I use a new > > > "tps23861-poe" compatible name binding. > > > To me, I agree to remove the hwmon driver but this will break backward > > > compatibility. I am not a hwmon maintainer so it's not my decision to take. > > > > Is the hwmon code applicable to the tps238XX range of devices? > > > > Can that hwmon code by merged into the PoE driver? Without API > > changes, apart from dropping the API abuse case? The compatible can > > then be transplanted into the PoE driver? > > Should we really want to add the hwmon framework in the driver only to keep > the binding name? That is why i asked if the code is applicable. If it is using hwmon to show the temperature of the PoE controller, it probably is applicable. If it is just repeating the same information which is available in ethtool, then it is not so useful. If it is not useful, the hwmon driver should be marked as deprecated, and a pointer added to the real PoE driver. Andrew
Technical Details
Message-ID:
<300336f7-94d2-4075-abf3-2c1ddc48fa69@lunn.ch>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-354972-linux-kernel-netdev=dewy.ruReferences:
<03055ffd-d015-4810-8b8a-678821fa6dcc@damex.org> <92e3383e-26f8-4bed-b487-1c52f6c4f420@roeck-us.net> <8cd41211-b026-4158-8e18-454a9ac0bae4@damex.org> <4d12314e-56db-412c-a558-e4026cd03528@roeck-us.net> <d126b3d3-33b9-405c-9839-db492d874ece@lunn.ch> <9bac0a84-f03d-4fd1-8092-9922c65010bf@bootlin.com> <57516add-01bf-492b-9fd9-2bcb762e3041@roeck-us.net> <1219dc2f-0f96-40db-8268-1a8eb009b152@bootlin.com> <e422d6e8-3385-43f2-bcd3-1c5060a5b45e@lunn.ch> <d7f5a3b3-a3e9-47bf-8f08-5c8feb0c88e7@bootlin.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-354972-linux-kernel-netdev=dewy.ru From: andrew@lunn.ch (Andrew Lunn) Newsgroups: linux.kernel.netdev Subject: Re: [RFC] hwmon: (tps23861) PSE-PD support, extend hwmon driver or move to pse-pd? Date: Mon, 2 Nov 2026 18:33:52 +0100 Organization: Usenet Network Message-ID: <300336f7-94d2-4075-abf3-2c1ddc48fa69@lunn.ch> References: <03055ffd-d015-4810-8b8a-678821fa6dcc@damex.org> <92e3383e-26f8-4bed-b487-1c52f6c4f420@roeck-us.net> <8cd41211-b026-4158-8e18-454a9ac0bae4@damex.org> <4d12314e-56db-412c-a558-e4026cd03528@roeck-us.net> <d126b3d3-33b9-405c-9839-db492d874ece@lunn.ch> <9bac0a84-f03d-4fd1-8092-9922c65010bf@bootlin.com> <57516add-01bf-492b-9fd9-2bcb762e3041@roeck-us.net> <1219dc2f-0f96-40db-8268-1a8eb009b152@bootlin.com> <e422d6e8-3385-43f2-bcd3-1c5060a5b45e@lunn.ch> <d7f5a3b3-a3e9-47bf-8f08-5c8feb0c88e7@bootlin.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: usenet.network; logging-data="3034363"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:y7cn0l7chrqDB4WKJOr24XqMoQo= sha256:TwbwDxValMZR/XNzfKpa/IOlSjyaueuY0kdpTGo9QMI= sha1:NswhWstVT//1GeOEkHzS9A8aXK8= sha256:5eFW5iKiMx7Ssr9gQ1DQ70NpFqA38GTc/Gvh4EmBmD8= 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 CF8C3112689; Tue, 3 Nov 2026 00:23:44 +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 tKE_Byh9ZqBL; Tue, 3 Nov 2026 00:23:42 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-354972-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 37D481123B1; Tue, 3 Nov 2026 00:23:33 +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 77B2C1C56B8; Mon, 2 Nov 2026 17:47:34 +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=1793640845; b=4D92GmJAM607u6tWNipEffoRVyzlpKvi0CYdaQHz9rvyKQHkkrqbVDTGVLvg1ePRqISy fbY78ZWWOsTGt9HmoGEBp563jEnaFgcQo/R/FT3gbZE5oEGJG/OTfdW4n/DFpqoDmueyC 7BYF5oeUvJ6UyT7a2f90fK5MOG7hKXRpVTs1fHtSlUZzQ3UtfZu739HHUZObxGa6m7i1z Q4/1vgvyEtOEsW+BUl1bMku3/RR2HHeQljpX+2Ay/eoIdd6jvdgo2orJ7O5f/MfYFr9Yl O/etR8/R+OKNGE9SM/WLe/cOFZUXMny1N83D5GwVuR6hS5a95PXNlbBTKTr36hdM8og== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793640845; 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=Cl8W7PCmAvj0H5ym9/oIHdX5JS8ulLYYJKda+ChCBbI=; b=E2VmM+UeOPstGJW9I0VEaQypCaXN3pGYfa8I6rhdsW9wk8mWgXmdIMHKULK7LCtbO8cR IJ8EBSR3QI6OuTMV40gGcYUwffF+9gPqsqI+DheAnpe9VfamTuITw13v9nID6A7pgwIfa u81tyH51K0PP7eLXO03j3veHmeAJ0N9Ut4J/ao/OyszYqX600LgE3L2QuUsh1HNJjwpaL 8yxzOQS3njCutKAIy7ZLeXNdCSs2UUHVV+PEWjm8R/1X/yLINEGgbcOXvFRt3lEYPn6Oc F5UoqpnqlwkiEDgM+2TBd+mQOHy6EcOEhtt99cmFmf6pvol7u+xVpQsbuZpgZiYcdYQ== 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=UVRwjNYW; 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 1CB7A606C3DD; Mon, 2 Nov 2026 17:34:05 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key, unprotected) header.d=lunn.ch header.i=@lunn.ch header.a=rsa-sha256 header.s=20171124 header.b=UVRwjNYW 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=1793640844; b=pmViqGXHlo2z5kdy3xeWIW8piHZETTH7QR46xbdr/BaCXql3ECPfD0DPfdBnyi5B9Lng EjsTj6F8XkFqlIysGhbNx+R5v5tEPVt4dDgawUO4WfV3Jjak8oqHxx+uy6xNoIbxYnq6L TdyuRQg7hPy6dtpluAZxGVyVqN+Y+SguDmIXm1J+c7IZzpiQVJ5hTqGwofd07T6jpCWCg rcNSt85IpGyeZskMJzjtI5LgHr/9/KhjupaAB6P2ZmtXBaHPk2Avbsz6/2vgnR4WqaIT9 MyPezd51lcABbGOzkxp/XFA6/060fHsQMQi8wZN/UVuYdG8Nq13/CMnW05M6/GQHpIA== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793640844; h=DMARC-Filter:DKIM-Signature:Received:Date:From:To:Cc:Subject: Message-ID:References:MIME-Version:Content-Type:Content-Disposition: In-Reply-To; bh=Cl8W7PCmAvj0H5ym9/oIHdX5JS8ulLYYJKda+ChCBbI=; b=ToCDoRb3huu+2pSbQtLtxEp9Vntw+aW7UXpY7EpTq4rOsJs6VNGkLvYKlE2gwiPCzCMd 9+wH4oU6d+u4k5kYDm+yrYUwi8opIBzP2uyJw3pRRS1er+l4yJp4fB/dSIDpuh87B7zt9 qV1VHpp3/GkPw0zqxGVxx/nAPLUFAGsIV66JPmuqnAbuMSciPe8N2+h/RM17hsLNq2fNl PBlfT1m8yeTuwd7GWrLyQAkd0gr7uVTKofGIG9+PlfNcFMME4rCK8SJd3DClU/VqAam/P Ths0Y/VJGIPF00J8Elkdn3dHYNXx8vQCaH9pSLY7zQtK/2MIamwOlWeBZylRRf/+AYw== 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=UVRwjNYW; 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 EA9FD606A339; Mon, 2 Nov 2026 17:34:03 +0000 (UTC) X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org EA9FD606A339 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=Cl8W7PCmAvj0H5ym9/oIHdX5JS8ulLYYJKda+ChCBbI=; b=UVRwjNYWd4j+dvaAiP5E/kRER/ VOE7OQgCan9gSQt4Oc5qupVbNCuosNG81x1ak6jSSPbAXx0wJcx+nszMIpv/u2NvnrhCbcczpbtOI 1vkIfptvR2/wyFOAjYIpStmbhB5O53VU1H7hADV9K8wRwrFjQrnTTw2iwcEIMVxvmI00=; X-Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from <andrew@lunn.ch>) id 1xNvuq-00DqIs-8K; Mon, 02 Nov 2026 18:33:52 +0100 X-Cc: Guenter Roeck <linux@roeck-us.net>, Roman Kuzmitskii <roman@damex.org>, linux-hwmon@vger.kernel.org, netdev@vger.kernel.org, robert.marko@sartura.hr, luka.perkov@sartura.hr, o.rempel@pengutronix.de 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: <d7f5a3b3-a3e9-47bf-8f08-5c8feb0c88e7@bootlin.com>