From: mkl@pengutronix.de (Marc Kleine-Budde) Date: Mon, 25 Jun 2012 12:33:58 +0200 Subject: [PATCH v7 14/14] usb: chipidea: add imx platform driver In-Reply-To: <1340607391-16380-15-git-send-email-richard.zhao@freescale.com> References: <1340607391-16380-1-git-send-email-richard.zhao@freescale.com> <1340607391-16380-15-git-send-email-richard.zhao@freescale.com> Message-ID: <4FE83E96.5090004@pengutronix.de> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 06/25/2012 08:56 AM, Richard Zhao wrote: > This patch supports only the host-mode functionality so far. > > Signed-off-by: Richard Zhao > Signed-off-by: Marek Vasut > Cc: Peter Chen > Cc: Alexander Shishkin > Cc: Felipe Balbi > Cc: Greg Kroah-Hartman > Tested-by: Subodh Nijsure > --- > .../devicetree/bindings/usb/ci13xxx-imx.txt | 20 ++ > drivers/usb/chipidea/Makefile | 3 + > drivers/usb/chipidea/ci13xxx_imx.c | 197 ++++++++++++++++++++ > 3 files changed, 220 insertions(+) > create mode 100644 Documentation/devicetree/bindings/usb/ci13xxx-imx.txt > create mode 100644 drivers/usb/chipidea/ci13xxx_imx.c > > diff --git a/Documentation/devicetree/bindings/usb/ci13xxx-imx.txt b/Documentation/devicetree/bindings/usb/ci13xxx-imx.txt > new file mode 100644 > index 0000000..8bcd071 > --- /dev/null > +++ b/Documentation/devicetree/bindings/usb/ci13xxx-imx.txt > @@ -0,0 +1,20 @@ > +* Freescale i.MX ci13xxx usb controllers > + > +Required properties: > +- compatible: Should be "fsl,imx27-usb" > +- reg: Should contain registers location and length > +- interrupts: Should contain controller interrupt > + > +Optional properties: > +- fsl,usbphy: phandler of usb phy that connects to the only one port > +- fsl,hub-reset-gpios: gpio used to reset on-board usb hub > +- fsl,vbus-power-gpios: gpio used to set vbus power of the only one port These two properties are not implemented, are they? vbus is handled via a fixed regulator. Further I'm looking into the phy and otg implementation. I think the handling of the regulator should go into mxs-phy.c, not into the ci13xxx_imx.c Marc -- Pengutronix e.K. | Marc Kleine-Budde | Industrial Linux Solutions | Phone: +49-231-2826-924 | Vertretung West/Dortmund | Fax: +49-5121-206917-5555 | Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de | -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 262 bytes Desc: OpenPGP digital signature URL: