Received: by 2002:a05:6358:111d:b0:dc:6189:e246 with SMTP id f29csp2319154rwi; Thu, 3 Nov 2022 15:46:19 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4PB2nCkzRjGje2hwN5HJaaB46Sm2cRYfyWk8vskcT9noziTBJ6RXIjP45J00L5/aDpzf4Z X-Received: by 2002:a17:903:494:b0:186:a227:436f with SMTP id jj20-20020a170903049400b00186a227436fmr32210919plb.133.1667515578822; Thu, 03 Nov 2022 15:46:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667515578; cv=none; d=google.com; s=arc-20160816; b=btH85JJ8DVaHMXCbg+jLGLcsRA3C7J4fGJk93JFbMv6SZgxp2FM3YZWc/XN83YfaSz KGegrHCwb85TDFedjtZUrGl0kdy8uKUa2WApVuzCX2BrHeYmmQhhjTK7Ds7NaFksagIB hTT1gSrHgP2QVIIpngoHTadD+mSrpLvmMg91rFBX578bk6fMTDX39cm1cWq10yvCYidc eFiNbbEynGcEXWZCFqKUncwYiLS7TSwSFeOlizPNm44gPAm6U9nRjvh02Cqd94G2WNxM usWH/cr/6F2RM/eaAwfI9sm6Daoa1ZA6ICyolf86KM8SU43sb5ZH9tztMGr7H76IxfPQ PDHg== 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=v4cHUAKIN1alQhVRV36kZWuJBkfRVyQW/FYiebl3tq8=; b=VNRo3L0HucqggGDVg8HvqdDcOlVgkTVjen/3bDuD0/X/HKRft1y1SKTzxV3V0wJ5AS oUwr1L2IkRIC25Z+J3/8CIvlOAOvD9a7NwJpXvYU9VlP7xA7OvvVYBeQHQDzHiqOuo/C RajXS+BZc5DtXiVGZpe6JKZg2GpTRqWJ0QbVaS3dyP7hADosEwvovJYgsuWNb9aX8vDn 6HtxNrqUrLzsVoZ3gs9TdzBLQ2Xi9HlDbjXa494pX+UkzDzFambEHjf4SHpBPDe7ZunB 4g5CY/pX+WVBhbcpyLGAEKVXfEEOa+VPOOml8B4qmQ0BgNXyKbrsMQ/rtGYEqoDFvHYm 2EIQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=1mhhdmhl; 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 u65-20020a637944000000b0046ff71adc71si3232900pgc.280.2022.11.03.15.46.05; Thu, 03 Nov 2022 15:46:18 -0700 (PDT) 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=1mhhdmhl; 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 S231514AbiKCWGw (ORCPT + 98 others); Thu, 3 Nov 2022 18:06:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36180 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229770AbiKCWGu (ORCPT ); Thu, 3 Nov 2022 18:06:50 -0400 Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D563F22293; Thu, 3 Nov 2022 15:06:48 -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=v4cHUAKIN1alQhVRV36kZWuJBkfRVyQW/FYiebl3tq8=; b=1mhhdmhlzvYWloNOey+D2i8JgM 91UFtRrqSK/mkAGorKaZEdD5UWadNP2o1zk/EGSnAbI7YjzEGWRTHPzeA5Ubf/Zb+35h6da4u/AhW kJP7UbkRlgCWC6ZsNOMYIWIZSv3VnBckU4ZMP2WUCzW4f6jn63Ltb/XNznNY5RzdrquE=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1oqiL4-001Lyy-Pq; Thu, 03 Nov 2022 23:05:30 +0100 Date: Thu, 3 Nov 2022 23:05:30 +0100 From: Andrew Lunn To: Andreas =?iso-8859-1?Q?F=E4rber?= Cc: Rob Herring , Chester Lin , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Krzysztof Kozlowski , Jan Petrous , netdev@vger.kernel.org, s32@nxp.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Matthias Brugger Subject: 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: <2a7ebef4-77cc-1c26-ec6d-86db5ee5a94b@suse.de> 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 > > > + - description: Main GMAC clock > > > + - description: Peripheral registers clock > > > + - description: Transmit SGMII clock > > > + - description: Transmit RGMII clock > > > + - description: Transmit RMII clock > > > + - description: Transmit MII clock > > > + - description: Receive SGMII clock > > > + - description: Receive RGMII clock > > > + - description: Receive RMII clock > > > + - description: Receive MII clock > > > + - description: > > > + PTP reference clock. This clock is used for programming the > > > + Timestamp Addend Register. If not passed then the system > > > + clock will be used. > Not clear to me has been whether the PHY mode can be switched at runtime > (like DPAA2 on Layerscape allows for SFPs) or whether this is fixed by board > design. Does the hardware support 1000BaseX? Often the hardware implementing SGMII can also do 1000BaseX, since SGMII is an extended/hacked up 1000BaseX. If you have an SFP connected to the SERDES, a fibre module will want 1000BaseX and a copper module will want SGMII. phylink will tell you what phy-mode you need to use depending on what module is in the socket. This however might be a mute point, since both of these are probably using the SGMII clocks. Of the other MII modes listed, it is very unlikely a runtime swap will occur. Andrew