Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2709419rwd; Mon, 22 May 2023 03:10:34 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6zGRPJiioJEo1u92AgRXy8WWEAt6dNnnhUBYnGqtv+kSK5cAg3aSqWpz+tlc1OYtKA96d0 X-Received: by 2002:a17:90a:bd83:b0:253:5de5:ece7 with SMTP id z3-20020a17090abd8300b002535de5ece7mr9744535pjr.36.1684750233914; Mon, 22 May 2023 03:10:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684750233; cv=none; d=google.com; s=arc-20160816; b=OiwBcUAdagVTInSn1l2E7B5chX3scc1dAtDRpWqfNSnWhpjqeQJ12gMk0lqG5zpC+X azMgEt25fHkVePGe8LuooK/HLASMJCucVf9dfaiWh+sGDZmr5Fka15OdqrqpTKPmKuxV OS1J1LkIIStWLzhnAQdNHyCeiSrk91vl1y6suWZ8v1J8pv/nhZ2dOYB1AFFteuu0/4fB 4/D7yll4oVw2lKYQm+FzXILzK6pBO4TbINMwW95ZBgZcePaFM9zCWYEmMhiPL4DxAX59 aQ8i0m4zXm0kG212mHmOxqNnRLcMOgK9f4vow4dueZZxoIlQ3hKdBfBzeaOi6F1RO+G7 zTJA== 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=W4Loc6CfQwOGlHQ/N+c3X6o6eRwQeEfiytZshPv7WsM=; b=sDvdzsIWEHeiw072ZJ61rJQYWu18wACbmrJkr6V6YZzH/hQ5eau5yBmavvnIt8L2YN fBf0FZQDcCAoVKVIVL1k6fzY4qhkJpn1Fv4i6oHpMDDRxKnl4cL1tEiYV+XFmgciPSLa LnVa2j2ygr3zA1Q6f47clqfHGFJITJcQQAVAbrAOoqFxCvE1bRfH37sLCc53+u+2jtnw cpT4oUo3cAQdBkOGr3LwUlTXkj1JpibeSFIj1HtndA7Q2/n1aJnse1ZnduNfdg1Z6Bfp N4asFfivAeFVGw2tGFkyc+0RWXQwRLuZXhqmAtVnymWDrJgZ92fWODeUAGMZvgMxsXhI tqhA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=ZQMBjaGa; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z8-20020a17090abd8800b00252f5383678si6592774pjr.141.2023.05.22.03.10.21; Mon, 22 May 2023 03:10:33 -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=@gmail.com header.s=20221208 header.b=ZQMBjaGa; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231848AbjEVJ6k (ORCPT + 99 others); Mon, 22 May 2023 05:58:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47068 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229603AbjEVJ6j (ORCPT ); Mon, 22 May 2023 05:58:39 -0400 Received: from mail-wm1-x333.google.com (mail-wm1-x333.google.com [IPv6:2a00:1450:4864:20::333]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 74177A6; Mon, 22 May 2023 02:58:38 -0700 (PDT) Received: by mail-wm1-x333.google.com with SMTP id 5b1f17b1804b1-3f606912ebaso5250865e9.3; Mon, 22 May 2023 02:58:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1684749517; x=1687341517; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=W4Loc6CfQwOGlHQ/N+c3X6o6eRwQeEfiytZshPv7WsM=; b=ZQMBjaGaX/t1rh05LZR38VOoplznkq4BL8Zdg+raQxt3CGA64lcWq05j5c6bbI3LOZ XiybUC6oSKseJSf3doqcX6rZ54Jg1mvRQv1vyTfBHt5SQBBsSFoonZKTO+v97HX1E4Ct kFmp5GhrCOb+usudkg9r9C1y4rHwbACYPPODPdjOtJlVKmOm7Xs8a2onxUnSbsyblJs1 1+Qje78KhW3xRk4n0LKTrZAJksa0EtymM+G+N+N99npjwEyWOWltPNY3E7EX7GBAPdxL SHSFRibA5nH9g+5w3kuZVuXCfOB6NZAp2jpF6XEwBRSOR5gZb71wU2/3LWGRWF50LusV 5I3A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684749517; x=1687341517; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=W4Loc6CfQwOGlHQ/N+c3X6o6eRwQeEfiytZshPv7WsM=; b=JXz5NvzP4ev4Sl+mXZbE768GXEiMtcwSxSXXC0ycywj/3MkclFt3DbGDhn2GCE8RKj seXrISV/5fR+e5K762g+FUhTF/KgpFdlgbkffP+cJFCkHynlIXGqe1dNdkp4uFJT/Asb m2zIZcfhufSLtKaF2IEii21bJROWpL/X8arNGsAg9e/NhumcSmGrbXY8fDJz7BRDE4uT b+fWFV6SvTAa813DT/kvsOO3iznfuhBIwmy6ag0mOn7l7rVptEmboFQ7Qphf8S6ZXyyw ZWzpQVr1S3TiXQXi6QLj0qEsnqEK6Xo9p4lucUHY1X5px5HwQkYxyYm9S3Kdu6UY3iZg JUEg== X-Gm-Message-State: AC+VfDwr1tNLuOUV9d5HaNGmIs+TvY7NzoxW/Uu2Dq3sE9KeVVwrZWFm HQyVrC1V+4uKvuB6HFcYJqs= X-Received: by 2002:a05:600c:2119:b0:3f6:4c4:d0c9 with SMTP id u25-20020a05600c211900b003f604c4d0c9mr1192351wml.7.1684749516490; Mon, 22 May 2023 02:58:36 -0700 (PDT) Received: from skbuf ([188.27.184.189]) by smtp.gmail.com with ESMTPSA id y5-20020a7bcd85000000b003f6028a4c85sm4588692wmj.16.2023.05.22.02.58.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 May 2023 02:58:36 -0700 (PDT) Date: Mon, 22 May 2023 12:58:33 +0300 From: Vladimir Oltean To: David Epping Cc: Andrew Lunn , Heiner Kallweit , Russell King , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, UNGLinuxDriver@microchip.com Subject: Re: [PATCH net 3/3] net: phy: mscc: enable VSC8501/2 RGMII RX clock Message-ID: <20230522095833.otk2nv24plmvarpt@skbuf> References: <20230520160603.32458-1-david.epping@missinglinkelectronics.com> <20230520160603.32458-4-david.epping@missinglinkelectronics.com> <20230521134356.ar3itavhdypnvasc@skbuf> <20230521161650.GC2208@nucnuc.mle> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230521161650.GC2208@nucnuc.mle> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,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 Sun, May 21, 2023 at 06:16:50PM +0200, David Epping wrote: > Since we found an explanation why the current driver works in some > setups (U-Boot), I would go with the Microchip support statement, that > writing bit 11 to 0 is required in all modes. > It would thus stay a separate function, called without a phy mode > condition, and not be combined with the RGMII skew setting function. If you still prefer to write twice in a row to the same paged register instead of combining the changes, then fine by me, it's not a huge deal.