Received: by 2002:a05:7412:1e0b:b0:fc:a2b0:25d7 with SMTP id kr11csp373852rdb; Thu, 15 Feb 2024 02:57:12 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUAIdFU6+QYixzOo+4AkBddl5OpctlNyXBWesBgD5Bhu9ccW5HLOTk/+TyYAgtCVaLMIh/6u2M3wm/baFL/Nvp9eFjTgT1uJxlpeiXUoQ== X-Google-Smtp-Source: AGHT+IHD00dXuw39HBM9e7ns6UvHA0HWtZUs6ZvtIwAVV/ptGKfN+my0eY3mUrci41X0um6J0115 X-Received: by 2002:a17:907:3583:b0:a3d:7cd5:82c9 with SMTP id ao3-20020a170907358300b00a3d7cd582c9mr857887ejc.25.1707994632802; Thu, 15 Feb 2024 02:57:12 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707994632; cv=pass; d=google.com; s=arc-20160816; b=gvuzyoMEXaO8kbLJkBUsm5cawFgu8c1JyMgNlmYjjX0STqvCMPrFHdjvmzkJxaZkFs a7cXrX43jJ3UbclJWDSHkT6SufWv6A+raV4WrnkaEEigQnyvJZmNElWasVzaNuRgPf71 A+SVm44pZGNlmDVri62zTVUp8LvWwT1ZI+36z6RCVB+KsFQhCkyJNRCDYOi3B8fH7px2 ldN5brOlQzuwTyEF+yexV9YSVERAVeE5H8Zpd6KyMTWUJCBjrPMNLz9derxVeyW3CzQn kwbNzC8PSmSwN3tVE/510Ei8FvaggLM9NS24jCv6tZ0NGMAWMw7sHSJ2fSzf8xzGsjXY bBuw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:organization:references :in-reply-to:message-id:subject:cc:to:from:date:dkim-signature; bh=eVKgJ+PdR5o6UVkgqUdQLFko+Czs5USvovgYmgBi2Dc=; fh=8qt5AThXAkdzvjNPdWuBq57KIfkL7YULVgeSrXno/Ec=; b=BDsTcyLObntODSwQAdN3ue7mLWaXgjTVJDEods4n46CS3PD8PN4IEZplqKz19weLnl c7nr0itVyU4VKq/Gf5oRCUgrwu71Xig0ykx+AOdrq7bBmXkuTVn4cs/oLn99AqMNQCrL sUmq9PBLtAIJVIuQ7L4mZOe/U3SPyIY1kJEaS8nKAYBkqt5JUvc+VOfRKdU3XcxDQm63 Itt4vxb3f+feGM4qYi/Eb/rXeCWdAuOoMiJB7qlVjAIcCFAsw8UtzQpyjvP/3FumtVFx H+SYyLYIgTSgDVQluMvF4vnRYf8X0L/g5LzeSseYIudPN49WJX9gMvGC18xBVWP8mZa1 TOOw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b="g1hJ/Hwe"; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-66697-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-66697-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id r11-20020a170906350b00b00a3d37a45548si503415eja.541.2024.02.15.02.57.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Feb 2024 02:57:12 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-66697-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b="g1hJ/Hwe"; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-66697-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-66697-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id D39991F225E8 for ; Thu, 15 Feb 2024 10:56:31 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5AC3A132488; Thu, 15 Feb 2024 10:41:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="g1hJ/Hwe" Received: from relay1-d.mail.gandi.net (relay1-d.mail.gandi.net [217.70.183.193]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E887684FD1; Thu, 15 Feb 2024 10:41:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.193 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707993692; cv=none; b=FdvTqti5rcpNUDAOLyfBPddC/QOPKOnhYWrAeaBeHL/uUVH5+9iVIqyZ5p72yfSmjr0qjfdwFZ5LQPHsjdJtR4LeY/Yq0Q/HlUncIN+D6R+7tJPAhmbSjVYnwv5KEWaGY1ZCN7e88WJdxrAib04zuFkBef1jzYFebH9SvDiznMs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707993692; c=relaxed/simple; bh=eVKgJ+PdR5o6UVkgqUdQLFko+Czs5USvovgYmgBi2Dc=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=ELx3YrNVZRhiAHEnSuQrJUxWO/W55nEsUsNdGeQMM0HLLOBmA5Pq1E5V1HyZJHLo8GaJUDRzchDFjvgLPNxY9hRCaFzottKTk/UaVhJ8PS+CF7zsRzqDkXNj42Hi8GH9/J/7cs406KX5jj8m544KSqkiRzKA0FyHufiq+azEAac= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=g1hJ/Hwe; arc=none smtp.client-ip=217.70.183.193 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Received: by mail.gandi.net (Postfix) with ESMTPSA id 282AA240011; Thu, 15 Feb 2024 10:41:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1707993686; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=eVKgJ+PdR5o6UVkgqUdQLFko+Czs5USvovgYmgBi2Dc=; b=g1hJ/Hwe7l8CextjF6EYChrf3HeQbqFoxg96KtpO+dqy3f/NIh7H2IVvt7ciyU7AlWyiEM 9aydTbAdFrLGwKHwvMEsIN8Tonb5SIrmQd+Hk5sk8PNjJkN63tcsCFBdour9lG4okj0lIH 15l2A7F9/wmNIX17BR9cS/+BPoSGn4ug0Ef0+EfVUShLQuprbM6iSoreONOuj+D9suTYS+ p/a4Bj5r7eoq1AVfQktXq1llinvAsjKo0rDqTDKNKs/tdBcIwAfPFjBG9WDx6/WoFmBHsM GdBsjc9FfSx3XWdqMZVG0R+JXfeBwdCG3glQaqd2A+fbdOcCj9Vd8hsIFDK+GQ== Date: Thu, 15 Feb 2024 11:41:23 +0100 From: =?UTF-8?B?S8O2cnk=?= Maincent To: Oleksij Rempel Cc: Andrew Lunn , Rob Herring , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Jonathan Corbet , Luis Chamberlain , Russ Weight , Greg Kroah-Hartman , "Rafael J. Wysocki" , Krzysztof Kozlowski , Conor Dooley , Mark Brown , Frank Rowand , Heiner Kallweit , Russell King , Thomas Petazzoni , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, devicetree@vger.kernel.org, Dent Project Subject: Re: [PATCH net-next v3 14/17] dt-bindings: net: pse-pd: Add bindings for PD692x0 PSE controller Message-ID: <20240215114123.128e7907@kmaincent-XPS-13-7390> In-Reply-To: References: <20240208-feature_poe-v3-0-531d2674469e@bootlin.com> <20240208-feature_poe-v3-14-531d2674469e@bootlin.com> <20240209145727.GA3702230-robh@kernel.org> <618be4b1-c52c-4b8f-8818-1e4150867cad@lunn.ch> Organization: bootlin X-Mailer: Claws Mail 3.17.5 (GTK+ 2.24.32; x86_64-pc-linux-gnu) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-GND-Sasl: kory.maincent@bootlin.com On Thu, 15 Feb 2024 09:17:48 +0100 Oleksij Rempel wrote: > On Wed, Feb 14, 2024 at 06:41:54PM +0100, Andrew Lunn wrote: > > > Alternative A and B Overview > > > ---------------------------- > > >=20 > > > - **Alternative A:** Utilizes the data-carrying pairs for power > > > transmission in 10/100BaseT networks. The power delivery's polarity in > > > this alternative can vary based on the MDI (Medium Dependent Interfac= e) > > > or MDI-X (Medium Dependent Interface Crossover) configuration. > > >=20 > > > - **Alternative B:** Delivers power over the spare pairs not used for > > > data in 10/100BaseT networks. Unlike Alternative A, Alternative B's > > > method separates power from data lines within the cable. Though it is > > > less influenced by data transmission direction, Alternative B includes > > > two configurations with different polarities, known as variant X and > > > variant S, to accommodate different network requirements and device > > > specifications. =20 > >=20 > > Thanks for this documentation. > >=20 > > It might be worth pointing out that RJ-45 supports up to 4 > > pairs. However, 10/100BaseT only makes use of two pairs for data > > transfer from the four. 1000BaseT and above make use of all four pairs > > for data transfer. If you don't know this, it is not so obvious what > > 'data-carrying pairs' and 'spare pairs' mean. =20 >=20 > @Kory, can you please update it. >=20 > > And what happens for 1000BaseT when all four pairs are in use? =20 >=20 > Hm.. good question. I didn't found the answer in the spec. By combining a= ll > puzzle parts I assume, different Alternative configurations are designed > to handle conflict between "PSE Physical Layer classification" and PHY > autoneg. Oleksij how did you get the definition of Alternative A uses the "data-carr= ying" pairs for power transmission and Alternative B Delivers power over the "spa= re pairs"? On my understanding of the 2022 standard the definition is:=20 - Alternative A is for pinout conductors 1, 2, 3 and 6 - Alternative B is for pinout conductors 4, 5, 7, 8. Then indeed if we are in 10/100BaseT Alternative A are "data-carrying pairs" and Alternative B are "spare pairs" but that's not the case on 1000BaseT. You can see it in the figures in the paragraph 145.2.3. Regards, --=20 K=C3=B6ry Maincent, Bootlin Embedded Linux and kernel engineering https://bootlin.com