Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp352694pxj; Thu, 3 Jun 2021 08:16:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx61LH2uQfeKso74NkqK0RiN4QiekMQXOFrwt7UV/xBRLTCHSBu9luDlxKYkQyO8nKEnqQL X-Received: by 2002:a17:907:72d2:: with SMTP id du18mr103100ejc.438.1622733384561; Thu, 03 Jun 2021 08:16:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622733384; cv=none; d=google.com; s=arc-20160816; b=D4cXcuHg9kMQJ5Y6HPzhmxb5l9lHh+G4/Lf+U3fQTejlTFLQ9L/WtohQKXBNVM9nVd IBWam0Ru/1Q9jaiNLpdpGJjKE1cSSV/2vzv9hceNYfH/wTmSddX32ZtfcJ7AhKMqXQyY 83OfRISQ0xU3Fm0oCBKJpMzjFSuIQ9nJFpT6b3Z9ZROnJjDme/jJtzueM3Y4qV3DIl0a A8iGXN31SCr2dz1I0jLmDFR/IcMzPUpXAnSvU2W0OH/qjssJOhcUTySapysqRsYUohsD u0SMWAkn0RytAIhu2MIIWzUQoMhw3A4Cny1ob9gDn9TVuGemHZy1YN0WXS+vk7WW8MBb GvOA== 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-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=Fb2y9y2wTlsDnlaiZCRMP7KJ4VwgHPLw9e1s4N8XbZc=; b=sO9kAr5AKvxx3F3+r1/ArX9/mgKdaj7V97pNRnG1DdHX/W0WzNomCN8uY2PruY5KmR d5K0HtTc75ocpfi/nYye/+dBoCaFIRc6tVkgPJ+d09vv9EkVanvljucn+svLrCDNal9x JLOA9iVbTGidwRPrk6P8dQFJynVaSbao/Ab6q+NQRCPp1stLx5WSg+h1foaIn5Hxu0qO yf/mOjxFRnYnwfVFM70Are44W5FMSVD+5ybOcXZhsm5Hv9ma1QjHo2auh0kSb/o8pQu8 3vM4VUDu+bERyU47m/J69L8dv+XEV8lpg+7V6IeFUYLlM+yebOlX8ow2y15zUdXVcvWm rv9g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=VU8SgVaE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j3si2373531ejv.180.2021.06.03.08.16.00; Thu, 03 Jun 2021 08:16:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=VU8SgVaE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231866AbhFCPOh (ORCPT + 99 others); Thu, 3 Jun 2021 11:14:37 -0400 Received: from vps0.lunn.ch ([185.16.172.187]:43404 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231846AbhFCPOg (ORCPT ); Thu, 3 Jun 2021 11:14:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Transfer-Encoding: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=Fb2y9y2wTlsDnlaiZCRMP7KJ4VwgHPLw9e1s4N8XbZc=; b=VU 8SgVaEtfICjnU2iMLl8aKwR5YGpx1SaxE8k6X7CUVI5Mvgz14pQzRFWbHLYDww60eKgmkiklD2nqt 1ByBqbC4n74HsYw/3h/Bk3/ChMm+SWIlhqgzS71abeeAP/iMeXvQA/3p7IhcRVuwqQ7J2YvjmH8rT 7mGe/zMHGGljyVU=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1lop1L-007dj0-UZ; Thu, 03 Jun 2021 17:12:31 +0200 Date: Thu, 3 Jun 2021 17:12:31 +0200 From: Andrew Lunn To: Pali =?iso-8859-1?Q?Roh=E1r?= Cc: Igal Liberman , Shruti Kanetkar , Emil Medve , Scott Wood , Rob Herring , Michael Ellerman , Benjamin Herrenschmidt , Madalin Bucur , Russell King , netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: Unsupported phy-connection-type sgmii-2500 in arch/powerpc/boot/dts/fsl/t1023rdb.dts Message-ID: References: <20210603143453.if7hgifupx5k433b@pali> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20210603143453.if7hgifupx5k433b@pali> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jun 03, 2021 at 04:34:53PM +0200, Pali Roh?r wrote: > Hello! > > In commit 84e0f1c13806 ("powerpc/mpc85xx: Add MDIO bus muxing support to > the board device tree(s)") was added following DT property into DT node: > arch/powerpc/boot/dts/fsl/t1023rdb.dts fm1mac3: ethernet@e4000 > > phy-connection-type = "sgmii-2500"; > > But currently kernel does not recognize this "sgmii-2500" phy mode. See > file include/linux/phy.h. In my opinion it should be "2500base-x" as > this is mode which operates at 2.5 Gbps. > > I do not think that sgmii-2500 mode exist at all (correct me if I'm > wrong). Kind of exist, unofficially. Some vendors run SGMII over clocked at 2500. But there is no standard for it, and it is unclear how inband signalling should work. Whenever i see code saying 2.5G SGMII, i always ask, are you sure, is it really 2500BaseX? Mostly it gets changed to 2500BaseX after review. PHY mode sgmii-2500 does not exist in mainline. Andrew