From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755906Ab3JJPaN (ORCPT ); Thu, 10 Oct 2013 11:30:13 -0400 Received: from bear.ext.ti.com ([192.94.94.41]:34197 "EHLO bear.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755750Ab3JJPaJ (ORCPT ); Thu, 10 Oct 2013 11:30:09 -0400 Date: Thu, 10 Oct 2013 10:29:22 -0500 From: Felipe Balbi To: Matt Porter CC: Felipe Balbi , Greg Kroah-Hartman , Rob Herring , Pawel Moll , Mark Rutland , Stephen Warren , Ian Campbell , Christian Daudt , Paul Zimmerman , Linux USB List , Linux ARM Kernel List , Linux Kernel Mailing List , Devicetree List , Linaro Patches Subject: Re: [PATCH 2/5] usb: gadget: s3c-hsotg: support configurable UTMI PHY width Message-ID: <20131010152922.GF28375@radagast> Reply-To: References: <1381140752-312-1-git-send-email-matt.porter@linaro.org> <1381140752-312-3-git-send-email-matt.porter@linaro.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="TU+u6i6jrDPzmlWF" Content-Disposition: inline In-Reply-To: <1381140752-312-3-git-send-email-matt.porter@linaro.org> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --TU+u6i6jrDPzmlWF Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Oct 07, 2013 at 06:12:29AM -0400, Matt Porter wrote: > Extend dwc2 binding with an optional utmi phy width property. > Enable the s3c-hsotg.c driver to use standard dwc2 binding > and enable configuration of the UTMI phy width based on the > property. >=20 > Signed-off-by: Matt Porter > Reviewed-by: Markus Mayer > Reviewed-by: Tim Kryger > --- > Documentation/devicetree/bindings/staging/dwc2.txt | 4 ++++ > drivers/usb/gadget/s3c-hsotg.c | 18 ++++++++++++++++= +- > drivers/usb/gadget/s3c-hsotg.h | 1 + > 3 files changed, 22 insertions(+), 1 deletion(-) >=20 > diff --git a/Documentation/devicetree/bindings/staging/dwc2.txt b/Documen= tation/devicetree/bindings/staging/dwc2.txt > index 1a1b7cf..fb6b8ee 100644 > --- a/Documentation/devicetree/bindings/staging/dwc2.txt > +++ b/Documentation/devicetree/bindings/staging/dwc2.txt > @@ -6,10 +6,14 @@ Required properties: > - reg : Should contain 1 register range (address and length) > - interrupts : Should contain 1 interrupt > =20 > +Optional properties: > +- snps,phy-utmi-width: Must contain the UTMI data width (either 8 or 16) isn't this available in any of the configuration registers ? > Example: > =20 > usb@101c0000 { > compatible =3D "ralink,rt3050-usb, snps,dwc2"; > reg =3D <0x101c0000 40000>; > interrupts =3D <18>; > + snps,phy-utmi-width =3D <8>; indentation. --=20 balbi --TU+u6i6jrDPzmlWF Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iQIcBAEBAgAGBQJSVsfSAAoJEIaOsuA1yqRELPIP/Ajde/LDQlr3ObNPEJ3yIC6L 3ZtjPtRK5d1lmIxRhTCm6y2s7ejFnRpze+wUkoVtNtsoC64CX1U3DZKUHO1jnppD Tr26t1M3/Ya2vfK/be3+Oo4NV8fk2LAnJupWNTdSRkdpU0qB4GPqnviI+BUGLZG0 epl7C3dJKpAAvi8WETeBSRjji0foQ5OChu4xFeOOHwWkcxQyj3nnuNYCobIFYghV vx18+1lsr9q1fuI7VB2kLP2EAPUEZ5LISXlI4kKVBuD5D6WpVuTaK5JyGoSWiiJt 83+IBUjxSMevjLLPZyDRc1BNu4gEW5GnS4+L3PkpRkMtJvCP8lZa/YBug8ZQdMo7 /lBSZi+g1RyYBsxcKAi979AsmYQZEb7AzQyufqeza37nbxvwtOEuidBgoLBWmc23 YyZQHCCkMjx8hhdbCiF9zU9J3LO7SoP3KPReUDQf//jZZkd889tb5JGSVBYpyv2/ aq7gxILRDpJxyEai0EkRU2/ZN3LV7y7kUUgdNHA6LxNrglOvIkaPCWgiRy/Znoic fRLzpS3Y5qJatCF8F52a5l8jwKCVUVw/GElY8fqbgSEuxYveGc3HqZWoX/BJrHWq 6TWDqXijKt9dDbI5TIS31f0ZiBqChhceFBHcxSEakXM7NktBffjbaIWshaQUVn/t CF8otXjmJ4IkSHwwMGC4 =kyS7 -----END PGP SIGNATURE----- --TU+u6i6jrDPzmlWF-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Felipe Balbi Subject: Re: [PATCH 2/5] usb: gadget: s3c-hsotg: support configurable UTMI PHY width Date: Thu, 10 Oct 2013 10:29:22 -0500 Message-ID: <20131010152922.GF28375@radagast> References: <1381140752-312-1-git-send-email-matt.porter@linaro.org> <1381140752-312-3-git-send-email-matt.porter@linaro.org> Reply-To: balbi@ti.com Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5639761850916314332==" Return-path: In-Reply-To: <1381140752-312-3-git-send-email-matt.porter@linaro.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=m.gmane.org@lists.infradead.org To: Matt Porter Cc: Mark Rutland , Devicetree List , Linux USB List , Stephen Warren , Pawel Moll , Ian Campbell , Greg Kroah-Hartman , Christian Daudt , Linux Kernel Mailing List , Rob Herring , Felipe Balbi , Linaro Patches , Paul Zimmerman , Linux ARM Kernel List List-Id: devicetree@vger.kernel.org --===============5639761850916314332== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="TU+u6i6jrDPzmlWF" Content-Disposition: inline --TU+u6i6jrDPzmlWF Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Oct 07, 2013 at 06:12:29AM -0400, Matt Porter wrote: > Extend dwc2 binding with an optional utmi phy width property. > Enable the s3c-hsotg.c driver to use standard dwc2 binding > and enable configuration of the UTMI phy width based on the > property. >=20 > Signed-off-by: Matt Porter > Reviewed-by: Markus Mayer > Reviewed-by: Tim Kryger > --- > Documentation/devicetree/bindings/staging/dwc2.txt | 4 ++++ > drivers/usb/gadget/s3c-hsotg.c | 18 ++++++++++++++++= +- > drivers/usb/gadget/s3c-hsotg.h | 1 + > 3 files changed, 22 insertions(+), 1 deletion(-) >=20 > diff --git a/Documentation/devicetree/bindings/staging/dwc2.txt b/Documen= tation/devicetree/bindings/staging/dwc2.txt > index 1a1b7cf..fb6b8ee 100644 > --- a/Documentation/devicetree/bindings/staging/dwc2.txt > +++ b/Documentation/devicetree/bindings/staging/dwc2.txt > @@ -6,10 +6,14 @@ Required properties: > - reg : Should contain 1 register range (address and length) > - interrupts : Should contain 1 interrupt > =20 > +Optional properties: > +- snps,phy-utmi-width: Must contain the UTMI data width (either 8 or 16) isn't this available in any of the configuration registers ? > Example: > =20 > usb@101c0000 { > compatible =3D "ralink,rt3050-usb, snps,dwc2"; > reg =3D <0x101c0000 40000>; > interrupts =3D <18>; > + snps,phy-utmi-width =3D <8>; indentation. --=20 balbi --TU+u6i6jrDPzmlWF Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iQIcBAEBAgAGBQJSVsfSAAoJEIaOsuA1yqRELPIP/Ajde/LDQlr3ObNPEJ3yIC6L 3ZtjPtRK5d1lmIxRhTCm6y2s7ejFnRpze+wUkoVtNtsoC64CX1U3DZKUHO1jnppD Tr26t1M3/Ya2vfK/be3+Oo4NV8fk2LAnJupWNTdSRkdpU0qB4GPqnviI+BUGLZG0 epl7C3dJKpAAvi8WETeBSRjji0foQ5OChu4xFeOOHwWkcxQyj3nnuNYCobIFYghV vx18+1lsr9q1fuI7VB2kLP2EAPUEZ5LISXlI4kKVBuD5D6WpVuTaK5JyGoSWiiJt 83+IBUjxSMevjLLPZyDRc1BNu4gEW5GnS4+L3PkpRkMtJvCP8lZa/YBug8ZQdMo7 /lBSZi+g1RyYBsxcKAi979AsmYQZEb7AzQyufqeza37nbxvwtOEuidBgoLBWmc23 YyZQHCCkMjx8hhdbCiF9zU9J3LO7SoP3KPReUDQf//jZZkd889tb5JGSVBYpyv2/ aq7gxILRDpJxyEai0EkRU2/ZN3LV7y7kUUgdNHA6LxNrglOvIkaPCWgiRy/Znoic fRLzpS3Y5qJatCF8F52a5l8jwKCVUVw/GElY8fqbgSEuxYveGc3HqZWoX/BJrHWq 6TWDqXijKt9dDbI5TIS31f0ZiBqChhceFBHcxSEakXM7NktBffjbaIWshaQUVn/t CF8otXjmJ4IkSHwwMGC4 =kyS7 -----END PGP SIGNATURE----- --TU+u6i6jrDPzmlWF-- --===============5639761850916314332== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel --===============5639761850916314332==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: balbi@ti.com (Felipe Balbi) Date: Thu, 10 Oct 2013 10:29:22 -0500 Subject: [PATCH 2/5] usb: gadget: s3c-hsotg: support configurable UTMI PHY width In-Reply-To: <1381140752-312-3-git-send-email-matt.porter@linaro.org> References: <1381140752-312-1-git-send-email-matt.porter@linaro.org> <1381140752-312-3-git-send-email-matt.porter@linaro.org> Message-ID: <20131010152922.GF28375@radagast> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Mon, Oct 07, 2013 at 06:12:29AM -0400, Matt Porter wrote: > Extend dwc2 binding with an optional utmi phy width property. > Enable the s3c-hsotg.c driver to use standard dwc2 binding > and enable configuration of the UTMI phy width based on the > property. > > Signed-off-by: Matt Porter > Reviewed-by: Markus Mayer > Reviewed-by: Tim Kryger > --- > Documentation/devicetree/bindings/staging/dwc2.txt | 4 ++++ > drivers/usb/gadget/s3c-hsotg.c | 18 +++++++++++++++++- > drivers/usb/gadget/s3c-hsotg.h | 1 + > 3 files changed, 22 insertions(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/staging/dwc2.txt b/Documentation/devicetree/bindings/staging/dwc2.txt > index 1a1b7cf..fb6b8ee 100644 > --- a/Documentation/devicetree/bindings/staging/dwc2.txt > +++ b/Documentation/devicetree/bindings/staging/dwc2.txt > @@ -6,10 +6,14 @@ Required properties: > - reg : Should contain 1 register range (address and length) > - interrupts : Should contain 1 interrupt > > +Optional properties: > +- snps,phy-utmi-width: Must contain the UTMI data width (either 8 or 16) isn't this available in any of the configuration registers ? > Example: > > usb at 101c0000 { > compatible = "ralink,rt3050-usb, snps,dwc2"; > reg = <0x101c0000 40000>; > interrupts = <18>; > + snps,phy-utmi-width = <8>; indentation. -- balbi -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: