🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #9305

Re: [RFC] hwmon: (tps23861) PSE-PD support, extend hwmon driver or move to pse-pd?

#9305
From: Roman Kuzmitskii
Date: Sun, 01 Nov 2026 18:50
19 lines
12211 bytes
On 11/2/26 1:38 AM, Guenter Roeck wrote:
> On 11/1/26 10:02, Roman Kuzmitskii wrote:
>> openwrt reviewers asked me to check with you first which way you prefer:
>> 1. extend hwmon driver with PSE-PD (like it is done right now)
>> 2. move driver to drivers/net/pse-pd and extend it with PSE-PD
>> 3. something else
>>
> The hardware monitoring "enable" attribute is supposed to enable monitoring,
> not to enable some power delivery or network (or any other) port. That "port
> enable" feature using the hwmon ABI was sneaked in, and I am inclined to just
> remove the upstream driver for severe ABI violation.
> 
> Guenter

thanks, does second option look okay with taking tps23861 to drivers/net/pse-pd
with enable attribute going away?

Roman
Technical Details
Message-ID: <8cd41211-b026-4158-8e18-454a9ac0bae4@damex.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-354283-linux-kernel-netdev=dewy.ru
References: <03055ffd-d015-4810-8b8a-678821fa6dcc@damex.org> <92e3383e-26f8-4bed-b487-1c52f6c4f420@roeck-us.net>

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-354283-linux-kernel-netdev=dewy.ru
From: roman@damex.org (Roman Kuzmitskii)
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 01:50:32 +0700
Organization: Usenet Network
Message-ID: <8cd41211-b026-4158-8e18-454a9ac0bae4@damex.org>
References: <03055ffd-d015-4810-8b8a-678821fa6dcc@damex.org>
 <92e3383e-26f8-4bed-b487-1c52f6c4f420@roeck-us.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Injection-Info: usenet.network;
	logging-data="2742974"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:MUlZdH3z8O3BbS/tImniDFq+7Y4= sha256:IHSyu/7sHfAUuzXE/LmB+40M+A+OrpB8DcAKS4ZHAac=
	sha1:leZ5aK7RC+h5/BzAO2aSyAnYQl8= sha256:t9qTp5oJ8M0nbJMQnh6osKY98sOhwEpUTnv8nUVhYvM=
Content-Language: en-US
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 4A7F9114003; Sun,  1 Nov 2026 21:51:11 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.049
X-Spam-Status: No, score=-3.049 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.25,
	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 (2048-bit key)
	header.d=damex.org
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 2ZsriIRXL0MN;
	Sun,  1 Nov 2026 21:51:04 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-354283-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=damex.org
