Thanks a lot Michal for the info. I will look those patches from Felipe and Sebastian. Regards Pratyush 2011/6/29 Michal Nazarewicz <mina86@xxxxxxxxxx>: > On Wed, 29 Jun 2011 12:48:44 +0200, Pratyush Anand > <pratyush.linux@xxxxxxxxx> wrote: >> >> I am working with an SOC family where I have Synopsys UDC on one of the >> SOC, while Synopsys OTG on other as USB device. I have a single >> defconfig for all the SOCs of this family. >> >> In the current kernel configuration , it is not possible to select >> more than one USB peripheral controller under USB gadget support. >> So one can either select Syn UDC or Syn OTG. Both of them can not >> be selected and compiled together. So, a unique defconfig is not >> possible for all the SOCs of same family. >> >> What do you suggest to handle this situation. > > It is a known problem and some work is being done to resolve it. If > I remember correctly, it should be possible to do in 3.1 after a bunch > of patches implementing UDC class and some other stuff are merged into > the mainline (I don't think they are present in 3.0). > > You might want to check patches from Felipe and Sebastian sent in the > past quarter. > > -- > Best regards, _ _ > .o. | Liege of Serenely Enlightened Majesty of o' \,=./ `o > ..o | Computer Science, Michal "mina86" Nazarewicz (o o) > ooo +-----<email/xmpp: mnazarewicz@xxxxxxxxxx>-----ooO--(_)--Ooo-- > -- 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