Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp1153645yba; Fri, 26 Apr 2019 15:13:39 -0700 (PDT) X-Google-Smtp-Source: APXvYqyRZvnRWazby5/qsVivRUJwiXWp73b5AFFncF6NY0RKRdFIfPYfaCsMNcXoU5+Dgg8P3tzu X-Received: by 2002:a17:902:b595:: with SMTP id a21mr8463163pls.13.1556316819351; Fri, 26 Apr 2019 15:13:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556316819; cv=none; d=google.com; s=arc-20160816; b=QgUT4+6LP6JziIcZs8pq8i5pBJJ+HLu0qeYPZemcVW1Dw5VTlKAgSBjBh7Q96UK7L+ gaocA9w7QT4CoB+Uqoh/WqCbZj1R+A5ZlfKzlo3kkm7koqnsmzM3POhssO6dT4Xw2H7w cG1hDvzb1IoMwC1u85eNcuChRGEy1jeJdNJaSENYx7V/Or0w7DZeTp8wy+6+69GTubiG nZX8q97x/3HKAGmnR0BF5NR/tagED634hjywbHxU9agBKKKSg4i7A+qPAW9uFfP4QKCJ sQ1w4jh26nnEO9vWG5tjssg+jaHn+HkvfYTUKw4QKxubxAogCIMB3EOpLchuZILnPjq9 IqTw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=ToePr+rdlhjeTYkBh742gtporvEJZI5OcYXuqgjiTnE=; b=MfuhAVN0iWnknxNkK2opEUZN4EUHT4RL5PRUMosIMzB+D2iS3CvqRYVT+sdnCK0d83 q7VTaJsveq44Os17U4SzDjcXdAic/jTTq8o+dc+yJjYi4qJNKyGabH23pldqKFnienPy GISa+ULDw2pXp0AwsSr+AOOAAeBIKlTTgWVazw0kN1l7EyEwwjZdBg0/DvKnMHDT1Fbf IBUMFPsuqq6rD+agdZEOgdXM/VkbauuXN6cMOg4ZC9KBYAFeDBcH8WOTeOSMGsi6Dhnf 6tZTqAb1hrV8rYoNQLL3Dfk43CqtKL2C2MyaNV7FQcdASxsOvdJfLkVfKmZzVZsoQNm3 bkqA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@lunn.ch header.s=20171124 header.b=FH8+Zt+f; 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 b8si27699861pla.153.2019.04.26.15.13.24; Fri, 26 Apr 2019 15:13:39 -0700 (PDT) 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=FH8+Zt+f; 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 S1727071AbfDZWMg (ORCPT + 99 others); Fri, 26 Apr 2019 18:12:36 -0400 Received: from vps0.lunn.ch ([185.16.172.187]:46281 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726696AbfDZWMf (ORCPT ); Fri, 26 Apr 2019 18:12:35 -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=ToePr+rdlhjeTYkBh742gtporvEJZI5OcYXuqgjiTnE=; b=FH8+Zt+fDFd6vtGYw7qvfbgfW7 WoWesmYq2bOeXgxLqHbpnVmoteXlvzHvyb6RDY2QjydF7Z6ShgGv7ae5eRRSAcOT1quNTXKOiLNWV rt+lmrx5J7FliFhY2pE7p0LPUvzAfDkAtxCUZ2MpRx2Cx7JVaAI3TTLwPJfGqCfaHNaY=; Received: from andrew by vps0.lunn.ch with local (Exim 4.89) (envelope-from ) id 1hK956-0006Kd-7R; Sat, 27 Apr 2019 00:12:32 +0200 Date: Sat, 27 Apr 2019 00:12:32 +0200 From: Andrew Lunn To: Grygorii Strashko Cc: netdev@vger.kernel.org, Ilias Apalodimas , "David S . Miller" , Ivan Khoronzhuk , Florian Fainelli , Sekhar Nori , linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org, Murali Karicheri Subject: Re: [PATCH net-next v2 13/20] net: ethernet: ti: davinci_mdio: use devm_ioremap() Message-ID: <20190426221232.GF23059@lunn.ch> References: <1556298762-8632-1-git-send-email-grygorii.strashko@ti.com> <1556298762-8632-14-git-send-email-grygorii.strashko@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1556298762-8632-14-git-send-email-grygorii.strashko@ti.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Apr 26, 2019 at 08:12:35PM +0300, Grygorii Strashko wrote: > The Davinci MDIO in most of the case implemented as module inside of TI > CPSW subsystem and fully depends on CPSW to be enabled, but historically > it's implemented as separate Platform device/driver and defined in DT files > in two ways: > - as standalone node > - as child node of CPSW subsystem. > > In later case it's required to split CPSW subsystem "reg" property to > exclude MDIO I/O range which is not useful. > > Hence, replace devm_ioremap_resource() with devm_ioremap() to allow define > full I/O range in parent CPSW subsystem without spliting. > > Signed-off-by: Grygorii Strashko Reviewed-by: Andrew Lunn Andrew