X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
	by mail.dewy.ru (Postfix) with ESMTPS id 6F987D0948; Sun,  1 Nov 2026 21:50:53 +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 156CF27602; Sun,  1 Nov 2026 18:50:47 +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=1793559046;
	b=V1D1ZKE/zVes08ZnVE/oYAtq/VXx4CPR2FlpuARuIoJUdEQ5u0/BEhztNCxC4iQsVCxs
	 JKOvS6hJY5jHZ07G+shJkj4zvVCbXJBGAVZjHRN2qqNfxFPvYWFw8I3dNp68UWHv7aAGl
	 dfyGdIfXFauQdXQfL7CWO/V9JH9VC9dnGS9o79Cbzz2FO7fQCtHpwtN9wFwd823CHSNnG
	 /8mr3Tc8XxuLRKBrU5HlApFueNwMhmDXj9Dc/OkTjUrKFfm9J8o8yxlJFo6c1V+0oIht0
	 CCoTVaroDxcSQgcGYSb4iuFXfcyGzvUyKUAAxkTbtF/IvKiZvKU9YmBNvTvsA1AaLJQ==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793559046;
	h=X-Original-To:Received:DMARC-Filter:Received:X-ICL-RepId:
	 X-ICL-Out-Info:Dkim-Signature:mail-alias-created-date:Received:
	 Message-ID:Date:X-Mailing-List:List-Id:List-Post:List-Help:
	 List-Subscribe:List-Unsubscribe:List-Owner:Precedence:MIME-Version:
	 User-Agent:Subject:To:Cc:References:Content-Language:From:In-Reply-To:
	 Content-Type:Content-Transfer-Encoding:X-Proofpoint-Spam-Details-Enc:
	 X-Authority-Info-Out:X-Proofpoint-ORIG-GUID:X-Proofpoint-GUID:X-JNJ;
	bh=GTWEkHLINMQZ4+DrDX6BlFZOxDS9gog4DMcrEDPlThA=;
	b=e25zr0jiZiUkUSHVVApSCxxlCsMfcx7PI9IC6bCMm1AolX0WiPqHnHUiaB88tRoe5wsQ
	 U0YFXcTkSy4gHupMKFLA8O5fjdvdo0lwiuGr9rqrTEGW3Q4LSFFYqdRpa9Gpm5OcMk+hO
	 UpDLjM0LrXRNJHMZ/q1h09NHMYfvtPnaJONRVP6XQO7nof/trlSC7JqUe7JvC8Mzxj8kY
	 z8CViBfRGPelBqtBNAfcM8362Kmh2haZJIJpLPxA4Mr25VcxlrZZLTkqTdVIqJkQ5lp0o
	 LvCgllfuACZfCsWVQIGDm3CiMns2iH2EWIVlcKPCsvzOvYZF3FlcdK7MwHTop597uBQ==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=damex.org header.i=@damex.org header.a=rsa-sha256 header.s=sig1 header.b=LqCILSWi;
	dmarc=pass header.from=damex.org;
	spf=pass smtp.mailfrom=damex.org;
	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 43AF1606A32D;
	Sun,  1 Nov 2026 18:50:46 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key, unprotected) header.d=damex.org header.i=@damex.org header.a=rsa-sha256 header.s=sig1 header.b=LqCILSWi
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=57.103.70.104
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1793559045;
	b=HRWh2y0C6qiFFEzjUoFUYgzNK9TdyBvEDXNVuHdNzmSjSwcm/3wZk7BZoCtyDVXiYScY
	 WjUhLsQ8kNUY7GmeDcVeSPmhcP3eBfWSPXMyDKzUuqy2z93vFsvYGzq0fGYkCY5Hyj0gQ
	 xidrOeQYhP8qoJB9+LZCVoDQISIy1EIfOOC3HFllm6DtFcWeD7TwgWDiuDi5X4pFxXHe3
	 JyJdteP7rot1+9+Q26s1vAn8PlhihTeldmR+hG3kKwDP13GFC+sboxhGU/whtyK2lXlSJ
	 aPtkOgG7POA+LVV6RlBk5hWjRdInJeuqSaD5CIv4Bju6bH5L1OJ8jbgFqz2YPCf+rEQ==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793559045;
	h=DMARC-Filter:Received:X-ICL-RepId:X-ICL-Out-Info:Dkim-Signature:
	 mail-alias-created-date:Received:Message-ID:Date:MIME-Version:
	 User-Agent:Subject:To:Cc:References:Content-Language:From:In-Reply-To:
	 Content-Type:Content-Transfer-Encoding:X-Proofpoint-Spam-Details-Enc:
	 X-Authority-Info-Out:X-Proofpoint-ORIG-GUID:X-Proofpoint-GUID:X-JNJ;
	bh=GTWEkHLINMQZ4+DrDX6BlFZOxDS9gog4DMcrEDPlThA=;
	b=vlSVxtlGbP//80d6x8HG+lHXngVfksPDGlO5m1yes6ps+bp25MyMOAHbhCK35CKSN4B6
	 FsXotg1a3PD3NDgHE+8kchtT44rx/zFEs9A+QOWbuFKrLcvmMxyOduZIXmdfC03vvuJ7q
	 T0C/Zq0m3Y7+kg2q6X8u7qhUvNnZK/SacC/NiuzHm9to1GI6jDUEVvU2zw207xTc32B/r
	 9vpnIx76EERzUVk/KnbYOy+AY2MjOh1JNyvBvkiRRikfoALrf03bIpMFFdMw5KM3bn30s
	 P9oReUy/NzUwHtgU7lozMdtyC4y1RzEBWk9gaF+MFNCEl4nbZstCU4ZyIC8pcgme6GQ==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dmarc=pass header.from=damex.org;
	spf=pass smtp.mailfrom=damex.org;
	dkim=pass header.d=damex.org header.i=@damex.org header.a=rsa-sha256 header.s=sig1 header.b=LqCILSWi;
	arc=none smtp.remote-ip=57.103.70.104
