Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp205322ybl; Tue, 7 Jan 2020 04:54:24 -0800 (PST) X-Google-Smtp-Source: APXvYqzc0Xs4iMPyhsq3fhbbOR71I9isRb0fNeVmrcj+1UQNXkDGw/puBVsswoQ5vWVMH+Cr0NC1 X-Received: by 2002:a9d:7e8a:: with SMTP id m10mr115736738otp.27.1578401664832; Tue, 07 Jan 2020 04:54:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578401664; cv=none; d=google.com; s=arc-20160816; b=ScS/zRboEOorA6FxmO10aztma0ChkOSUZbUta+YRmvRXjol2oJdmpwlXBQZdyUL0/u QlV/67YwCE2t5dK7osCfW2B2j8s3iNp00YXmvSietvK7otLR1uZmicSuCnKLkekQEEd6 2EnM0GkruusMRX8ijOcHWp/h4Puow4H33uFfHdNjcUqjZO4ftea8n/0Xx2poWvYvtnqA VIJ/17M1cOID0UoQJahoa8eosdnTjDJiKzb/l76N1dpunkiCP4cFRb2Kq05vlLUezaWk NSF8zpNeIku0KPdx73X6sFDydsHf6yp2K3eyxhSJLmjzDW9ZvgPNHJnYE5AdspG8YlIQ cbHw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:cms-type:thread-index :content-language:content-transfer-encoding:mime-version:message-id :date:subject:in-reply-to:cc:to:from:dkim-signature:dkim-filter; bh=z3QqzQeWELWtbdYfxbjfYm18/UmAbiaEUXAhmAM2oBo=; b=CrjJs4MihiZkIrlbdz7yuYhhSrolIWHhcevfQIVPd2QaaYGIfaxVmoH0WyfBQEwQBv RuLeG4PnHT3VfjQ8Fx/xv2CxTAEZMFftNquHFd6ziy0+F3f05pnCz22yzt6E82uM/BLP M13GATj0/v6BY7ITmGqedt+ntKRrnYnFqPKNEWvbJr0MOFebYKpVpKzNNCFDB3Vrq1tO 1HyyZYxAnXpOr8S4Ci75bjpcAht39YqVS9OzXjm2wFYbXNcY93XFXCV7qyG/tLqVgqUc p9KpjYVRluczVtzzc2o+Sfr9sJF7j5rAiCslJZf/dIUo1uJK9t+cYuHTE3MW1n2ESBzG Twug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b="CEkLvv/X"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k8si5386880otp.13.2020.01.07.04.54.12; Tue, 07 Jan 2020 04:54:24 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b="CEkLvv/X"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728009AbgAGMwE (ORCPT + 99 others); Tue, 7 Jan 2020 07:52:04 -0500 Received: from mailout2.samsung.com ([203.254.224.25]:41871 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726937AbgAGMwD (ORCPT ); Tue, 7 Jan 2020 07:52:03 -0500 Received: from epcas5p4.samsung.com (unknown [182.195.41.42]) by mailout2.samsung.com (KnoxPortal) with ESMTP id 20200107125158epoutp02bd42f18b057c7805f03ed8f82c7bd386~nm9GJzkzH0059200592epoutp02X for ; Tue, 7 Jan 2020 12:51:58 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.samsung.com 20200107125158epoutp02bd42f18b057c7805f03ed8f82c7bd386~nm9GJzkzH0059200592epoutp02X DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1578401518; bh=z3QqzQeWELWtbdYfxbjfYm18/UmAbiaEUXAhmAM2oBo=; h=From:To:Cc:In-Reply-To:Subject:Date:References:From; b=CEkLvv/X55mJb2k1eu6x8gvr48b+4nths8qKaq2VswJDF/+c4OWsMSxHZx4y1OUCn oJGAAKkTusqqZFy3UomjrLdwthk1yNY1ZykXOLrDKYLeux/CuJNkFy5Z6Z+FqEuvvN Mo+NTraqRTkZBipdG5RIv74mdPcz23VdLr6kVDwY= Received: from epsmges5p1new.samsung.com (unknown [182.195.42.73]) by epcas5p4.samsung.com (KnoxPortal) with ESMTP id 20200107125158epcas5p48bb7fc12493c86c760b299c8d4713026~nm9FmzniC2920629206epcas5p4F; Tue, 7 Jan 2020 12:51:58 +0000 (GMT) Received: from epcas5p1.samsung.com ( [182.195.41.39]) by epsmges5p1new.samsung.com (Symantec Messaging Gateway) with SMTP id A0.AA.19726.EEE741E5; Tue, 7 Jan 2020 21:51:58 +0900 (KST) Received: from epsmtrp2.samsung.com (unknown [182.195.40.14]) by epcas5p3.samsung.com (KnoxPortal) with ESMTPA id 20200107125156epcas5p32d73c07df46c7ef9737bc1c2f2834823~nm9Eda_M22813728137epcas5p3q; Tue, 7 Jan 2020 12:51:56 +0000 (GMT) Received: from epsmgms1p1new.samsung.com (unknown [182.195.42.41]) by epsmtrp2.samsung.com (KnoxPortal) with ESMTP id 20200107125156epsmtrp21cc851de8abadd6f9b0cba8944cf5713~nm9EcyYy21083110831epsmtrp2i; Tue, 7 Jan 2020 12:51:56 +0000 (GMT) X-AuditID: b6c32a49-7c1ff70000014d0e-91-5e147eee958f Received: from epsmtip2.samsung.com ( [182.195.34.31]) by epsmgms1p1new.samsung.com (Symantec Messaging Gateway) with SMTP id 23.7F.10238.CEE741E5; Tue, 7 Jan 2020 21:51:56 +0900 (KST) Received: from sriramdash03 (unknown [107.111.85.29]) by epsmtip2.samsung.com (KnoxPortal) with ESMTPA id 20200107125154epsmtip28f9f64ea37fb59c4ce9d5b7f134b24f9~nm9BzaH2g2079120791epsmtip2Q; Tue, 7 Jan 2020 12:51:53 +0000 (GMT) From: "Sriram Dash" To: "'Jose Abreu'" , Cc: "'Joao Pinto'" , "'Giuseppe Cavallaro'" , "'Alexandre Torgue'" , "'David S. Miller'" , "'Maxime Coquelin'" , , , , "'Heiko Stuebner'" , "'kernelci . org bot'" , "'Florian Fainelli'" In-Reply-To: <5764e60da6d3af7e76c30f63b07f1a12b4787918.1578400471.git.Jose.Abreu@synopsys.com> Subject: RE: [PATCH net] net: stmmac: Fixed link does not need MDIO Bus Date: Tue, 7 Jan 2020 18:21:52 +0530 Message-ID: <014201d5c559$3e6204b0$bb260e10$@samsung.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 16.0 Content-Language: en-in Thread-Index: AQFZUtiDrXKRSclDK/XtxWw9Crh9QgFfdnd3qM0QNJA= X-Brightmail-Tracker: H4sIAAAAAAAAA02SeyxVcRzA97vnnHuPx9XpEl9U6iIjj2y0w1Q2rU6trf6o9VZ3nBAuuwfF H2VR2Z2aolW361XNymbyLlHekojolkcxrsk1pizznNx7WP77fF+/z/e7/UhM0kvYkGHyGFYh l0VIhcZ4eb2zk9vkNYvAXVolRhdpWxH9paeGoNWfk3F6frJBRC8PjRP07FAjRv9cnCLo4mEN QXdVqoW0UqMl6KylAoJuyrGkl8fLkL+YKX3ZI2DeqH6ImKoxU6bk+XWmQpOFMbXvPJmR2WqM KX0/jZjp4q3HjM4Y+wWzEWFxrMJj70Xj0NzaHGH0b7Or87eJRNRpqkRGJFBe0DCSRCiRMSmh 3iJIfKpGfPAHQffQ4Gowg2Dw4SyxNlL0YBHXs4SqRpA3JeebdAiS23IE+oKQcoO27zeEerag DkB/34DBgVGjGLR8m8T0BSMqENqmMwxsTh2EzKpxgwGnHKD3SYohL6Z8oPPTM5znjdDyWGt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xUn5haX5qXrJefnbmIEx6mW5g7G y0viDzEKcDAq8fBaSAnHCbEmlhVX5h5ilOBgVhLh1dIRiRPiTUmsrEotyo8vKs1JLT7EKM3B oiTO+zTvWKSQQHpiSWp2ampBahFMlomDU6qBUZptiaNjNZfsuzUh5iFR3sscVZkOOyUWnJ0V dUJr9ZNLTe/l5oic2xFuJGD5ZckHTsvulh+lk31q9t32Pr7o+cPbS25Nmld5p3rxKeElTA07 lY15Z3w8LLHl0j3DU0tybh6dqm178vFH1k8dD6o6mtR65z/ZnuBRv9R/xmMjST7XZtHtvZl2 0UosxRmJhlrMRcWJAO6yr/7PAgAA X-CMS-MailID: 20200107125156epcas5p32d73c07df46c7ef9737bc1c2f2834823 X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" CMS-TYPE: 105P X-CMS-RootMailID: 20200107123550epcas5p2d1914646e71e0ff0095b4a14eb5e1551 References: <5764e60da6d3af7e76c30f63b07f1a12b4787918.1578400471.git.Jose.Abreu@synopsys.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > From: Jose Abreu > Subject: [PATCH net] net: stmmac: Fixed link does not need MDIO Bus > > When using fixed link we don't need the MDIO bus support. > > Reported-by: Heiko Stuebner > Reported-by: kernelci.org bot > Fixes: d3e014ec7d5e ("net: stmmac: platform: Fix MDIO init for platforms > without PHY") > Signed-off-by: Jose Abreu Acked-by: Sriram Dash > > --- > Cc: Giuseppe Cavallaro > Cc: Alexandre Torgue > Cc: Jose Abreu > Cc: "David S. Miller" > Cc: Maxime Coquelin > Cc: netdev@vger.kernel.org > Cc: linux-stm32@st-md-mailman.stormreply.com > Cc: linux-arm-kernel@lists.infradead.org > Cc: linux-kernel@vger.kernel.org > Cc: Heiko Stuebner > Cc: kernelci.org bot > Cc: Florian Fainelli > Cc: Sriram Dash > --- > drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c > b/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c > index cc8d7e7bf9ac..4775f49d7f3b 100644 > --- a/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c > +++ b/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c > @@ -320,7 +320,7 @@ static int stmmac_mtl_setup(struct platform_device > *pdev, static int stmmac_dt_phy(struct plat_stmmacenet_data *plat, > struct device_node *np, struct device *dev) { > - bool mdio = false; > + bool mdio = !of_phy_is_fixed_link(np); > static const struct of_device_id need_mdio_ids[] = { > { .compatible = "snps,dwc-qos-ethernet-4.10" }, > {}, > -- > 2.7.4