From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752086AbdJEWWT (ORCPT ); Thu, 5 Oct 2017 18:22:19 -0400 Received: from vps0.lunn.ch ([185.16.172.187]:42140 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751395AbdJEWWS (ORCPT ); Thu, 5 Oct 2017 18:22:18 -0400 Date: Fri, 6 Oct 2017 00:21:59 +0200 From: Andrew Lunn To: Rob Herring Cc: Florian Fainelli , Corentin Labbe , mark.rutland@arm.com, maxime.ripard@free-electrons.com, wens@csie.org, linux@armlinux.org.uk, catalin.marinas@arm.com, will.deacon@arm.com, peppe.cavallaro@st.com, alexandre.torgue@st.com, frowand.list@gmail.com, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com Subject: Re: [PATCH v6 11/11] of: mdio: Prevent of_mdiobus_register from scanning mdio-mux nodes Message-ID: <20171005222159.GO13247@lunn.ch> References: <20170927073414.17361-1-clabbe.montjoie@gmail.com> <20170927073414.17361-12-clabbe.montjoie@gmail.com> <20170927141213.GF13516@lunn.ch> <20171005220927.7rabn3ftvow253xj@rob-hp-laptop> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20171005220927.7rabn3ftvow253xj@rob-hp-laptop> 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 > Looking at this some more, why can't mdio-mux-mmio be used? Hi Rob That was my first thought. And then i dug into the details. The mux is more than just a couple of bits in an address space. Clocks needs to be enabled/disabled, and the MAC needs a reset, when the mux changes. So the mux needs intimate knowledge of MAC. Andrew