Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp570830ioo; Thu, 26 May 2022 09:37:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwKQFFIMTDmRUwrj53omVzfjPZbvytrP2GQdcl8la1yq4pJCRPo9PNRgQ5TCU/5dwKcDALg X-Received: by 2002:a17:907:3ea5:b0:6fe:ce25:7a69 with SMTP id hs37-20020a1709073ea500b006fece257a69mr21356918ejc.626.1653583078510; Thu, 26 May 2022 09:37:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653583078; cv=none; d=google.com; s=arc-20160816; b=uO/G31d2E0/cP8/ONTop4CiDkJRsnE2yBzAmp3h6CU8KAa5iHT1nrN4519k1NVks+F KZ7FVPFqN2mLDWzQ6NgG9c3edbqkASNflCaLmCcF+1bu5XefYUuYaIVIv+K1c3qAtA8j xLZnjCOucReBYqSs8c2MI/19w2Cv2XF4l2A8v0XHKLzvB3iu4tJZo9QXaFvEFdkfPKzH YJokcQiw29ZQttRK8sVt0Ue7t3YnBCQ5ehkh7E7VsT9YzV3Ojs4OBPKNvcSAEPSK4h01 gvj8OJjlxLFNKX+Y73KxfowoAjhAoakk0FyUBC+Wz7/XZkTShfOnpw10OGNtEgcXag8/ QLPw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=ivqjH5toYJSfs0wcoHW14DPOTzybjgWJFjAhcoJ5Ot8=; b=d1hVEZ5M4ifX/Rq/yevW22AaPeVzIdYm9tRWkxzMfVTR1YAwxr7N6DvQJC8TTBnhTf 4IfBnhZ7MBWbh6hecwQdez6Sjepzi+3WCs/piaPJXVc9zC5XpL7c7VVoQHyQBIVOmmmW bEKx0OKV1iISx/n1ENk0e7E3lt8HNxbioeslsRkvb2FcK8iia8tt8Iqc4uiSYnIrF9uT pt6QdpuQVZVHQ/z4rrfM1RPZAmKe2q2rmzyHhlvZu/JWdX9oX5NR+KShOhvXQ5hrtUxS 5NoebMfo4L043+CuVr7GEUQvkDHPvB9MfXY/wkkfRUSAHfikvIu+ZQ460S1zLBgJh2gF 1IOw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@marvell.com header.s=pfpt0220 header.b=WWXJORHL; 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=REJECT dis=NONE) header.from=marvell.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z2-20020a05640240c200b0042ac7280c0csi2350198edb.8.2022.05.26.09.37.32; Thu, 26 May 2022 09:37:58 -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=@marvell.com header.s=pfpt0220 header.b=WWXJORHL; 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=REJECT dis=NONE) header.from=marvell.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236367AbiEZK67 (ORCPT + 99 others); Thu, 26 May 2022 06:58:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32904 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231377AbiEZK65 (ORCPT ); Thu, 26 May 2022 06:58:57 -0400 Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9F088CEB87; Thu, 26 May 2022 03:58:53 -0700 (PDT) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 24Q99OE6022048; Thu, 26 May 2022 03:57:23 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=date : from : to : cc : subject : message-id : references : mime-version : content-type : in-reply-to; s=pfpt0220; bh=ivqjH5toYJSfs0wcoHW14DPOTzybjgWJFjAhcoJ5Ot8=; b=WWXJORHL3UuzuxMgiyL/psVfQBsXxqEPvg+WhY5d+xONwMi83X+0Fj3LzaZOxnw9w/Ro D9XGCQ3B23TM4BEBLXTGmBXN6AoGAwplmFGg5VL3c/X8kU9w5PovnpkaeCLxBTVStprJ 2uHa8vm9UVgTY2OKjzoJDzRGDSNTltLBLjBcm/4EnFMrjK+shkQNp9jq10bBH+WiegAq EVdVWECzfAdRHSoUPHFhXVhBRXYG2mpvu87X7kCKYY7gNekpx9uQMi2Om+oUBLyA0DIm 6iPuPsAQWT7a4BB7cHYPznpOKGukMIInn3K8p+ydUz2x01/28Zvc8wuyqpE2pnLR4UMI rw== Received: from dc5-exch02.marvell.com ([199.233.59.182]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3g93ty8cpx-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Thu, 26 May 2022 03:57:23 -0700 Received: from DC5-EXCH01.marvell.com (10.69.176.38) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Thu, 26 May 2022 03:57:21 -0700 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Thu, 26 May 2022 03:57:20 -0700 Received: from Dell2s-9 (unknown [10.110.150.250]) by maili.marvell.com (Postfix) with ESMTP id DFCD03F70A8; Thu, 26 May 2022 03:57:20 -0700 (PDT) Date: Thu, 26 May 2022 03:57:20 -0700 From: Piyush Malgujar To: Andrew Lunn CC: "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "Chandrakala Chavva" , Damian Eppel , "Heiner Kallweit" , Russell King , "David S. Miller" , Jakub Kicinski , "Paolo Abeni" Subject: Re: [PATCH] Marvell MDIO clock related changes. Message-ID: <20220526105720.GA4922@Dell2s-9> References: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) X-Proofpoint-GUID: Xjsy_p5LYX-EpN9TEKAnqE8DuqKqtMlY X-Proofpoint-ORIG-GUID: Xjsy_p5LYX-EpN9TEKAnqE8DuqKqtMlY X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.874,Hydra:6.0.486,FMLib:17.11.64.514 definitions=2022-05-26_03,2022-05-25_02,2022-02-23_01 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE 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 Fri, Apr 29, 2022 at 04:24:53PM +0200, Andrew Lunn wrote: > > > > 2) Marvell MDIO clock frequency attribute change: > > > > This MDIO change provides an option for user to have the bus speed set > > > > to their needs which is otherwise set to default(3.125 MHz). > > > > > > Please read 802.3 Clause 22. The default should be 2.5MHz. > > > > > > > These changes are only specific to Marvell Octeon family. > > Are you saying the Marvell Octeon family decide to ignore 802.3? Have > you tested every possible PHY that could be connected to this MDIO bus > and they all work for 3.125MHz, even though 802.3 says they only need > to support up to 2.5Mhz? > > Andrew Hi Andrew, Yes, but as for Marvell Octeon family it defaults to 3.125 MHz and this driver is already existing in the kernel. This patch is not changing that, only adding support to configure clock-freq from DTS. Also, following PHYs have been verified with it: PHY_MARVELL_88E1548, PHY_MARVELL_5123, PHY_MARVELL_5113, PHY_MARVELL_6141, PHY_MARVELL_88E1514, PHY_MARVELL_3310, PHY_VITESSE_8574 Thanks, Piyush