From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Rutland Subject: Re: [PATCH V6 03/12] phy: st-miphy40lp: Add binding information Date: Wed, 12 Feb 2014 18:20:12 +0000 Message-ID: <20140212182012.GC23630@e106331-lin.cambridge.arm.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Mohit Kumar Cc: "arnd-r2nGTMty4D4@public.gmane.org" , Pratyush Anand , Viresh Kumar , Kishon Vijay Abraham I , "spear-devel-nkJGhpqTU55BDgjK7y7TUQ@public.gmane.org" , "devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" List-Id: devicetree@vger.kernel.org On Tue, Feb 11, 2014 at 09:29:59AM +0000, Mohit Kumar wrote: > From: Pratyush Anand > > ST miphy40lp can be used with PCIe, SATA and Super Speed USB > controllers. SPEAr13XX SoCs use this phy for PCIe and SATA. > > Signed-off-by: Pratyush Anand > Cc: Mohit Kumar > Cc: Arnd Bergmann > Cc: Viresh Kumar > Cc: Kishon Vijay Abraham I > Cc: spear-devel-nkJGhpqTU55BDgjK7y7TUQ@public.gmane.org > Cc: devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org > --- > .../devicetree/bindings/phy/st-miphy40lp.txt | 18 ++++++++++++++++++ > 1 files changed, 18 insertions(+), 0 deletions(-) > create mode 100644 Documentation/devicetree/bindings/phy/st-miphy40lp.txt > > diff --git a/Documentation/devicetree/bindings/phy/st-miphy40lp.txt b/Documentation/devicetree/bindings/phy/st-miphy40lp.txt > new file mode 100644 > index 0000000..1c8d04c > --- /dev/null > +++ b/Documentation/devicetree/bindings/phy/st-miphy40lp.txt > @@ -0,0 +1,18 @@ > +ST miphy40lp DT detail > +=================================== > + > +miphy40lp is a phy controller from ST Microelectronics which supports PCIe, > +SATA and Super Speed USB host and devices. It has been used in SPEAr13xx SOCs. > + > +Required properties: > +- compatible : should be "st,miphy40lp-phy" > + Other supported soc specific compatible: > + "st,spear1310-miphy" > + "st,spear1340-miphy" > +- reg : offset and length of the PHY register set. > +- misc: phandle for the syscon node to access misc registers This is very vague. What is this used for? > +- phy-id: Instance id of the phy. > +- #phy-cells : from the generic PHY bindings, must be 1. > + - 1st cell: phandle to the phy node. > + - 2nd cell: 0 if phy (in 1st cell) is to be used for SATA, 1 for PCIe > + and 2 for Super Speed USB. One cell or two? Thanks, Mark. -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html