Message ID | 1464701801-17243-3-git-send-email-pramod.kumar@broadcom.com |
---|---|
State | Changes Requested, archived |
Headers | show |
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 <pramod.kumar@broadcom.com> > --- > 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 > -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
On Thu, Jun 02, 2016 at 06:27:03PM -0500, Rob Herring wrote: > 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 <pramod.kumar@broadcom.com> > > --- > > 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? He is moving it to optional. The mdio-mux-mmio and mdio-mux-gpio do however use it, which follow this binding. Andrew -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
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. +- 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>;
This property is used by integrated MDIO multiplexer which has bus selection and mdio transaction generation logic, integrated inside. Signed-off-by: Pramod Kumar <pramod.kumar@broadcom.com> --- Documentation/devicetree/bindings/net/mdio-mux.txt | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-)