From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mo-p05-ob.rzone.de (mo-p05-ob.rzone.de [81.169.146.182]) by ozlabs.org (Postfix) with ESMTP id 23A7DDDE41 for ; Wed, 25 Feb 2009 23:45:57 +1100 (EST) From: Stefan Roese To: linuxppc-dev@ozlabs.org Subject: Re: PPC 405 EX USB Development Date: Wed, 25 Feb 2009 13:45:51 +0100 References: <200902251327.02082.sr@denx.de> In-Reply-To: <200902251327.02082.sr@denx.de> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Message-Id: <200902251345.51880.sr@denx.de> Cc: Adish Kuvelker List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Wednesday 25 February 2009, Stefan Roese wrote: > On Wednesday 25 February 2009, Adish Kuvelker wrote: > > I am developing a Host Controller Driver for the PPC405EX based board. I > > have a OTG controller on it, which I have to configure as Host Controller > > and thus I am witting a HCD for the same. I am stuck at the Control stage > > wherein although my SETUP stage seems to be going through I get a STALL. > > > > Can anyone help me in this regard as to where would I get a reference > > code for this? > > Are you talking about the 405EX internal USB OTG controller (Synopsys DWC) > or some other OTG controller? You can find a driver for this Synopsys DWC OTG controller in our linux-2.6-denx repository: http://git.denx.de/?p=linux-2.6-denx.git;a=tree;f=drivers/usb/gadget/dwc_otg;h=526d515e4764a0c92cebbf909c245d6aec7e198c;hb=HEAD But please note that this driver is currently not in shape for mainline inclusion. It's working though, so it should help you while writing a new, clean driver. Best regards, Stefan