Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752359AbdHSUiz (ORCPT ); Sat, 19 Aug 2017 16:38:55 -0400 Received: from vps0.lunn.ch ([178.209.37.122]:35922 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751586AbdHSUiw (ORCPT ); Sat, 19 Aug 2017 16:38:52 -0400 Date: Sat, 19 Aug 2017 22:38:36 +0200 From: Andrew Lunn To: Corentin Labbe Cc: Chen-Yu Tsai , Rob Herring , Mark Rutland , Russell King , Maxime Ripard , Giuseppe Cavallaro , Alexandre Torgue , devicetree , linux-arm-kernel , linux-kernel , netdev Subject: Re: [PATCH v3 3/4] net: stmmac: register parent MDIO node for sun8i-h3-emac Message-ID: <20170819203836.GA21567@lunn.ch> References: <20170818122118.4925-1-clabbe.montjoie@gmail.com> <20170818122118.4925-4-clabbe.montjoie@gmail.com> <20170819185025.GB13266@Red> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170819185025.GB13266@Red> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 624 Lines: 19 On Sat, Aug 19, 2017 at 08:50:25PM +0200, Corentin Labbe wrote: > On Sat, Aug 19, 2017 at 01:05:21AM +0800, Chen-Yu Tsai wrote: > > On Fri, Aug 18, 2017 at 8:21 PM, Corentin Labbe > > wrote: > > > In case of a MDIO switch, the registered MDIO node should be > > > the parent of the PHY. Otherwise of_phy_connect will fail. Hi Corentin Sorry, I missed this patch series. Looking at patchwork... Can you represent the MDIO mux using Documentation/devicetree/bindings/net/mdio-mux-mmioreg.txt It would be better if you could reuse existing infrastructure than invent something new. Andrew