Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp708828rwb; Thu, 10 Nov 2022 06:31:22 -0800 (PST) X-Google-Smtp-Source: AMsMyM5yVDEmD86NQJoTTwnXTDkLPndjXoh0OV2BM3J9jv7P7E+t9Ww9Ffi6tZtZowcYdbBnoCiI X-Received: by 2002:a17:906:ce5a:b0:7ae:1e53:3f97 with SMTP id se26-20020a170906ce5a00b007ae1e533f97mr2734033ejb.169.1668090681784; Thu, 10 Nov 2022 06:31:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668090681; cv=none; d=google.com; s=arc-20160816; b=fsmjbd5RoqZRcjfi/Ye4UCv61PZygNYW3dNswnbM99uLCduuM1eStwTx7t1ErjfZkW 966ko2YoaaL4QynN6E0vUsOcbCcpYyFIjklF6uA+zC7hKfJF4Tffxm399GTwyQwD4K3E LJ9OvzQYc8EpjLqytEhFwBhq4ENq9k5bRfD4js9p09jUzOoPzp2vGCG8LFtoTBCkgJC7 UUIRj3VI6XC4p09znFggR5LfDMCzdej+dVRK88CfRmpn4Gue0oCO7dRuo3rY8+oq5wND 82C6xdAmljuGb1gjLoZUCUDTXvaQR9E65kNQuGpq12mc5aQswuqi+4NE523xTbMa8fke o48A== 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=M3EWxCFBGMPsU5MZUwlkMDxDdNXjGbuI2esV7j5ms8c=; b=qgXbID0lv6ojdf39Cj2AoZi0aujPVjnGmrZSL0H9hZS8uP9Deu0JNJD64q4rHZvNZQ Km56VdPdR+92YxXPl1DIF4RN5bxeQGN8Oy3ciMPoozjj1VLe5NVT5XPi6wseqlHGl9Gj Ew+hAXGkj9g8KfJPE20C1sw8DGG7tvcUZLdhf6kQdXWD2LBSib3NK1Ffj5nCg4Ad5DGq H7UZGc92Z1LvH3DnOdNDPJCajC1Al+1pACmCu3VBoGjOTt7rk3GtoDxB4cYRhwFQclZg tFdn54iBYFlNo/B6nzHJ+eOY1v8zwWjvGBoy4XFPAer8t6p2fObvS+6B1S4eIzc/Mo1g ckag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=vjF838Vl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c9-20020a056402120900b004627b98ab6fsi16226492edw.69.2022.11.10.06.30.38; Thu, 10 Nov 2022 06:31:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=vjF838Vl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230191AbiKJNFf (ORCPT + 92 others); Thu, 10 Nov 2022 08:05:35 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60182 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230156AbiKJNFc (ORCPT ); Thu, 10 Nov 2022 08:05:32 -0500 Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5E8471A388; Thu, 10 Nov 2022 05:05:29 -0800 (PST) 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=M3EWxCFBGMPsU5MZUwlkMDxDdNXjGbuI2esV7j5ms8c=; b=vjF838VlxZ+w3ICZR0366s/hYy HeabKdkwiUMKyHoIeFEaZXY0u+KqrKOLvO+tJTLbE11Ksu/Rk8WdcfmIvYemdgU/u87FHmIAfYFmm gixo3WPYvQFs962T68SUC31ExIqnqVU0uOkv21av5TtZZBbOdAj+to/805wqutXVlTpo=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1ot7E1-002220-2k; Thu, 10 Nov 2022 14:04:09 +0100 Date: Thu, 10 Nov 2022 14:04:09 +0100 From: Andrew Lunn To: Jan Petrous Cc: Chester Lin , Andreas =?iso-8859-1?Q?F=E4rber?= , Rob Herring , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Krzysztof Kozlowski , "netdev@vger.kernel.org" , dl-S32 , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , Matthias Brugger Subject: Re: [EXT] Re: [PATCH 2/5] dt-bindings: net: add schema for NXP S32CC dwmac glue driver Message-ID: References: <20221031101052.14956-1-clin@suse.com> <20221031101052.14956-3-clin@suse.com> <20221102155515.GA3959603-robh@kernel.org> <2a7ebef4-77cc-1c26-ec6d-86db5ee5a94b@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Nov 10, 2022 at 08:51:43AM +0000, Jan Petrous wrote: > Hi Andrew, > > > > > Here I just focus on GMAC since there are other LAN interfaces that S32 > > > > family > > > > uses [e.g. PFE]. According to the public GMACSUBSYS ref manual rev2[1] > > > > provided > > > > on NXP website, theoretically GMAC can run SGMII in 1000Mbps and > > > > 2500Mbps so I > > > > assume that supporting 1000BASE-X could be achievable. I'm not sure if > > any > > > > S32 > > > > board variant might have SFP ports but RJ-45 [1000BASE-T] should be the > > > > major > > > > type used on S32G-EVB and S32G-RDB2. > > > > > > > > @NXP, please feel free to correct me if anything wrong. > > > > > > > > > > NXP eval boards (EVB or RDB) have also 2.5G PHYs, so together with SerDes > > > driver we support 100M/1G/2.5G on such copper PHYs. > > > > Hi Jan > > > > Does the SERDES clock need to change when going between 1000BaseX and > > 2500BaseX? > > > > If so, it sounds like Linux not having control of that clock is going > > to limit what can be supported. > > No, the SerDes clock remains the same, the change is done internally, without > any necessity of clock change intervention by GMAC driver. Hi Jan Thanks for the information. So this binding should work. The only suggestion i have is that the binding does not call is SGMII clock, because it is used for more than SGMII, also 1000base-X, and 2500Base-X. So PCS clock might be better. Andrew