linux-arm-msm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Pavan Kondeti <pkondeti@codeaurora.org>
To: Matthieu CASTET <matthieu.castet@parrot.com>
Cc: Brian Swetland <swetland@google.com>,
	David Brownell <david-b@pacbell.net>,
	"greg@kroah.com" <greg@kroah.com>,
	"linux-usb@vger.kernel.org" <linux-usb@vger.kernel.org>,
	"linux-arm-msm@vger.kernel.org" <linux-arm-msm@vger.kernel.org>,
	Mike Lockwood <lockwood@android.com>
Subject: Re: [PATCH v2] USB: Add MSM USB Device Controller driver
Date: Tue, 07 Dec 2010 18:14:58 +0530	[thread overview]
Message-ID: <4CFE2C4A.3000106@codeaurora.org> (raw)
In-Reply-To: <4CE6B0E0.2030900@parrot.com>

Hi Matthieu,

On 11/19/2010 10:46 PM, Matthieu CASTET wrote:
> The best way to handle this is to introduce flags in the driver. For 
> example look at drivers/mmc/host/sdhci.c (quirk flags).
> 
> But for now, let's make work msm version. We can add workaround for 
> other controller later.
> 
> Now you should check if it is better to start on ci13xxx_udc or make 
> generic your driver.
> 
> I had worked a bit on ci13xxx_udc, and the code is sometimes messy, hard 
> to understand.
> Also to making work on our core, we need to the attached patch.
> 
> 

ci13xxx_udc is working fine on MSM SoC without the attached patch.
According to hardware doc, When endpoint is in primed state the
corresponding bit of either ENDPTRPIME or ENDPTSTAT will be set. The
driver is assuming the same. So I don't see a problem.

The current driver, one dTD is given to the hardware at a time. We can
improve it by adding hardware queuing functionality or adopt msm72k_udc
algorithm.

I have submitted patches to separate PCI stuff out of ci13xxx_udc. I
have submitted MSM bus glue driver which makes use of ci13xxx_udc. I
have tested it on MSM SoC. But I don't have ci13xxx PCI hardware. Can
you help me in testing my patches (5-11 of [PATCH V3 00/11] Add MSM USB
controller driver)

Thanks in advance,
Pavan


-- 
Sent by a consultant of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.

  parent reply	other threads:[~2010-12-07 12:45 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-09 11:18 [PATCH v2] Add MSM USB Device Controller support Pavankumar Kondeti
2010-11-09 11:18 ` [PATCH v2] USB: Add MSM USB Device Controller driver Pavankumar Kondeti
2010-11-09 11:40   ` Matthieu CASTET
2010-11-09 12:16     ` Pavan Kondeti
2010-11-09 13:36       ` Matthieu CASTET
2010-11-10  2:12         ` Pavan Kondeti
2010-11-10  2:54           ` David Brownell
2010-11-10  6:22             ` Brian Swetland
2010-11-19 17:16               ` Matthieu CASTET
2010-11-27 14:00                 ` Pavan Kondeti
2010-11-28  6:30                   ` David Brownell
2010-11-28 12:09                     ` Pavan Kondeti
2010-12-07 12:44                 ` Pavan Kondeti [this message]
2010-11-09 13:25   ` Heikki Krogerus
2010-11-09 13:52   ` Matthieu CASTET
2010-11-09 15:36     ` Igor Grinberg
2010-11-10  2:19       ` Pavan Kondeti
2010-11-10  6:47         ` Igor Grinberg
2010-11-11  2:10           ` Pavan Kondeti
2010-11-19  5:50             ` Pavan Kondeti
2010-11-21  8:09               ` Igor Grinberg
2010-11-10  2:17     ` Pavan Kondeti
2010-11-09 11:18 ` [PATCH v2] USB: msm72k_udc: Add debugfs support Pavankumar Kondeti
2010-11-09 11:18 ` [PATCH v2] USB: msm72k_udc: Add Remote wakeup support Pavankumar Kondeti
2010-11-09 11:18 ` [PATCH v2] USB: msm72k_udc: Add Test Mode support Pavankumar Kondeti
2010-11-09 11:18 ` [PATCH] USB: msm72k_udc: Add charging notification support Pavankumar Kondeti

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4CFE2C4A.3000106@codeaurora.org \
    --to=pkondeti@codeaurora.org \
    --cc=david-b@pacbell.net \
    --cc=greg@kroah.com \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=lockwood@android.com \
    --cc=matthieu.castet@parrot.com \
    --cc=swetland@google.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).