devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: [PATCH 8/9] usb: dwc3: gadget: dynamically re-size TxFifos
       [not found]           ` <F6C4814A9B336243ABC3D1FB44E08AE801D53C9116-uiPIUNf6hlr3OT/vyeh27fufCSb+aD3WLzEdoUbNIic@public.gmane.org>
@ 2012-01-26 12:15             ` Felipe Balbi
  0 siblings, 0 replies; only message in thread
From: Felipe Balbi @ 2012-01-26 12:15 UTC (permalink / raw)
  To: Paul Zimmerman
  Cc: balbi-l0cyMroinI0@public.gmane.org, Linux USB Mailing List,
	devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ

[-- Attachment #1: Type: text/plain, Size: 1374 bytes --]

Hi,

On Wed, Jan 25, 2012 at 10:54:56AM -0800, Paul Zimmerman wrote:
> On Wed, 25 Jan 2012, Felipe Balbi wrote:
> 
> > > > You probably don't want a module parameter. Maybe we could enable this depending
> > > > on the PCI ID, or from platform data?
> > > 
> > > Platform data will be vanishing soon, but we can have a devicetree
> > > attribute to select that, for sure ;-)
> > > 
> > > Will hack that up quickly and send a revised patch.
> 
> > here's the differential diff to add a flag for fifo resizing:
> 
> <snip>
> 
> Thanks Felipe, looks good.
> 
> One question, though. I am completely ignorant about the device tree stuff.
> Will a standard PC platform have a device tree for the PCI devices, and if
> so, where will this option flag get set?

I'm not sure how devicetree is implemented for the PCI stuff, maybe the
guys in the devicetree mailing list can help. Any tips guys ?

Anyway, when I actually figure out a nice way to allocate fifo space
based on enabled endpoints, I believe most users will just start setting
that flag because it's far better to use the FIFO for enabled endpoints
then not allocate it at all (image a situation where we have 4 IN eps
and 1024 bytes FIFO space for each one of them, if we're running with
only 1 IN ep enabled, we could allocate all 4x 1024 to the only enabled
endpoint).

-- 
balbi

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-01-26 12:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <1327406053-31738-1-git-send-email-balbi@ti.com>
     [not found] ` <1327406053-31738-9-git-send-email-balbi@ti.com>
     [not found]   ` <F6C4814A9B336243ABC3D1FB44E08AE801D53C8B66@US01WXMBX1.internal.synopsys.com>
     [not found]     ` <20120125075732.GA4489@legolas.emea.dhcp.ti.com>
     [not found]       ` <20120125084658.GC4489@legolas.emea.dhcp.ti.com>
     [not found]         ` <F6C4814A9B336243ABC3D1FB44E08AE801D53C9116@US01WXMBX1.internal.synopsys.com>
     [not found]           ` <F6C4814A9B336243ABC3D1FB44E08AE801D53C9116-uiPIUNf6hlr3OT/vyeh27fufCSb+aD3WLzEdoUbNIic@public.gmane.org>
2012-01-26 12:15             ` [PATCH 8/9] usb: dwc3: gadget: dynamically re-size TxFifos Felipe Balbi

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).