Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp1755797ybz; Sat, 18 Apr 2020 07:50:49 -0700 (PDT) X-Google-Smtp-Source: APiQypLDmwVQ5RvvVWFwHgYfF2sD7v2rPmxUF36E5ETWOil0FcgFszZryDR31o2yPnuY+TDouq6F X-Received: by 2002:a17:906:405a:: with SMTP id y26mr7833174ejj.31.1587221449209; Sat, 18 Apr 2020 07:50:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587221449; cv=none; d=google.com; s=arc-20160816; b=BinXlcGzWbCuTPW9GS5DA7evi8rR8i3WLPpEpI1znZZippCwbbStyHjrccgPRu7IPS T49pLLHO9bXrnFbxy1D5sGU0LDA9whM0w+pFhti0O5M/GIjDoLIoHyaRFoxemRukpnf8 3jgWSg++MoLudMwDWWeaWSldnrGU8R42XOl5mVxvfdXCwFzC1xVwXEpWC2KAChdcpWB5 9bELdhI3MK7LJEFhU3GaSu0F47TMYV3bcqO0hZmBbAyYVvXca10bDIfQs/8d2p1Cgm6U P1CnYh8g8J+QHSv8lS7Eumt2W0eeJpoRy6eW58iTH4ueb0Clu9su1nHNMb2/ZR5wh2x0 VUHQ== 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=dpss5G2N7uvUMvkaD6b2KJzZija+Nemnz6JbBa7IjiY=; b=Ychif1zyk5PIFAmz5iId6Yftqh/o6M1UzjDp6bNx7Tdiz5jsC3zYq53YERt/PEMgGA iL8xqkKO9PRC37KfPN93Y8SczCE8elyl6rsjzqTkpWPEAM0iYjjPmgXX25gLCiKwg72u gE7xPg68qksej3JNbN155i9883ma55IZ3FK3YO5Ikp12At00BPKS8rilnXPj8gBLIxQG x8rfvigpvlH5bypQSKs++bC8i4MYYC8W/5CGGo3zPf2zcveTrCs1BuqAD/LN4skcoIkC WCtYSNW2FKQgDRvW7Uuk5gOclMbULUJ9qcp8RLrAuBtJ26/YZIl1jufLBfoYJtTwgdYB tbQg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@lunn.ch header.s=20171124 header.b="ouT/Uqhy"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w10si3366691ejk.157.2020.04.18.07.50.26; Sat, 18 Apr 2020 07:50:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@lunn.ch header.s=20171124 header.b="ouT/Uqhy"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728988AbgDROqQ (ORCPT + 99 others); Sat, 18 Apr 2020 10:46:16 -0400 Received: from vps0.lunn.ch ([185.16.172.187]:46548 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728849AbgDROqN (ORCPT ); Sat, 18 Apr 2020 10:46:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Sender: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=dpss5G2N7uvUMvkaD6b2KJzZija+Nemnz6JbBa7IjiY=; b=ouT/UqhyzwL6J/ctwSdntyWusU SIeWEnq+ldQajILAFZXJyifjGMy0xoYWnxvPS2GRjnKOkvT7PrOi0FCbIwKRfZ78Ai2RsbDK49QWg tcq4LFaMTlY/k2J83cu6d91FJxbkkyGocMEUGL6rUSdmBO2TKIK/6KRMMt9ejumCABf0=; Received: from andrew by vps0.lunn.ch with local (Exim 4.93) (envelope-from ) id 1jPojO-003TLN-2J; Sat, 18 Apr 2020 16:46:06 +0200 Date: Sat, 18 Apr 2020 16:46:06 +0200 From: Andrew Lunn To: Calvin Johnson Cc: linux.cj@gmail.com, Jeremy Linton , Andy Shevchenko , Florian Fainelli , Russell King - ARM Linux admin , Cristi Sovaiala , Florin Laurentiu Chiculita , Ioana Ciornei , Madalin Bucur , netdev@vger.kernel.org, Laurentiu Tudor , linux-acpi@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Diana Madalina Craciun , linux-kernel@vger.kernel.org, Varun Sethi , Marcin Wojtas , "Rajesh V . Bikkina" , Pankaj Bansal , Makarand Pawagi , "David S. Miller" Subject: Re: [RFC net-next PATCH v2 1/2] net/fsl: add ACPI support for mdio bus Message-ID: <20200418144606.GG804711@lunn.ch> References: <20200418105432.11233-1-calvin.johnson@oss.nxp.com> <20200418105432.11233-2-calvin.johnson@oss.nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200418105432.11233-2-calvin.johnson@oss.nxp.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > - ret = of_mdiobus_register(bus, np); So this is the interesting part. What you really want to be doing is adding a device_mdiobus_register(bus, dev) to the core. And it needs to share as much as possible with the of_mdiobus_register() implementation. Andrew