Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp817489ybl; Fri, 31 Jan 2020 08:29:32 -0800 (PST) X-Google-Smtp-Source: APXvYqy76aNbYU2Ei0W4cc+MWE3DsBMxrLRuY7kHdquyktO7CNMlSqulgG9RN5uuX3Bh+cago8h4 X-Received: by 2002:aca:ddc2:: with SMTP id u185mr7087464oig.24.1580488172209; Fri, 31 Jan 2020 08:29:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580488172; cv=none; d=google.com; s=arc-20160816; b=RlLFEEXw1DOPuqR3dnuDVWd07iiMKJyC+5ZxL3xHP620yHp+G7AFRe4fCngK1eOh3X subEf7xsGy6kxR3nHB/E/BRQ9+gmd1XB8BHlcnJeDuDYBD9v1oGjnaPjKtbq56d2KA+e BEz7YdG8qc+FruZdYjZvIViWVnqNBWSJxQUm6GjsdAiRDY57kzSlqrF9PC6LVnkztm/x TMneJzEwDJ4Y/jHbCV0JxvSI+CL/Km+sqSjyF6VjBhPhB3hB7sZVLFhtT6GSRwODVBOB suRnpVuJiUjy2c+M685aP8FNTmkbjERSAAYGJuNuWkYJJBY9NTk10AS0zNua5XlGJDm6 392w== 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=Gg4n82nFEGI/sYDjX2Y3BWaIREh/CzsvHXg7cg78LlE=; b=lR6BWasecSsX/4OQeudICVAmcgjJ107qjqQjvPrUO/O4wEPzrDZviGZBAwuHjMTRtI h7CiTCfYFHy02ZVflv7nJCvJU4AtWQwqM84VHuVh367Lw1Yz0H5CIHQHjQyLhqjwiYD0 4bdeR4MxfYeQzMBWbkVrlYGuZjhHSspXmDnAZTiqHbKhgC5Rjz2wy75CWxTNAUvOlBaP dAGbWwEr2Z/XF0y9ogfsnOncvgFWa8nSRRJCyHmoFwH5QyyJZuafrgBaTSMT9r1cNcKY /ffyzBuBIvoourMai78YgZo5+EdYaBdun929vdUxK4wtqiupUhlusfiXPUqEQf5icH7d L+vA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@lunn.ch header.s=20171124 header.b=Hq9oGDGl; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k1si4609456oic.245.2020.01.31.08.29.19; Fri, 31 Jan 2020 08:29:32 -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=fail header.i=@lunn.ch header.s=20171124 header.b=Hq9oGDGl; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726518AbgAaQ21 (ORCPT + 99 others); Fri, 31 Jan 2020 11:28:27 -0500 Received: from vps0.lunn.ch ([185.16.172.187]:60336 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726168AbgAaQ20 (ORCPT ); Fri, 31 Jan 2020 11:28:26 -0500 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=Gg4n82nFEGI/sYDjX2Y3BWaIREh/CzsvHXg7cg78LlE=; b=Hq9oGDGlX1a78c8stzsviEv0m2 m0svDk0afLBmXZGKqTYlsfWvPQ/IycHZo0b/bDYaiSgedtESdLv44Indo9DsaMBB5nZM/cYzZYsBV 6c2P9bbDgP+TtLAalb/PLFFE27rrwtGHfubSdlBidZEmaa1vNOErEq1/QWUdbVswwJok=; Received: from andrew by vps0.lunn.ch with local (Exim 4.93) (envelope-from ) id 1ixZ9S-0008EI-Sv; Fri, 31 Jan 2020 17:28:14 +0100 Date: Fri, 31 Jan 2020 17:28:14 +0100 From: Andrew Lunn To: Calvin Johnson Cc: linux.cj@gmail.com, Jon Nettleton , linux@armlinux.org.uk, Makarand Pawagi , cristian.sovaiala@nxp.com, laurentiu.tudor@nxp.com, ioana.ciornei@nxp.com, V.Sethi@nxp.com, pankaj.bansal@nxp.com, "Rajesh V . Bikkina" , Marcin Wojtas , Calvin Johnson , "David S. Miller" , Florian Fainelli , Heiner Kallweit , linux-kernel@vger.kernel.org, netdev@vger.kernel.org Subject: Re: [PATCH v1 1/7] mdio_bus: Introduce fwnode MDIO helpers Message-ID: <20200131162814.GB17185@lunn.ch> References: <20200131153440.20870-1-calvin.johnson@nxp.com> <20200131153440.20870-2-calvin.johnson@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200131153440.20870-2-calvin.johnson@nxp.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jan 31, 2020 at 09:04:34PM +0530, Calvin Johnson wrote: > From: Marcin Wojtas > > This patch introduces fwnode helper for registering MDIO > bus, as well as one for finding the PHY, basing on its > firmware node pointer. Comparing to existing OF equivalent, > fwnode_mdiobus_register() does not support: > * deprecated bindings (device whitelist, nor the PHY ID embedded > in the compatible string) > * MDIO bus auto scanning > > Signed-off-by: Marcin Wojtas > Signed-off-by: Calvin Johnson Hi Calvin This appears to but a cut and paste, follow by an intelligent s/of/fwnode/g. Did you make any attempt to consolidate the two implementations? It seems like there should be some level of abstraction that hides away the difference between DT properties, and DT properties stuffed into ACPI tables? Andrew