Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp5852530ybl; Tue, 10 Dec 2019 12:34:45 -0800 (PST) X-Google-Smtp-Source: APXvYqzDJqYozbK79XNkMbRbzFDXcmM11LnTWsJVG2VLlLlwlYmmVCTt8RD904EK83C+/HDb2F45 X-Received: by 2002:a05:6830:1cf:: with SMTP id r15mr28463996ota.231.1576010085393; Tue, 10 Dec 2019 12:34:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576010085; cv=none; d=google.com; s=arc-20160816; b=uHgQp5ByGfITAdYhso7HCc7ffAZjNkhSQk5MfIc8FDQzMbIMiVGIwp3x0i25GfIbrS SdAHYAxX5MElyqLIscYBb+k10GsMxrC0mjmrvZNreb/HwsBGE2y9wJDDYEBpemU/3q1j FcdxG9IK3ASblzM7FNb/4oV5atSQPFB3x6a3vTPMvroiYsyj6mgsVXThefvIkyWGiQhR KffGMAGtNI2KaitYQYS5/GENCwKwYMCO+bOR6Jg3sWuUSo2kz4mEeZCJlwGlSG2aHcMU nxDB4UNZzr2jGxnnjZV2sYSI+wAS7AGjKvxKO67YF7yaeYg8QKB3HtReb9y4x6Gajzp8 R/BA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=WcJdxqTl/ua2Yymvk/7AOQoRkf2lI6lUGWnrOs0pdmI=; b=jHgP2RNgcseYvsPbn4yIdF4A8vlJyylnImyHVO9h5VqeNNoV8Z/T8dwpPrm2p0lDGt J/pL9qnkEvz1CrxCxM0ihJWP0+37DSnFPLG60WaFTvw9KLW1zoPHJNFk35wuHHPavTK4 xhPBsXaupTEcRWY7OHd2RunUWm/VMEqBILK5/CWyoo8BnqHojX3ylHql9WHiVZAa/AN+ oCzVtluUIOBZ+wMbbncBgpYyNKh/PbMGyeeN4hR8hrfN1V1a17ugpj7Jh1pwHeUQTy/6 jxQogmhwcQGGzn869qMpvtnLkTb9gODWDgcqO+uqpfkNnmjoTU7EqhcMQTHv0scaoIXV NYFw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nic.cz header.s=default header.b=sThtOEeX; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l3si2640190otb.319.2019.12.10.12.34.33; Tue, 10 Dec 2019 12:34:45 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nic.cz header.s=default header.b=sThtOEeX; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727079AbfLJUd6 (ORCPT + 99 others); Tue, 10 Dec 2019 15:33:58 -0500 Received: from mail.nic.cz ([217.31.204.67]:51412 "EHLO mail.nic.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725999AbfLJUdy (ORCPT ); Tue, 10 Dec 2019 15:33:54 -0500 Received: from localhost (unknown [172.20.6.135]) by mail.nic.cz (Postfix) with ESMTPSA id 5429F140AC8; Tue, 10 Dec 2019 21:33:52 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=nic.cz; s=default; t=1576010032; bh=gT9/qt/EE7APHbwGwmFdoeHh/5ij9tU8+0uQXcYhjVI=; h=Date:From:To; b=sThtOEeX+qYfIcojZT7f2Vbh9MTdECtF/Ctl0YngNsUBcL6Y7s6S5lCAiP0kfmx/v KAyG5LPOqa6UrjRlit08uN0nTJHjzOo98m/IKDFtXdVfk1tYHqKKb1DttwKCg+MKk+ ufKzsCzDzfO82MDF5WYpvs/zZSe04O4Ms945Lx40= Date: Tue, 10 Dec 2019 21:33:51 +0100 From: Marek Behun To: Andrew Lunn Cc: Landen Chao , f.fainelli@gmail.com, vivien.didelot@savoirfairelinux.com, matthias.bgg@gmail.com, robh+dt@kernel.org, mark.rutland@arm.com, devicetree@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org, davem@davemloft.net, sean.wang@mediatek.com, opensource@vdorst.com, frank-w@public-files.de Subject: Re: [PATCH net-next 4/6] net: dsa: mt7530: Add the support of MT7531 switch Message-ID: <20191210213351.2df6acbf@nic.cz> In-Reply-To: <20191210163557.GC27714@lunn.ch> References: <6d608dd024edc90b09ba4fe35417b693847f973c.1575914275.git.landen.chao@mediatek.com> <20191210163557.GC27714@lunn.ch> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.100.3 at mail X-Virus-Status: Clean X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT shortcircuit=ham autolearn=disabled version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mail.nic.cz Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 10 Dec 2019 17:35:57 +0100 Andrew Lunn wrote: > On Tue, Dec 10, 2019 at 04:14:40PM +0800, Landen Chao wrote: > > Add new support for MT7531: > > > > MT7531 is the next generation of MT7530. It is also a 7-ports switch with > > 5 giga embedded phys, 2 cpu ports, and the same MAC logic of MT7530. Cpu > > port 6 only supports HSGMII interface. Cpu port 5 supports either RGMII > > or HSGMII in different HW sku. > > Hi Landen > > Looking at the code, you seem to treat HSGMII as 2500Base-X. Is this > correct? Or is it SGMII over clocked to 2.5Gbps? > > Andrew How would that work? Would 10 and 100 be overclocked to 25 and 250?