From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1161135AbaDTDY6 (ORCPT ); Sat, 19 Apr 2014 23:24:58 -0400 Received: from devils.ext.ti.com ([198.47.26.153]:37520 "EHLO devils.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1161029AbaDTDYu (ORCPT ); Sat, 19 Apr 2014 23:24:50 -0400 Date: Sat, 19 Apr 2014 22:21:59 -0500 From: Felipe Balbi To: Gregory CLEMENT CC: Mathias Nyman , Greg Kroah-Hartman , , , Jason Cooper , Andrew Lunn , Sebastian Hesselbarth , Thomas Petazzoni , Ezequiel Garcia , , Lior Amsalem , Tawfik Bayouk , Nadav Haklai , Grant Likely , Rob Herring , Subject: Re: [PATCH 3/8] xhci-platform: Add a new controller using xhci: Armada 38x Message-ID: <20140420032159.GC26893@saruman.home> Reply-To: References: <1397816563-9000-1-git-send-email-gregory.clement@free-electrons.com> <1397816563-9000-4-git-send-email-gregory.clement@free-electrons.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Y5rl02BVI9TCfPar" Content-Disposition: inline In-Reply-To: <1397816563-9000-4-git-send-email-gregory.clement@free-electrons.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --Y5rl02BVI9TCfPar Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Apr 18, 2014 at 12:22:38PM +0200, Gregory CLEMENT wrote: > Extend the compatible string list with xhci-armada-380. It is used to > describe xhci controller which is in the Armada 38x SoCs. >=20 > Signed-off-by: Gregory CLEMENT > --- > Documentation/devicetree/bindings/usb/usb-xhci.txt | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) >=20 > diff --git a/Documentation/devicetree/bindings/usb/usb-xhci.txt b/Documen= tation/devicetree/bindings/usb/usb-xhci.txt > index 90f8f607d125..c49c14037afe 100644 > --- a/Documentation/devicetree/bindings/usb/usb-xhci.txt > +++ b/Documentation/devicetree/bindings/usb/usb-xhci.txt > @@ -1,7 +1,8 @@ > USB xHCI controllers > =20 > Required properties: > - - compatible: should be "generic-xhci" (deprecated: "xhci-platform"). > + - compatible: should be on of "generic-xhci", should be "one" of. > + "marvell,xhci-armada-380" (deprecated: "xhci-platform"). and this gives me a better idea, instead of using the quirk I suggested before, match against this compatible: if (of_device_is_compatible(dev, "marvell,xhci-armada-380") xhci_marvel_mbus_init_quirk(dev); --=20 balbi --Y5rl02BVI9TCfPar Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJTUz1XAAoJEIaOsuA1yqREYIgQALVyDBue9uvhNyN1mAstkVV1 nAVviGXycW6K8GW/O95ihuRSjsHeqHMxQsWlPzylz1vaWm4mlXIQUg/wvDRESAbI oB3i88CSOI/r+C1b9UnOcMF99oo/upyLp3zKjZKKuAbMjFUwU85UaRhHhYpnprxk rXyGv44eCZIaYQkEtUE+6Mlu7E4KxpdxcpDX6O2AeDh19D3kfQgC63cPQe8UMRFC y64SHcQuRcFr3d+3s32sn/DbNunIZ/+0PK+IVpCpLVyiE622mK4ME7fRAY1ribnf BGMn0jmRQ7ESoMHP5GE1+pWsizqHQOS9umcFR724UsHFoREfDkvR362wk0okxUg5 VmVMMiQTlA3re9OnjYoWFVwrFH5yP1wo5fIDbd4wWk91V6mDus/2Ou1dK13P1xt/ lqGOhyZgVAoJubc1Ti3hwIRf8Pw9Wx6CjQ30prHAAtPc8bZSoDIqpyiaUhlkXI/c kL0CMI5GfuTvS1JVT52Ztff/uRY5z52XXZi9pB0fEKwXvm82bbrJ623+40JOQBfr xE4GCKPHmKQpKvrwQIwO/ozFO0TZrErHCs8y06Jj+ohZDcS8gxbnIZkPZd1Aw15v VNvbckD7mUp/VXcyaFY15JGr70FlurTwD9Em7ZlsvIuvjytB3e8E+WhXCgXNF1Q5 Oe62gHuVQwVd7D1CBcci =fRIf -----END PGP SIGNATURE----- --Y5rl02BVI9TCfPar-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Felipe Balbi Subject: Re: [PATCH 3/8] xhci-platform: Add a new controller using xhci: Armada 38x Date: Sat, 19 Apr 2014 22:21:59 -0500 Message-ID: <20140420032159.GC26893@saruman.home> References: <1397816563-9000-1-git-send-email-gregory.clement@free-electrons.com> <1397816563-9000-4-git-send-email-gregory.clement@free-electrons.com> Reply-To: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Y5rl02BVI9TCfPar" Return-path: Content-Disposition: inline In-Reply-To: <1397816563-9000-4-git-send-email-gregory.clement-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org> Sender: linux-usb-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Gregory CLEMENT Cc: Mathias Nyman , Greg Kroah-Hartman , linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Jason Cooper , Andrew Lunn , Sebastian Hesselbarth , Thomas Petazzoni , Ezequiel Garcia , linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, Lior Amsalem , Tawfik Bayouk , Nadav Haklai , Grant Likely , Rob Herring , devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: devicetree@vger.kernel.org --Y5rl02BVI9TCfPar Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Apr 18, 2014 at 12:22:38PM +0200, Gregory CLEMENT wrote: > Extend the compatible string list with xhci-armada-380. It is used to > describe xhci controller which is in the Armada 38x SoCs. >=20 > Signed-off-by: Gregory CLEMENT > --- > Documentation/devicetree/bindings/usb/usb-xhci.txt | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) >=20 > diff --git a/Documentation/devicetree/bindings/usb/usb-xhci.txt b/Documen= tation/devicetree/bindings/usb/usb-xhci.txt > index 90f8f607d125..c49c14037afe 100644 > --- a/Documentation/devicetree/bindings/usb/usb-xhci.txt > +++ b/Documentation/devicetree/bindings/usb/usb-xhci.txt > @@ -1,7 +1,8 @@ > USB xHCI controllers > =20 > Required properties: > - - compatible: should be "generic-xhci" (deprecated: "xhci-platform"). > + - compatible: should be on of "generic-xhci", should be "one" of. > + "marvell,xhci-armada-380" (deprecated: "xhci-platform"). and this gives me a better idea, instead of using the quirk I suggested before, match against this compatible: if (of_device_is_compatible(dev, "marvell,xhci-armada-380") xhci_marvel_mbus_init_quirk(dev); --=20 balbi --Y5rl02BVI9TCfPar Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJTUz1XAAoJEIaOsuA1yqREYIgQALVyDBue9uvhNyN1mAstkVV1 nAVviGXycW6K8GW/O95ihuRSjsHeqHMxQsWlPzylz1vaWm4mlXIQUg/wvDRESAbI oB3i88CSOI/r+C1b9UnOcMF99oo/upyLp3zKjZKKuAbMjFUwU85UaRhHhYpnprxk rXyGv44eCZIaYQkEtUE+6Mlu7E4KxpdxcpDX6O2AeDh19D3kfQgC63cPQe8UMRFC y64SHcQuRcFr3d+3s32sn/DbNunIZ/+0PK+IVpCpLVyiE622mK4ME7fRAY1ribnf BGMn0jmRQ7ESoMHP5GE1+pWsizqHQOS9umcFR724UsHFoREfDkvR362wk0okxUg5 VmVMMiQTlA3re9OnjYoWFVwrFH5yP1wo5fIDbd4wWk91V6mDus/2Ou1dK13P1xt/ lqGOhyZgVAoJubc1Ti3hwIRf8Pw9Wx6CjQ30prHAAtPc8bZSoDIqpyiaUhlkXI/c kL0CMI5GfuTvS1JVT52Ztff/uRY5z52XXZi9pB0fEKwXvm82bbrJ623+40JOQBfr xE4GCKPHmKQpKvrwQIwO/ozFO0TZrErHCs8y06Jj+ohZDcS8gxbnIZkPZd1Aw15v VNvbckD7mUp/VXcyaFY15JGr70FlurTwD9Em7ZlsvIuvjytB3e8E+WhXCgXNF1Q5 Oe62gHuVQwVd7D1CBcci =fRIf -----END PGP SIGNATURE----- --Y5rl02BVI9TCfPar-- -- 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 From mboxrd@z Thu Jan 1 00:00:00 1970 From: balbi@ti.com (Felipe Balbi) Date: Sat, 19 Apr 2014 22:21:59 -0500 Subject: [PATCH 3/8] xhci-platform: Add a new controller using xhci: Armada 38x In-Reply-To: <1397816563-9000-4-git-send-email-gregory.clement@free-electrons.com> References: <1397816563-9000-1-git-send-email-gregory.clement@free-electrons.com> <1397816563-9000-4-git-send-email-gregory.clement@free-electrons.com> Message-ID: <20140420032159.GC26893@saruman.home> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Fri, Apr 18, 2014 at 12:22:38PM +0200, Gregory CLEMENT wrote: > Extend the compatible string list with xhci-armada-380. It is used to > describe xhci controller which is in the Armada 38x SoCs. > > Signed-off-by: Gregory CLEMENT > --- > Documentation/devicetree/bindings/usb/usb-xhci.txt | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/usb/usb-xhci.txt b/Documentation/devicetree/bindings/usb/usb-xhci.txt > index 90f8f607d125..c49c14037afe 100644 > --- a/Documentation/devicetree/bindings/usb/usb-xhci.txt > +++ b/Documentation/devicetree/bindings/usb/usb-xhci.txt > @@ -1,7 +1,8 @@ > USB xHCI controllers > > Required properties: > - - compatible: should be "generic-xhci" (deprecated: "xhci-platform"). > + - compatible: should be on of "generic-xhci", should be "one" of. > + "marvell,xhci-armada-380" (deprecated: "xhci-platform"). and this gives me a better idea, instead of using the quirk I suggested before, match against this compatible: if (of_device_is_compatible(dev, "marvell,xhci-armada-380") xhci_marvel_mbus_init_quirk(dev); -- balbi -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: