Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp604625rwl; Wed, 5 Apr 2023 05:26:48 -0700 (PDT) X-Google-Smtp-Source: AKy350Yo7VUyq1ZIFTPj3RAegNMNReXHqpY96QfxoqnQWMiuxVDdae/044hjkpQMALhq4dXz/7fq X-Received: by 2002:a05:6402:1158:b0:501:c672:5812 with SMTP id g24-20020a056402115800b00501c6725812mr1524531edw.33.1680697607763; Wed, 05 Apr 2023 05:26:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680697607; cv=none; d=google.com; s=arc-20160816; b=ciqnmOOG8Z2RUBxxvObrAvtbtKFLqVDp+bjgE22dBei/jrPoGQGWnK9MIkEdT2U0RS 7HiFGd9vqNwdg3EelJhHLSn6ZltWXIZqMRkr1BXnovgkChoy/bl06dUzUC+/rsRbJ2gR upHc8WxqUK1aL92t8NquWtTP4gWsZ8kKChd+xo4ylz+vag/WvQQE7KcmZCvSNTo5bUfu b1ysWH4KtoxN77EMsGKui39fYpHY/bBgbMhcH7QxSCPETZMlL4u53VI2rOmCpbFL5HD+ 7N4cUkYYWx7IuCvFYzRdmTjgLOxnKflOoiPEztXK1yd6cq35BZ/pobkgV8uIAAUNMfGG n5qQ== 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=lU7svaiswKHSynUrMk/7luYxKwuxn6hkYss2TudorTE=; b=WG8KA1aUDF3xaDMtN6TT2kwHr//QyNP29Xxi6RIFsMqBLyWh17XL7V+lmx10CaMpmT IMnm433Ham7gFxs2k60uwUVLkwErQfF2m1o363KUT80fdBVk3G7OSsL6p/6CReaHWp0p HOl0ewm73nGgFuTTxsGlkCJFtzqXxmdl+o5mqe/81gfmNM4z2CMT83tof96nL5lZKn+E Vun6/cHy1Ssk1mtOKz3b3p7g9hrGqt02C1AAuOfRIUDEYJrKX6ee0pP98aAm9slI9D5z iyYJmQZLNYrYBYBFJkBxZZUjtU70VnYzkM2Y/E4Oa62XfE41MxKhUIwGHW6PkNQ2L8HN c2Yg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=5WuK6jgb; 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 n3-20020a05640206c300b005026eaec912si10344152edy.189.2023.04.05.05.26.09; Wed, 05 Apr 2023 05:26:47 -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=5WuK6jgb; 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 S237953AbjDEMXV (ORCPT + 99 others); Wed, 5 Apr 2023 08:23:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58476 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237438AbjDEMXS (ORCPT ); Wed, 5 Apr 2023 08:23:18 -0400 Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 39F1246B2; Wed, 5 Apr 2023 05:23:13 -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=lU7svaiswKHSynUrMk/7luYxKwuxn6hkYss2TudorTE=; b=5WuK6jgb2zcW+n3daLQ3QLR4DT 9y+T9eU6neOC7QhRU+JNbiBsfC6LjALDRSO1uxX8PNa2qHkUPtB9u7dJ81m+zINHEmaY6ru7BH2Q3 hF/Tgqcazu3qTO/hmaxlY+g+aVaKa3yRx0Kqpy3Sojzh5iY1zgbc3EZ1oFFZjoY1bNi8=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1pk2AB-009WBV-DM; Wed, 05 Apr 2023 14:22:55 +0200 Date: Wed, 5 Apr 2023 14:22:55 +0200 From: Andrew Lunn To: Marco Felsch Cc: Heiner Kallweit , Russell King , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Florian Fainelli , Broadcom internal kernel review list , Richard Cochran , Radu Pirea , Shyam Sundar S K , Yisen Zhuang , Salil Mehta , Jassi Brar , Ilias Apalodimas , Iyappan Subramanian , Keyur Chudgar , Quan Nguyen , "Rafael J. Wysocki" , Len Brown , Rob Herring , Frank Rowand , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org, devicetree@vger.kernel.org, kernel@pengutronix.de Subject: Re: [PATCH 06/12] net: phy: add phy_device_atomic_register helper Message-ID: References: <20230405-net-next-topic-net-phy-reset-v1-0-7e5329f08002@pengutronix.de> <20230405-net-next-topic-net-phy-reset-v1-6-7e5329f08002@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230405-net-next-topic-net-phy-reset-v1-6-7e5329f08002@pengutronix.de> X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS autolearn=unavailable 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 > To bundle the phy firmware parsing step within phx_device.c the commit > copies the required code from fwnode_mdio.c. After we converterd all > callers of fwnode_mdiobus_* to this new API we can remove the support > from fwnode_mdio.c. Why bundle the code? Why not call it in fwnode_mdio.c? The bundling in this patch makes it harder to see the interesting part of this patch, how the reset is handled. That is what this whole patchset is about, so you want the review focus to be on that. Andrew