Received: by 2002:a05:7412:251c:b0:e2:908c:2ebd with SMTP id w28csp1389648rda; Mon, 23 Oct 2023 11:02:15 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFZ9Zkf4nwFsCOnHUN3zP9GXO7it2Cils2RhWEuZcX8bFoL9YpqSMuGWggvO2QGa9NmiXHi X-Received: by 2002:a17:903:32d2:b0:1c3:83e2:d0a9 with SMTP id i18-20020a17090332d200b001c383e2d0a9mr8565523plr.58.1698084134830; Mon, 23 Oct 2023 11:02:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698084134; cv=none; d=google.com; s=arc-20160816; b=BLd/JtN7QF+f6uFhww6P+kgtT+LESW8+GKmqinw6BG6XCvsv/kQVkwzAPVYqcJSTU4 TntTmOCfdA9VIa9XWokMTrUzYo2YukRUy9U2bkiBFAOk5HyBDGYdpLmz41xd2P2VYIt+ rcgDZV7J2dHdDM9iQjZXPDsxI0sWdugsE9RPEmE7a92mSL1AlO+tx0FNpsV06OzC1rE/ U0E1w5W3PQckAVGDBPY0UYXv4wCyJNY7875Fc2btb5pWj22yY2FRNi1R0WEz+DAQm0Az Q1znbup92LduXIgn9W/OZvCEmOgUdcVZuWC4Jj0By+3hPJ3ejz5bth+g8racmMY47KIv JYCg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=MQawxn832yz1X6QjBTcyMN3/+LzdSzv7N+CX88b/x6o=; fh=WKrlE/FBCh6S0p0cjULsqYvUKe/UlnCemNlM2pknmQI=; b=A4WQdKtw8ud6t4HJMcM6J/4eDwEB4xu3lrlqgbqtVu5XH3srIZ0Oa1mq18SnrNWNtt /5FE1cdpRSXc0ywq8b1yBsmcrngUXFhXwsKkYRlsaZwE5NTYmQw9vBbaEmlzDjo7cjk+ RWuVmVRWC3BDvMxvK3P36Y79sO/OxNGZ0wRb+ezzA8v0SvsFZAMdv9ASa3el4sfuf3hJ x80l7Hx6WD0G9zFj7KOGupQa5xXN6P8p5eqjoMTdlP/6xTBnydn1W/nKqeQuAvCpy4uY c40NAWLl3YcXj2Dl3prfLxntkzEIe3JEwm68LZwu0A90b+bOPk3atKw5N/R9JMFw28e+ o1Ew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=WN2vBimo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Return-Path: Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id ij29-20020a170902ab5d00b001bd9e2b4b46si6458430plb.601.2023.10.23.11.02.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Oct 2023 11:02:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=WN2vBimo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 17DD68072A3C; Mon, 23 Oct 2023 11:02:12 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229807AbjJWSCF (ORCPT + 99 others); Mon, 23 Oct 2023 14:02:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45030 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229594AbjJWSCD (ORCPT ); Mon, 23 Oct 2023 14:02:03 -0400 Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 40145A1; Mon, 23 Oct 2023 11:02:01 -0700 (PDT) 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=MQawxn832yz1X6QjBTcyMN3/+LzdSzv7N+CX88b/x6o=; b=WN2vBimorueRpS/2O4+IyWMAm+ DSpv6k8QxUL7fURmYnu+eUDWVVO/bHVMFqnyOin8LKMRlCz3QR84p8oj9mJWdnkON6RPvH6+tMEOh IQhOHCpzT/dOmMCnPuWluK60/KmfdiuanWCXVrCR+v7BM+zGtQpbzyrT+7IoorpmBnYg=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1quzFU-0033ZG-BQ; Mon, 23 Oct 2023 20:01:56 +0200 Date: Mon, 23 Oct 2023 20:01:56 +0200 From: Andrew Lunn To: Romain Gantois Cc: davem@davemloft.net, Rob Herring , Krzysztof Kozlowski , Jakub Kicinski , Eric Dumazet , Paolo Abeni , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, thomas.petazzoni@bootlin.com, Florian Fainelli , Heiner Kallweit , Russell King , linux-arm-kernel@lists.infradead.org, Vladimir Oltean , Luka Perkov , Robert Marko , Andy Gross , Bjorn Andersson , Konrad Dybcio , Maxime Chevallier Subject: Re: [PATCH net-next 4/5] net: ipqess: add a PSGMII calibration procedure to the IPQESS driver Message-ID: References: <20231023155013.512999-1-romain.gantois@bootlin.com> <20231023155013.512999-5-romain.gantois@bootlin.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231023155013.512999-5-romain.gantois@bootlin.com> X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Mon, 23 Oct 2023 11:02:12 -0700 (PDT) On Mon, Oct 23, 2023 at 05:50:11PM +0200, Romain Gantois wrote: > The IPQ4019 Ethernet Switch Subsystem uses a PSGMII link to communicate > with a QCA8075 5-port PHY. This 1G link requires calibration before it can > be used reliably. > > This commit introduces a calibration procedure followed by thourough > testing of the link between each switch port and its corresponding PHY > port. Could you explain the architecture in a bit more detail. When i see MAC code messing with a PHY, i normally say move it into the PHY driver. But its not clear to me if you are talking about the real PHYs here, or this is the switch end of the link, and it has some sort of a PHY to talk to the quint PHY? Andrew