X-Received: from outbound.mr.icloud.com (mr-2006k-snip4-1.eps.apple.com [57.103.70.104])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256)
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id DD103606A325
	for <netdev@vger.kernel.org>; Sun,  1 Nov 2026 18:50:39 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org DD103606A325
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=damex.org
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=damex.org
X-Received: from outbound.mr.icloud.com (unknown [127.0.0.2])
	by p00-icloudmta-asmtp-us-west-2a-100-percent-4 (Postfix) with ESMTPS id 3818E1800118;
	Sun, 01 Nov 2026 18:50:38 +0000 (UTC)
X-ICL-RepId: 01a19873-08ad-7e9a-b3d8-68abbe5d2d5b
X-ICL-Out-Info: HUtFAUMEWwJACUgATUQeDx5WFlZNRAJCTQhMHV8EWRxBDE0dXBcOVk1LF14MWStWEVQdS0NYGVVQXxwOCVYGVwgXF0EKFxlRTQ5YWwhbBA8fTAxRAkIFVl5UCh0EVAddBV1WUAJaS0IES0VoXAVcHEAXSB1faktWFAQcUgBSExwfSx8TAF4PD0wBG1dZBlkDQRQaA18BRgZBDEAeVVJaCl0NTQcMDgpRQFsZVll3D1MdXAAdAkUMDFBNAUMICghHA00XXjJTBF8RUBY=
X-Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=damex.org; s=sig1; t=1793559039; x=1825095039; bh=GTWEkHLINMQZ4+DrDX6BlFZOxDS9gog4DMcrEDPlThA=; h=Message-ID:Date:MIME-Version:Subject:To:From:Content-Type:x-icloud-hme; b=LqCILSWiYTpC3ostws/qeWZ3janAnI60AahvnawWy9x6Kb80FbINLxI88Sk35EJ7DbfMwfo+tL1sAUA/8Q+fT3pGHM8Wt4iWrut3Ujk1WLRS61bNelI0lT/LRqVU5qUJx/KSwUtUI+t84k05jS/bn/tiZBntVQJXHHo3vG7oTUScopfaryUWbp17gTnGjc7EoEjBMIgqhWPhWMx3mGzThrE4c8ZQYC/hU9pGr6M3py/0J8322t42WCnH8X5Qy5ME4ODrj9C7qbc+ZnEgfCeOU4ExGAIhs2+k+8lSdBMsp3NN8/wNm06dNFOHGGccrIpt1mvylvMyjJx3DbDXj6ksCw==
X-mail-alias-created-date: 1762459955661
X-Received: from [10.12.209.253] (unknown [17.156.200.36])
	by p00-icloudmta-asmtp-us-west-2a-100-percent-4 (Postfix) with ESMTPSA id 1E4C61800133;
	Sun, 01 Nov 2026 18:50:34 +0000 (UTC)
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-User-Agent: Mozilla Thunderbird
X-Cc: robert.marko@sartura.hr, luka.perkov@sartura.hr, o.rempel@pengutronix.de,
 kory.maincent@bootlin.com
X-In-Reply-To: <92e3383e-26f8-4bed-b487-1c52f6c4f420@roeck-us.net>
X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYxMTAxMDA3NSBTYWx0ZWRfX3G8SefKy7BR/
 CGO5YnpFIax83EkmGKoPuX/yRlRP59znFCV8d90XkWct+x3gdaD0EB+aq+/FGMSKfbjbJfT49a5
 burQn41atEnVccL+NC0t7W2j0hqthplowK4MctX+a2ntkDP3OfE6nI7jDdedSwqAZHMB7v40c1f
 hDA0TvtxKEYmLhyJAoncEdwe0fHqLp1y6n8NkyGhDNxEfcpXcBSi5djCkO/UYPJGwrr5NS9OgXQ
 4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