🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #5341

Re: [PATCH net-next 1/2] dt-bindings: net: pse-pd: realtek,pse: add gen1 I2C transport

#5341
From: Krzysztof Kozlowski
Date: Tue, 20 Oct 2026 07:27
42 lines
9557 bytes
On Sun, Oct 18, 2026 at 06:12:47PM +0200, Sander Vanheule wrote:
> Like the gen2 protocol, the gen1 protocol can also be used over both a
> raw I2C transport and an SMBUs transport. Add a compatible for the
> former and the compatible for the Ubiquiti Unifi Switch Lite 16 PoE
> device that uses it.
> 
> Signed-off-by: Sander Vanheule <sander@svanheule.net>
> ---
>  .../bindings/net/pse-pd/realtek,pse-mcu-gen1.yaml          | 7 +++++++
>  1 file changed, 7 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/net/pse-pd/realtek,pse-mcu-gen1.yaml b/Documentation/devicetree/bindings/net/pse-pd/realtek,pse-mcu-gen1.yaml
> index 3bb32349c28c..526f8525bb4d 100644
> --- a/Documentation/devicetree/bindings/net/pse-pd/realtek,pse-mcu-gen1.yaml
> +++ b/Documentation/devicetree/bindings/net/pse-pd/realtek,pse-mcu-gen1.yaml
> @@ -54,6 +54,12 @@ properties:
>                - zyxel,gs1920-24hp-v2-pse
>            - const: realtek,pse-mcu-gen1-smbus
>  
> +      # I2C, raw framing
> +      - items:
> +          - enum:
> +              - ubnt,usw-lite-16-poe-pse
> +          - const: realtek,pse-mcu-gen1-i2c
> +
>        # UART
>        - items:
>            - enum:
> @@ -100,6 +106,7 @@ allOf:
>            contains:
>              enum:
>                - realtek,pse-mcu-gen1-smbus
> +              - realtek,pse-mcu-gen1-i2c

That's the same device as smbus, no? Same device, same compatible.

You can have property deciding about protocol, if this cannot be deduced
from the clients.

Best regards,
Krzysztof
Technical Details
Message-ID: <20261020-noisy-amorphous-jackal-1df08a@quoll>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-349089-linux-kernel-netdev=dewy.ru
References: <20261018161248.376205-1-sander@svanheule.net> <20261018161248.376205-2-sander@svanheule.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-349089-linux-kernel-netdev=dewy.ru
From: krzk@kernel.org (Krzysztof Kozlowski)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net-next 1/2] dt-bindings: net: pse-pd: realtek,pse: add
 gen1 I2C transport
Date: Tue, 20 Oct 2026 09:27:27 +0200
Organization: Usenet Network
Message-ID: <20261020-noisy-amorphous-jackal-1df08a@quoll>
References: <20261018161248.376205-1-sander@svanheule.net>
 <20261018161248.376205-2-sander@svanheule.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Injection-Info: usenet.network;
	logging-data="3802526"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:rQMteFOAz3kCBwLimr+5vzRU71Y= sha256:nWZp9s1NoK08jitDg6o7zgMM2IZYu7yqRQjeIkR5kG8=
	sha1:NikPHJvatF79alZmffpy06SFM0o= sha256:KuIAo3GmOOVb9o7H4esb7QJgOXzsCxzY4Sh5E9ZnK/8=
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 C00A2110C31; Tue, 20 Oct 2026 10:31:37 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.729
X-Spam-Status: No, score=-3.729 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.329, DKIM_SIGNED=0.1,
	DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
	MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001,
	SPF_PASS=-0.001] autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
	header.d=kernel.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 6NcVf04pPo2D;
	Tue, 20 Oct 2026 10:31:35 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-349089-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=pass (p=quarantine dis=none) header.from=kernel.org
