From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933168AbcFBX1J (ORCPT ); Thu, 2 Jun 2016 19:27:09 -0400 Received: from mail-oi0-f65.google.com ([209.85.218.65]:35378 "EHLO mail-oi0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753001AbcFBX1F (ORCPT ); Thu, 2 Jun 2016 19:27:05 -0400 Date: Thu, 2 Jun 2016 18:27:03 -0500 From: Rob Herring To: Pramod Kumar Cc: Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Catalin Marinas , Will Deacon , Kishon Vijay Abraham I , "David S. Miller" , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, bcm-kernel-feedback-list@broadcom.com, linux-kernel@vger.kernel.org, netdev@vger.kernel.org Subject: Re: [PATCH v2 2/7] DT: phy.txt: Add mdio-integrated-mux property Message-ID: <20160602232703.GA17619@rob-hp-laptop> References: <1464701801-17243-1-git-send-email-pramod.kumar@broadcom.com> <1464701801-17243-3-git-send-email-pramod.kumar@broadcom.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1464701801-17243-3-git-send-email-pramod.kumar@broadcom.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, May 31, 2016 at 07:06:36PM +0530, Pramod Kumar wrote: > This property is used by integrated MDIO multiplexer > which has bus selection and mdio transaction generation logic, > integrated inside. > > Signed-off-by: Pramod Kumar > --- > Documentation/devicetree/bindings/net/mdio-mux.txt | 9 ++++++++- > 1 file changed, 8 insertions(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/net/mdio-mux.txt b/Documentation/devicetree/bindings/net/mdio-mux.txt > index 491f5bd..b5ad83e 100644 > --- a/Documentation/devicetree/bindings/net/mdio-mux.txt > +++ b/Documentation/devicetree/bindings/net/mdio-mux.txt > @@ -5,13 +5,20 @@ numbered uniquely in a device dependent manner. The nodes for an MDIO > bus multiplexer/switch will have one child node for each child bus. > > Required properties: > -- mdio-parent-bus : phandle to the parent MDIO bus. > - #address-cells = <1>; > - #size-cells = <0>; > > Optional properties: > +- mdio-parent-bus : phandle to the parent MDIO bus. Should be used > + if parent mdio bus is not part of multiplexer. You don't appear to be using this. When would you? > +- mdio-integrated-mux: boolean property indicateing that the hardware > + is an integrated multiplex supporting muxed bus selection > + and MDIO transaction logic generation. > - Other properties specific to the multiplexer/switch hardware. > > +Note: one of mdio-parent-bus and mdio-integrated-mux is mandatory to > +get parent bus regsitered. > + > Required properties for child nodes: > - #address-cells = <1>; > - #size-cells = <0>; > -- > 1.9.1 >