Received: by 2002:a05:7412:1e0b:b0:fc:a2b0:25d7 with SMTP id kr11csp327559rdb; Thu, 15 Feb 2024 01:01:03 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWgy7IPu56mSAsVoCslkqdkaRs2QRcEIKMPiY0ZsVuiVNtGg5kTQ1NZCSlhRK81GzaUQlD+C2c1CmtFObslvLJyzA7BYLrs+b3jXRDKuA== X-Google-Smtp-Source: AGHT+IE5j8C/AAHvYTw1VQBBe89xIlz0q5VPnlaD7TAgZ2abpask/L/01UZ25jmit3Nh1ey/Bwjj X-Received: by 2002:a05:6e02:12c2:b0:363:c576:d6d5 with SMTP id i2-20020a056e0212c200b00363c576d6d5mr1335928ilm.4.1707987663212; Thu, 15 Feb 2024 01:01:03 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707987663; cv=pass; d=google.com; s=arc-20160816; b=p0N5jpmaRZtxR3UL+EdnyPbHGxJRe0RgJn+QVlkNHMDNYN54ylk1xL6Igumlom4y+4 t5H9gIbBia1cZrpVWSjac7xIC1mupwQ5a4xSCslubEsDfEJkgE6szJk0qVdSVN2MB/0N TJyTbVE053QsBnhWkotia2L0hTLsgIckF8v0bL9Z/Bo+9Z8McjnufoHyXpKXgVhE305l Ny2+jEXOuSPDNjkAkw3CwOPG8Rb90j8g0FKJi/kIjEXWXiEzkKvcu6HSVI1IxZN55Fnc A0XJ2OqH1vFiBiSYHyzBXvUTotANCCVmshtuqKwLOdkTNkF1+RiWf313m4xAa7a/rHAX sAJA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date; bh=t+R3rL4wFF/PJSHnckYd26xzqSrrKdTI2PF7vWuI3Pc=; fh=JgG4F2pxPOgeEdva8WC4KqkezF56+1aJqH4O5QV7qYg=; b=ZI0LNG3DexpC0/24rOH6ovVPKRpYoc44kA5G65pt8zt0EwWn1kLogqmUCbbU3Adjtu WefacsEJxycy8lle9vrCOihyE2TD9fWaYUQFn/3hetFFRz7p7p3VdONsCly6mH6+CNE1 E9mgpekGwHt9QXlCxRevvAAPVFwwSuXs6pPiRSX+kHwmogE2/tdVZn56Dmf+RVg1WNpW tB8qtgSzVDsqE1e1C877XCe+k/El8zwNQt07zHkdK/BWa/fkXkQudCV74WFYKHRCrbtW HbmGSbR16kLa/Z3KwCjPYMK9hTT1zZMlDo5VyCDSOOc/9+D+v21BzY1EDpA7NnBzp2iE hD/w==; 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-66403-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-66403-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id cb12-20020a056a02070c00b005cd8486d5ccsi834823pgb.65.2024.02.15.01.01.02 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Feb 2024 01:01:03 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-66403-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=pengutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-66403-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-66403-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 219A6B2D031 for ; Thu, 15 Feb 2024 08:19:32 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 88D9911184; Thu, 15 Feb 2024 08:18:29 +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 4163B13AEC for ; Thu, 15 Feb 2024 08:18:27 +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=1707985109; cv=none; b=OWzcExFjVEb4853V9Aw8bXh834q5k4PYTh+NvYbcbNv5Kf44ZD59Xq2R7TUnZTUeMtKinyjNv4mlZ97i2fqwwSKZ0hIuEwlnFhjw0wd6Gdeotk+a3XwIrfzKRxSrmgjC2kw+YZ4cuRmn0FA0ETgXlNyCuWkZqv+JKp4UZxpz1DU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707985109; c=relaxed/simple; bh=T2XuyeJ06MJPPCxU0//IIk7MVsi0C5XUfXUB6lx/2NI=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=qGKWsoTrU7+kogHgD16Mdii7zYP0znGl1uviVH4lRJMPygpp+bocSn8bSMMzLMBoe8J/Wro+UyJlHcfVapYnp0znkIRN6gm3kQXJTIrAAFyLUz/U1fqhVydwa6BvvkCJOEvSorraGO11X9x6Fc77kNbFND1pMaHmxWDh4fVgtxg= 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 1raWwN-0002wJ-5C; Thu, 15 Feb 2024 09:17:55 +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 1raWwG-000qaq-AJ; Thu, 15 Feb 2024 09:17:48 +0100 Received: from ore by pty.whiteo.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1raWwG-009xxI-0d; Thu, 15 Feb 2024 09:17:48 +0100 Date: Thu, 15 Feb 2024 09:17:48 +0100 From: Oleksij Rempel To: Andrew Lunn Cc: Rob Herring , Kory Maincent , "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> 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 In-Reply-To: <618be4b1-c52c-4b8f-8818-1e4150867cad@lunn.ch> 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 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. Here is how multi-pulse Physical Layer classification is done: https://img.electronicdesign.com/files/base/ebm/electronicdesign/image/2020/07/Figure_5.5f2094553a61c.png this is the source: https://www.electronicdesign.com/technologies/power/whitepaper/21137799/silicon-labs-90-w-power-over-ethernet-explained To avoid classification conflict with autoneg. Assuming, PHY on PD side will be not powered until classification is completed. The only source of pulses is the PHY on PSE side (if it is not under control of software on PSE side or Midspan PSE is used), so aneg pulses should be send on negative PoE pair? This all is just speculation, I would need to ask some expert or do testing. If this assumption is correct, PHY framework will need to know exact layout of MDI-X setting and/or silent PHY until PSE classification is done. -- 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 |