Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp172448pxb; Thu, 31 Mar 2022 02:30:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz+PuJP54ofzDnmQJYvnOlOY7QlA+F8Lx3ZvF4Y+fHg6ELqWHq0/hBevVGybGPJW9d/PiJo X-Received: by 2002:a17:90a:1389:b0:1c7:a9e0:ef23 with SMTP id i9-20020a17090a138900b001c7a9e0ef23mr5075329pja.138.1648719050503; Thu, 31 Mar 2022 02:30:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648719050; cv=none; d=google.com; s=arc-20160816; b=sxqpontV0D2b4budlzpSaviYCeWwQ1aiPGNfb54byE3KNvu3Eaq2RzruRbDMT6D8rK hQb+HkCcA4KUuIojiVClDFq0hbKTbGfY8+M5NVul84DpMQyEOD7TjjM6G9HMmAOy7CFk +a3pbAnfpj209A5dZQeaCF4SNgv2NToiqGI9FZnSIVFkR9F/8zrZjTbhhvxBXQVmD9vn UwPDqrhladWLn/hAFr9I1IfIH4ZzGT6I9rlOp01bhHxqmUASILhEeTOUVKG9XObJ9/nX ts1Y1XWglg61r7Q+zp7KM9MGsmPxiN2qIa4bwv8MICOQCTXYMvjPjqDMM2GTBL3CiwnQ 9qzQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=Cftje8rQgS4kiDHkpH8Em2qt4GFjMGVk4OywwnZsT04=; b=RzGDZS63rnlpeEGrlUxQonDipFBX7LylJUVzYnd+6XKPquQ3m80xZ+3j5zkcpwa9Lc AHQZtBxbWLblcjP1VxwC+X/taJF+MNC9vEWotBzbkY35j294S1vxFNSXNJvUlGtM+ZHJ SonBgLJpBFDxp+ty7jRjKzz+JOsFSAcH8xbPhJmdvo06h2vjShpUdj4WL9k4HpNd4cf3 JvGXGs+vNtegp9M4ge6BdPjtnOjKsf+bAfdwlkmQLBvJdHfgwwjjsjFmzX0iTNa79r4C Mu1zBuFJS99yQ1CBxKVST0hsEzEavgEasGjlb0IUZIGEzAy3hFCU8yF5hlZxT6haV1uj Om6A== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=ssEaxSvr; 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=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q26-20020a63751a000000b003821f8bcbb9si24128481pgc.94.2022.03.31.02.30.39; Thu, 31 Mar 2022 02:30:50 -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=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=ssEaxSvr; 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=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231949AbiCaHQe (ORCPT + 99 others); Thu, 31 Mar 2022 03:16:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40802 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232014AbiCaHQK (ORCPT ); Thu, 31 Mar 2022 03:16:10 -0400 Received: from pandora.armlinux.org.uk (pandora.armlinux.org.uk [IPv6:2001:4d48:ad52:32c8:5054:ff:fe00:142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 793341C9B51; Thu, 31 Mar 2022 00:12:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=Cftje8rQgS4kiDHkpH8Em2qt4GFjMGVk4OywwnZsT04=; b=ssEaxSvrpdL50MKhgA/GLcEdZz i9m33P4y2/jk8y2I+ZL/elPceIuEkXA45RCJWN2KjxG9mRjZdJEWo5KxtSZKCtqdqr+bJ6cuLQyLx CDsD/PeJ316Q+x8leqTfW4Z6s3jwQzC6UXvfTfnA9joUyWfUiRqolCSc1R3nrYXV2GIU6lohQpgzw I44ZNFkMqJLHtpEx3bYmUGX08DrMgSsJLL8ZTLU3ZeDVmVIhif+8NkU92cRiSa4uyS5eM2d/3vsSc 9/bKLjQHacLGo6bsKXPWHznODqpyla/o/Y2B3CaNoCo1QQk7IKfBeO9SD07zpTdNP4pl47EUusC+T srf56/xQ==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:58042) by pandora.armlinux.org.uk with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1nZoyt-0004LR-Vq; Thu, 31 Mar 2022 08:12:31 +0100 Received: from linux by shell.armlinux.org.uk with local (Exim 4.94.2) (envelope-from ) id 1nZoyn-0007QN-D8; Thu, 31 Mar 2022 08:12:25 +0100 Date: Thu, 31 Mar 2022 08:12:25 +0100 From: "Russell King (Oracle)" To: Dylan Hung Cc: robh+dt@kernel.org, joel@jms.id.au, andrew@aj.id.au, andrew@lunn.ch, hkallweit1@gmail.com, davem@davemloft.net, kuba@kernel.org, pabeni@redhat.com, p.zabel@pengutronix.de, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, BMC-SW@aspeedtech.com Subject: Re: [PATCH v3 2/3] net: mdio: add reset control for Aspeed MDIO Message-ID: References: <20220325041451.894-1-dylan_hung@aspeedtech.com> <20220325041451.894-3-dylan_hung@aspeedtech.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220325041451.894-3-dylan_hung@aspeedtech.com> Sender: Russell King (Oracle) 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_NONE,SPF_NONE, 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 Hi, On Fri, Mar 25, 2022 at 12:14:50PM +0800, Dylan Hung wrote: > Add reset assertion/deassertion for Aspeed MDIO. There are 4 MDIO > controllers embedded in Aspeed AST2600 SOC and share one reset control > register SCU50[3]. To work with old DT blobs which don't have the reset > property, devm_reset_control_get_optional_shared is used in this change. > > Signed-off-by: Dylan Hung > Reviewed-by: Philipp Zabel Should this really be specific to one driver rather than being handled in the core mdio code? -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!