Received: by 2002:a05:7412:1e0b:b0:fc:a2b0:25d7 with SMTP id kr11csp405069rdb; Thu, 15 Feb 2024 04:04:38 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWignnS/SN0jcYHX0iY7m4Bm3JUciHHA5hVaFf6tIpL5nAHE/vp4x6LDsEDxm76rQ8TJKgbmPxcGUOYqi91eW8m/nhF0gNz/iscO7e2yQ== X-Google-Smtp-Source: AGHT+IHb/7OOtfU9vWsX/MGXnPo5qk+34ONicOKvBrP81k+D/QW8L2wRGXNsLqxqsv9NoN3EwaO2 X-Received: by 2002:a05:620a:4727:b0:783:cb5a:ec3b with SMTP id bs39-20020a05620a472700b00783cb5aec3bmr1671074qkb.71.1707998677903; Thu, 15 Feb 2024 04:04:37 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707998677; cv=pass; d=google.com; s=arc-20160816; b=Rkf7qEw7dSwwyL+BfW2mbaqBSk8bzMpiBDrz1wpxp/yn5FWBFeD+TXIHYAz8W5zyBi V2ZiaegqD/d32TFeO9bmNIM7+DCuv88FnbTjxDDod7RwcyTpN8oxtHUnNqXqW+OgTo/X cJOGO72wV9LmVBkCQ4jNarfdlyc1i8hQhIxDqzjfNCOjUsi7ibX/V710CdL/gwRldHv+ 074pgON8QlADP7s7I19WU333bjRSkhmLpvgELd2DKsX3WT0JWhbaNZD2hkGN/o3kW/r6 CgFfqq2E9+UwRTF74n+PZsC4aOZJZkCQ512fhaqACfFcKoKP0iqAJ/FyrjzL8LXoHCYX ouYQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date; bh=X2qXMKfl8IVWyDC5lkODLfQsJHSMjcF2YRS82IXwcgk=; fh=RBesHjDeGCtKWByWu1oP63/v7S3wCsnQ6tgcnswXGa0=; b=PvrWDu+RMFKqGvyN8KrZO3fQhfA3LP2qDrTJF5gZgWMs5AIV1Mj3oPCZEfna5vUKRK Imi77DIVZz/lN1Eh5y2qRB4RXGkLzut1iS07LlNv1T5271N0nT7BGQ0I8KdtvrQL1tt+ WkAeWXg43AjtD9QwSL9Y2YChybOqOaFce1Lly19y1NAPm0qJGk4lZOGKwiUT+YSAjLyX oPOvaXl6TdtfuuQlnvlBJZFfmUqBbNYmPHQ9iFmIt1VQUssmBOgLcM0gGTGqd1lKaCfw RLAi7l3wMq2mXAYfMD+oN3Ep/fifChjlSL+7K61Ix+SoIwAF7NWpftJr1d41L3Qs7hxs xB+A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=pengutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-66857-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-66857-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id b15-20020a05620a088f00b00785da73ab98si1296290qka.241.2024.02.15.04.04.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Feb 2024 04:04:37 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-66857-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=pengutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-66857-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-66857-linux.lists.archive=gmail.com@vger.kernel.org" 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id A02621C2223E for ; Thu, 15 Feb 2024 12:04:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4232D12BF1A; Thu, 15 Feb 2024 12:04:28 +0000 (UTC) Received: from metis.whiteo.stw.pengutronix.de (metis.whiteo.stw.pengutronix.de [185.203.201.7]) (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 5C9B612BE85 for ; Thu, 15 Feb 2024 12:04:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.203.201.7 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707998667; cv=none; b=qJE5lYVWEuji2CZbmfiXisjmx5Ol/kxK50HnpKAjN7/I6vasdl2pZfUVC2rNXlH6d2OU041cUDgBO89yI7qzOAcWRBwu5AkHaM93rlnN8tNG8698m1LDGHHAHUEZopZiBcesqV1N6VzSNzqsmW2ROO2qz73FhR8yhKlmZ6y3A4o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707998667; c=relaxed/simple; bh=I+WHBDh5S+oGpcU8eKBicxfnW8AnEzmC7pw6JB4nYoI=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=MokrTHIqgot22chxt5ep3nSrJ3hXWBpooaSlexA53PwVv3jr9RScPC+qNa04Be+SVoFCRgZzg1kx96G4V72R5JbBkXudiv0ELMHejX0wNHCPLNynSCnRo3Zy+HScUk7BP8nAZ1c0cXH5eNy2mxyg2i/vVghgoNp3dq8VwxswIR4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de; spf=pass smtp.mailfrom=pengutronix.de; arc=none smtp.client-ip=185.203.201.7 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=pengutronix.de Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1raaTD-0000bP-Ha; Thu, 15 Feb 2024 13:04:03 +0100 Received: from [2a0a:edc0:2:b01:1d::c5] (helo=pty.whiteo.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1raaTB-000sKl-Ua; Thu, 15 Feb 2024 13:04:01 +0100 Received: from ore by pty.whiteo.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1raaTB-00A1XF-2g; Thu, 15 Feb 2024 13:04:01 +0100 Date: Thu, 15 Feb 2024 13:04:01 +0100 From: Oleksij Rempel To: =?utf-8?B?S8O2cnk=?= Maincent 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: 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> <20240215114123.128e7907@kmaincent-XPS-13-7390> 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-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20240215114123.128e7907@kmaincent-XPS-13-7390> X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-Accept-Language: de,en X-Accept-Content-Type: text/plain X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: ore@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org On Thu, Feb 15, 2024 at 11:41:23AM +0100, Köry Maincent wrote: > 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 > > > > ---------------------------- > > > > > > > > - **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 Interface) > > > > or MDI-X (Medium Dependent Interface Crossover) configuration. > > > > > > > > - **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. > > > > > > Thanks for this documentation. > > > > > > 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. > > > > @Kory, can you please update it. > > > > > And what happens for 1000BaseT when all four pairs are in use? > > > > Hm.. good question. I didn't found the answer in the spec. By combining all ^^^^^^^^^^^^^^^^ > > 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-carrying" > pairs for power transmission and Alternative B Delivers power over the "spare > pairs"? > > On my understanding of the 2022 standard the definition is: > - 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. Please, re-read my answer :) Autoneg for 1000Mbit is not done on all 4 pairs. The only MDI/-X dependent transfer processes only on one pair is autoneg. Every thing else is extrapolated out of it. -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |