[PATCH 6/7] usb: chipidea: udc: add force-full-speed option

Sascha Hauer s.hauer at pengutronix.de
Sat Jun 1 19:21:51 EST 2013


On Sat, Jun 01, 2013 at 10:19:32AM +0200, Michael Grzeschik wrote:
> On Sat, Jun 01, 2013 at 09:39:33AM +0200, Sascha Hauer wrote:
> > On Fri, May 31, 2013 at 08:38:48PM +0200, Michael Grzeschik wrote:
> > > From: Michael Grzeschik <m.grzeschik at pengutronix.de>
> > > 
> > > This patch makes it possible to set the chipidea udc
> > > into full-speed only mode. It can be set by the oftree
> > > property "force-full-speed".
> > 
> > [...]
> > 
> > > +/* force full-speed operation */
> > > +static bool full_speed;
> > > +module_param(full_speed, bool, 0444);
> > > +MODULE_PARM_DESC(full_speed, "force full-speed mode");
> > > +
> > 
> > ???
> 
> Right, i reworked that one to get rid of yet another of property.
> But i forgot to change the description. I will fix that, thanks.

But a module parameter limits all instances to full speed. Is that what
you want? I like a devicetree property better.

Sascha


-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |


More information about the devicetree-discuss mailing list