From mboxrd@z Thu Jan 1 00:00:00 1970 From: Felipe Balbi Subject: Re: [PATCH 1/5 v7] dt/bindings: Add binding for the DA8xx MUSB driver Date: Wed, 24 Feb 2016 17:40:43 +0200 Message-ID: <87egc2jev8.fsf@ti.com> References: <1456327573-16421-1-git-send-email-petr@barix.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Return-path: In-Reply-To: <1456327573-16421-1-git-send-email-petr-Qh/3xLP0EvwAvxtiuMwx3w@public.gmane.org> Sender: linux-usb-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Bin Liu Cc: robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org, pawel.moll-5wv7dgnIgG8@public.gmane.org, mark.rutland-5wv7dgnIgG8@public.gmane.org, ijc+devicetree-KcIKpvwj1kUDXYZnReoRVg@public.gmane.org, galak-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org, petr-Qh/3xLP0EvwAvxtiuMwx3w@public.gmane.org, linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, sergei.shtylyov-M4DtvfQ/ZS1MRgGoP+s0PdBPR1lH4CV8@public.gmane.org List-Id: devicetree@vger.kernel.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi, Petr Kulhavy writes: > DT binding for the TI DA8xx/OMAP-L1x/AM17xx/AM18xx MUSB driver. > > Signed-off-by: Petr Kulhavy Bin, another one to take a look. > --- > v1: > > v2: > - using standard properties "dr_mode", "mentor,power", "mentor,num-eps",= "mentor,multipoint", "mentor,ram-bits" > - using "ti," prefix instead of "da8xx," for specific property names > - no wildcards in compatibility string > > v3: > - added "reg", "interrupts" and "interrupt-names" properties > - wildcards in compatibility string > > v4: > - compatibility string set to "ti,da830-musb" > - "mentor,num-eps", "mentor,multipoint", "mentor,ram-bits" properties re= moved and hardcoded > - "ti,phy20-clkmux-cfg" renamed to "ti,phy20-clkmux-pll" and changed to = boolean > - removed "ti,hwmods" > > v5: > - "ti,phy20-refclock-frequency" property made mandatory > > v6: > - using "ti,usb2-phy-" prefix instead of "ti,phy20-" for the specific pr= operties > > v7: > - removed the "mentor,power" property; hard coded to 500mA in the code > > .../devicetree/bindings/usb/da8xx-usb.txt | 43 ++++++++++++++++= ++++++ > 1 file changed, 43 insertions(+) > create mode 100644 Documentation/devicetree/bindings/usb/da8xx-usb.txt > > diff --git a/Documentation/devicetree/bindings/usb/da8xx-usb.txt b/Docume= ntation/devicetree/bindings/usb/da8xx-usb.txt > new file mode 100644 > index 0000000..e281829 > --- /dev/null > +++ b/Documentation/devicetree/bindings/usb/da8xx-usb.txt > @@ -0,0 +1,43 @@ > +TI DA8xx MUSB > +~~~~~~~~~~~~~ > +For DA8xx/OMAP-L1x/AM17xx/AM18xx platforms. > + > +Required properties: > +~~~~~~~~~~~~~~~~~~~~ > + - compatible : Should be set to "ti,da830-musb". > + > + - reg: Offset and length of the USB controller register set. > + > + - interrupts: The USB interrupt number. > + > + - interrupt-names: Should be set to "mc". > + > + - dr_mode: The USB operation mode. Should be one of "host", "peripheral= " or "otg". > + > + - ti,usb2-phy-refclock-frequency : Integer. Defines the USB 2.0 PHY ref= erence clock input > + frequency in Hz in case the clock is generated by the internal PLL. > + Supported values are 12MHz, 13MHz, 19.2MHz, 20MHz, 24MHz, 26MHz, 38= .4MHz, 40MHz, 48MHz > + > + > +Optional properties: > +~~~~~~~~~~~~~~~~~~~~ > + - ti,usb2-phy-clkmux-pll: Boolean. Defines the USB 2.0 PHY reference cl= ock source. > + If present the internal PLL is used as a clock source, otherwise th= e external > + USB_REFCLKIN pin is used. > + > +Example: > + > + usb20: usb@1e00000 { > + compatible =3D "ti,da830-musb"; > + reg =3D <0x00200000 0x10000>; > + interrupt-parent =3D <&intc>; > + interrupts =3D <58>; > + interrupt-names =3D "mc"; > + > + dr_mode =3D "host"; > + > + ti,usb2-phy-clkmux-pll; > + ti,usb2-phy-refclock-frequency =3D <24000000>; > + > + status =3D "okay"; > + }; > -- > 1.9.1 > > -- > To unsubscribe from this list: send the line "unsubscribe linux-usb" in > the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org > More majordomo info at http://vger.kernel.org/majordomo-info.html =2D-=20 balbi --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJWzc78AAoJEIaOsuA1yqRE8xQP/1g0NqWZakqTjkzQDHYG05RJ acLytKjP01trwbKFLA1Cb2GX0ZRRjG89tM3R80CuTT+kxLNNu1n7rUeluNfhGoMd zxpLwxz3anLLuLKI7sAB8NLVooN4NQftEawfGtRahQqqBaCPKlwkB4U30Tesv5Bs ecBRSZV1kZXAy7mISarlPh8lRcUIU2jjUFdabqBKoL6llG4Q8GT1AH0u2O8DbrnC IrY81jiL/48bPXeIpVIrXJLEV1PLAxrFhCn0sVUGY4iiYFyUOTS118N8fPd/Bs6J 7XZk2D+YFv34IY/kRz9CiCl9C1DVU/n23BT27rjBWObkt42n8R+0Ww6Hlmw2FtEa ju4aCVVRCwQWgfim6qQdPnvkE+x5SDq99cVweFquh1sN8/mIOoDijuUSAtou+ibh RnMAiqsPepB3VNa2gqVW38r1MGSVw1I8GbPLif4duwypSvxNDLba70ZPOlQab2MX DyDE3pqPTDXdgCeFKi3i26VgQx1OFXEfholug7BEcdGsKzvL2RiKuZ1h02LUBKMH ucectzadqtHMAGzGiL140YLwxDMotg8NJ4tiXvLLRfxM2h119RI4DS1lIeaJ52sk +P8ke1WxjG0FzWr+YIbz9Quq+TSFgQqbdS7gRF+/zuMfqYDa15SfvTksJp3lWyhy f09Z+/QJEDoNzk2R67aJ =lS4O -----END PGP SIGNATURE----- --=-=-=-- -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html