Re: USB Gadget Driver query

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jan 22, 2010 at 09:50:21PM +0100, ext Greg KH wrote:
On Fri, Jan 22, 2010 at 10:33:07PM +0200, Felipe Balbi wrote:
Hi all,

I'm trying to think of a way for passing usb idVendor, idProduct and
some strings to the gadget driver via some platform_data but I can't
come up with a way that would work for all gadget drivers, specially
wrt functions that have to be bound several times.

Does anyone have a good idea for solving that ?

The problem I'm trying to solve is when building a kernel for several
different devices, then we have to keep on adding if
(machine_is_xxxx()), and that only works on ARM-based kernel images
afaict.

Isn't the Device Tree stuff supposed to help solve this type of problem?

for gadget drivers ? I thought device tree was supposed to enumerate actual HW, no ? So it would be useful for the controller driver, I mean, for drivers/usb/gadget/*_udc.c

--
balbi
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux