Received: by 2002:a05:7412:1e0b:b0:fc:a2b0:25d7 with SMTP id kr11csp616184rdb; Thu, 15 Feb 2024 09:52:13 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVvDTLtH8shsvZv0CG3An7t2+gXjwaAGACtOiOU8DFdkqGtmVN4zD7vabLeaNfFqbaiovbYYFtITQ0OAac18PTOq++h4mAIElxl4zFDsA== X-Google-Smtp-Source: AGHT+IEct093hIH9OYQrs2MYALHh07iX8LSLY2/1w7UPQGvaZt9VQcHgoUc0ENO9aZ9uD9kCkliV X-Received: by 2002:a05:6a00:1797:b0:6e0:5b63:e7fb with SMTP id s23-20020a056a00179700b006e05b63e7fbmr7601059pfg.0.1708019533497; Thu, 15 Feb 2024 09:52:13 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708019533; cv=pass; d=google.com; s=arc-20160816; b=wVjQ4pyH8tADpbSHd/BXCACrTuRYPGpVNlEHRSWMd/5gPMCEVdEl4evuf1L3l5w88e XdC+I1AgSYKEpdBamtTPDOL6A/9A44suZtGhoetI1Ysl52utGB5WaNwYdfuIdl1/rwWg mL/E3H5i9E3xGYSnbXy3svBWxVhE0W//qpq7CjMKef7hLBYeJfJtEQS4b5LNfz3yFJk4 q9ZnMAjvsZBXiVR+qVxrs37kfWPV66Pn2UKsDTPaDU8GnuPwSyvU3xBLqYZmlmAUwOTU IAdWzqU+sbn/dVFZyKaiwOfaY2AvBX2LUbAhUGVrr3DMrZ/WsXwRBaNDK+MqDx7ObxwP rzkg== 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:dkim-signature; bh=afifmMcrSbICMT6eW/B4pDL5KgJCwV2V/YrMyURwkms=; fh=ZaLfid+MsIjzUcJ8hP7Km/TZ4j/B2bOMfE8huPSLXh0=; b=QC8PHBjYYK68/xryQvCRf6Xz+4I3RWp0MKG5llJ9OrLy6RrJRBifOCBGWBrS6UWi57 +7N+5zBx/wQIIAtTvu/qDUJ3RC8hTsc/1rCBWg5yeF7Yc1PjZH8a9Ibna3swYP8mRvfZ jg4a+/qSnGhFR2q/QMPPMIJ3RCrFzh4D3w/N1U4YcuZdoy+QPKWcdnIwnQt8wJdQMpbQ 7ZU77CdFPNX9QIA1exHSpECseGCc2RXx74OA8fjFM5S8Rgk26AV+hI81rm1q4iBDvH5B ju8d0nLXozDAoSBIb7drq0amXrqGah2YsRjyJYSE2geXGb0gtnHejZwC8bJ+N9cSsnDq MIEg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=gsNS5axL; arc=pass (i=1 spf=pass spfdomain=lunn.ch dkim=pass dkdomain=lunn.ch dmarc=pass fromdomain=lunn.ch); spf=pass (google.com: domain of linux-kernel+bounces-67444-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-67444-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id j191-20020a638bc8000000b005dc528d603bsi1406608pge.675.2024.02.15.09.52.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Feb 2024 09:52:13 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-67444-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=gsNS5axL; arc=pass (i=1 spf=pass spfdomain=lunn.ch dkim=pass dkdomain=lunn.ch dmarc=pass fromdomain=lunn.ch); spf=pass (google.com: domain of linux-kernel+bounces-67444-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-67444-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 3A32E2842FD for ; Thu, 15 Feb 2024 17:52:13 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2DB0D1384AF; Thu, 15 Feb 2024 17:52:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b="gsNS5axL" Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) (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 809E31369AC; Thu, 15 Feb 2024 17:52:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=156.67.10.101 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708019522; cv=none; b=Lw5PzTjARDVN3vjIppRICtQNpapiJOfUeqb6md/ObjYD4N03tdjUVVY8XNVRdLvx39g7i+O2nPIqmpOf9XZLOoU5cIO7qZCK7iM9o5HkBieYhQAx8HXpns9R7Fd/72OHeCjYCq7ntG8g3gqLOcXZeTgi4pykfT58B6VdYpaOhL8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708019522; c=relaxed/simple; bh=M6zXTumOL2shrnbpTbNe6dcztXS6mmrTVGsLmlPGQoY=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=F/mPh9B8TFywnmUjrW5FvIzPd6hPlwQj+OIYAWCmo2RTD5xyeBkfLInmYkiavGxr3pCmXOVwduOY6MM6kRR6mSbdinm5UkYRAbBbrotifa8pYuQ3MOqE9YPzdMwYQp29lqR9qu5UqIcQvRfTYZrvg2so8gLwbZuknIHDHZDs3K0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch; spf=pass smtp.mailfrom=lunn.ch; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b=gsNS5axL; arc=none smtp.client-ip=156.67.10.101 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lunn.ch DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=afifmMcrSbICMT6eW/B4pDL5KgJCwV2V/YrMyURwkms=; b=gsNS5axLRq3buRV6dXpy+Bz2As 8UXaY7jygcMiSlnXuOamtkRuVun1KmDgFmKGqN5cX53zP9UdBrWpreEjbzvNTW1Knmqt7VmBo/0pI 4M2SnqUkG4OMzJ4OdowkDh+L8Ggg+jPwosskYbdlI0dGpnfXN3dZgxznbLiGynmBvU5M=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1raftr-007umH-W8; Thu, 15 Feb 2024 18:51:55 +0100 Date: Thu, 15 Feb 2024 18:51:55 +0100 From: Andrew Lunn To: Oleksij Rempel 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: <65099b67-b7dc-4d78-ba42-d550aae2c31e@lunn.ch> 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=us-ascii Content-Disposition: inline In-Reply-To: > 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. Ideally, we don't want to define a DT binding, and then find it is wrong for 1000BaseT and above and we need to change it. So, either somebody needs to understand 1000BaseT and can say the proposed binding works, or we explicitly document the binding is limited to 10BaseT and 100BaseT. I'm not sure the second solution will actually fly. This was being tested with Marvell Prestera switch. I doubt it even has any Fast Ethernet ports. Andrew