X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
	by mail.dewy.ru (Postfix) with ESMTPS id 07BF5110C25; Tue, 20 Oct 2026 10:31:27 +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 0D0B531B99; Tue, 20 Oct 2026 07:27:32 +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=1792481251;
	b=GbKH3wL4dUNAfxOcy28Q7S/uvouTk+yBF+kwL0c1Uiw2xXNxYigNU+jTMOTiUM/DLc1G
	 L48WWs5PEcAFSbQSzN2YOgeQblO1Xt9WGSGNrI0u3sHv8/bAKYVNj+FZrtxwYX6PM+fyb
	 TgJJm3f+rbeEkyCaUOVxjJdb0uIoFGCTXuDO+IvNPLHmzbY3JujpH9TPbiAXPVhMD5tJW
	 QM9GjsYfmrtcKm7miWQtLXeuCwEUI7em+IXcvM+6Q9mtX+/og6m7VxX8THaG0EhOoKI1x
	 aW5tNb9BXXVJkSyhCcsYKKexjJoOI3792D/6O9n1evaej4a/rSHeKBN+H/SM/h8D2Ow==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1792481251;
	h=X-Original-To:Received:Received:DKIM-Signature: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=Eb4pIl+p0P9P4pch0J7z+pBarnBhT5r7oyHUjiBjFUI=;
	b=TwYs512/ek+ZFt6lBpZcJ2+2WkseXTw5w2R/urTQ81UUaV9CXAAXTGK/DzLpoVYYC2zm
	 EATtepmp0kwoFwpvQN97lkJwKlIFc2opGZdgLHk4wUYZcqajsuRtPQ1i0Y2vvMc3QxoKi
	 CXdxVHKY/R8lhUPLFkqr2ORhMpa0bXvUng2EdL6eq01ISRGDA0d6vPy2mUYSJrLSv5Dwn
	 3cmm6q1GqViccw/38v3knstHwp0PpqgdzZN8mDCh0b8zD5n2tBgFXsW9o7r0SSFflc9o4
	 vURKfuC6ExJ09FGPhfqXomLnnURqy/qQTETIrb3W8l8bJ51wHTllNnPZgHaRa5vfAdg==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=f1zx3Pqr;
	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 99489606A334;
	Tue, 20 Oct 2026 07:27:31 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key, unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=f1zx3Pqr
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1792481250;
	b=5lBzRwlo/5bqkCSoIrJyyTHwRop2L+Ex2TsMgDnLH4Gu+eFTEPr6qPCPbfL0oXHYM9kH
	 mcXaVypwqvuiGP+oOX+dt48UOmmeHS4HixLnstRm7uMzdcWVUX8yqj8iF023JMJ3zD3Uj
	 hIVItyRqJjOIVW0KdGsxSQWmgg87jTjxg5zqpkjRT2/76FjzYrI/TO7NiEzst4DPrQbP2
	 PJFQ5xi1DdOo12aexwuRAWEqp3iu2swWN/3c65KCCot+cOjx1DBbUKxzEm5/5Shq2dEx5
	 5g9Z78yVLMP/dTbtqdZWokgf88BZUjL9LcUxcLZ0kUpufhfnJBaRH6Q1BhQIPBtDA9g==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1792481250;
	h=Received:DKIM-Signature:Date:From:To:Cc:Subject:Message-ID:
	 References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To;
	bh=Eb4pIl+p0P9P4pch0J7z+pBarnBhT5r7oyHUjiBjFUI=;
	b=d0ubA+c7zMkvBfeYnHE/mSqwSJL2wZ+j7EKD26YgmC+fe+Z8jgL/nexEjowsTH/F2lo8
	 oQAG9nLvLci61j1dlyrKWVxsh083c37EMmdwoW3MgCJbLZDM87RjSXf8B/YMuB1t9mpXN
	 cBmFMGjek3a8yEdNkP8G7sdnngVxkg/f8Pdwws/HUkujkEti9imeHqYGaHq61cDLnL243
	 9ue6ABTF5yBu0ESwZc+YJgUPcvzNwf420NZuv3lMh0d7VHdU4oEbUYjzk3uqg6PepTMN3
	 /JfHhCDJLdDn2CXUZ+R+Te4hIF1dOgnuBqL0OTv81Y+GrV2BWcM8wArflb23WYmNcLw==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=f1zx3Pqr;
	arc=none smtp.remote-ip=100.103.45.18
X-Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature ECDSA (prime256v1))
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7D971606A325;
	Tue, 20 Oct 2026 07:27:30 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6E9371F000C4;
	Tue, 20 Oct 2026 07:27:29 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1792481250;
	bh=Eb4pIl+p0P9P4pch0J7z+pBarnBhT5r7oyHUjiBjFUI=;
	h=Date:From:To:Cc:Subject:References:In-Reply-To;
	b=f1zx3Pqr3kynKf8YhnkwlNarW+yU7/7wR5eUdXXkX2bk4W3jPRHKbVIMFOSKzAiHO
	 XDutryKB1Skrm+dJ5TdSWJ2w+v3hnZzFRCWNviyUY5Bbqcw4yH1xKXpYE3lEU8tFgv
	 C3UR9LnDNleDzNMi3boSVLpcFmq2N3DJWnluKkv4K8hER5Dyhe7hFEjjgredAFKR3R
	 T7wFfkcJ2hGRbbsTnKihxJlWxBHU8FuZ8VSuNbDVzNbVY9hx9hcboGdfVtYo5ORYSl
	 c6xW1gyGpWEBuBRaHbCvaykPOzbXsR25pjDe+HX4eJcKY/PxhmkyKQAkyADdKckWI0
	 3mdx84bTPgIwA==
X-Cc: Jonas Jelonek <jelonek.jonas@gmail.com>, 
	Oleksij Rempel <o.rempel@pengutronix.de>, Kory Maincent <kory.maincent@bootlin.com>, 
	Andrew Lunn <andrew+netdev@lunn.ch>, "David S. Miller" <davem@davemloft.net>, 
	Eric Dumazet <edumazet@kernel.org>, Jakub Kicinski <kuba@kernel.org>, 
	Paolo Abeni <pabeni@redhat.com>, Rob Herring <robh@kernel.org>, 
	Krzysztof Kozlowski <krzk+dt@kernel.org>, Conor Dooley <conor+dt@kernel.org>, netdev@vger.kernel.org, 
	devicetree@vger.kernel.org, linux-kernel@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: <20261018161248.376205-2-sander@svanheule.net>