Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp3009588rwd; Mon, 22 May 2023 07:28:23 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4/1kT5k2SgS6KxvCKqXnLtqyZcqFWzLfDA4C1duHCKu3icsOsHfKPLrj2vuRxb5Nu6HVlY X-Received: by 2002:a05:6a00:234a:b0:64d:123d:cc74 with SMTP id j10-20020a056a00234a00b0064d123dcc74mr12014271pfj.4.1684765703115; Mon, 22 May 2023 07:28:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684765703; cv=none; d=google.com; s=arc-20160816; b=VIhC9S0S68hzyPYoH6jbmUVQzQNKhnjgnptGtLQ5nqXEegftVZabp7DEOhBnRhJSZn P2KP7lxlTrQRiV8Vx6/YIoC1T69Gk10Dl47QfqCBL4hVJbtija/ezy5wz3oBP5F41eY0 6iqxM1XZsfs+Pjbo1GAdjEBzKe7Od2XCGyAR2zkRqnl/a21QvZT3g8RxOgPww1PaTJlL gLdxEcPqZjvM57NSylJaEQ1kUfyIJqDTVfIyrUb49AB2zOnyE8qcvmMn6RQc/MrFvlsl tKY35P1QxNALZHT8XGk6ZfPPx8N3bP+T/s/XYVTAJn8/eSe6NvtXyPWHA2DZAgFXLhtq 2+Fg== 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; bh=igjTTj/Xpx7wU3CAlsNnD6gQSA6msZxlzCrWL7PGj8s=; b=UlpbwO9Xth1jY3cYF/BE4WJETDWwItNGuWzeUk5f4zLJkvnKicNZQlxLjQVpuUujU3 FncyjHCJGNBwGoEx2jMpmTerdPZxk5SG69c+dm+dSoxVyhBbuwduDcZWl2OF0QrVgZ2r ZD3EJmMIuabljVDsKuSoo49i24yhw9MWs04Vb3INc6y8ttJIwnhIyVwjXuTetaL7SY4k /1BAPfDMfsgl/kFAyZs/1F8A+9+SHUbZofKGAchWWQToi2CuzBOt2lvZ6Sq6VrEas0Up s81DcwpgngCVEICy7Zag9+YiEME0eI+O8mazM2OKvG/Jgy8Gy5JNhtnK3Wte1f5H/c2B B9Ww== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b2-20020aa78ec2000000b00643b7b6bf0esi1295538pfr.261.2023.05.22.07.28.08; Mon, 22 May 2023 07:28:23 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234468AbjEVODR (ORCPT + 99 others); Mon, 22 May 2023 10:03:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40540 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234451AbjEVODB (ORCPT ); Mon, 22 May 2023 10:03:01 -0400 Received: from smtp.missinglinkelectronics.com (smtp.missinglinkelectronics.com [162.55.135.183]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BC314E7E; Mon, 22 May 2023 07:01:00 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by smtp.missinglinkelectronics.com (Postfix) with ESMTP id 4659720619; Mon, 22 May 2023 16:00:59 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at missinglinkelectronics.com Received: from smtp.missinglinkelectronics.com ([127.0.0.1]) by localhost (mail.missinglinkelectronics.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id IhkcC-sQtEsS; Mon, 22 May 2023 16:00:59 +0200 (CEST) Received: from nucnuc.mle (p578c5bfe.dip0.t-ipconnect.de [87.140.91.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: david) by smtp.missinglinkelectronics.com (Postfix) with ESMTPSA id 9081D2041E; Mon, 22 May 2023 16:00:58 +0200 (CEST) Date: Mon, 22 May 2023 16:00:57 +0200 From: David Epping To: Vladimir Oltean 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: <20230522140057.GB18381@nucnuc.mle> References: <20230520160603.32458-1-david.epping@missinglinkelectronics.com> <20230520160603.32458-4-david.epping@missinglinkelectronics.com> <20230521134356.ar3itavhdypnvasc@skbuf> <20230521161650.GC2208@nucnuc.mle> <20230522095833.otk2nv24plmvarpt@skbuf> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230522095833.otk2nv24plmvarpt@skbuf> User-Agent: Mutt/1.9.4 (2018-02-28) X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_PASS, 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 Mon, May 22, 2023 at 12:58:33PM +0300, Vladimir Oltean wrote: > 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. Since the clock enablement now happens in all modes the existing rgmii function name seems misleading to me. Also we don't want to enable for all PHY types, and the differentiation is already available at the caller. I would thus opt for a separate function and fewer conditional statements. Its my first patch re-submission, so sorry for the noob question: Should I include your "pw-bot: changes-requested" tag with the third patch? Probably not. Of course I'll include your tags for patches 1 and 2.