Skip to contentSkip to conversation

USBTTY for CONFIG_USB_GADGET

U-Boot Michael Schwartz 2 participants 2 messages Jan 20, 2012 – Jan 24, 2012

lore
Share & tools
lore
#0 lore raw

Hi,

Can new UDCs be written for CONFIG_USB_DEVICE or is that deprecated in favour of CONFIG_USB_GADGET? If that is the case and CONFIG_USB_DEVICE is deprecated, if I want to get USBTTY enabled for a currently unsupported UDC I would need to port USBTTY to CONFIG_USB_GADGET; is there interest in that effort or is there some alternative?

Thanks,

Michael Schwartz

#1 lore raw
Quoted 3 lines · Michael Schwartz

Hi,

Hi Michael,

Quoted 3 lines

Can new UDCs be written for CONFIG_USB_DEVICE or is that deprecated in favour of CONFIG_USB_GADGET?

I have not read any clear statement about this, but IMHO we should consider CONFIG_USB_DEVICE obsolete and move to CONFIG_USB_GADGET.

Quoted 3 lines

If that is the case and CONFIG_USB_DEVICE is
deprecated, if I want to get USBTTY enabled for a currently unsupported UDC I would need to port USBTTY to CONFIG_USB_GADGET;

Yes, that is right - there is currently no support for the serial gadget.

Quoted 2 lines

is there interest in that
effort or is there some alternative?

This is very interesting !

There is a lot of boards using CONFIG_USB_DEVICE. We cannot drop then CONFIG_USB_DEVICE, but new boards must use the new interface.

Best regards,
Stefano Babic

Signature · 5 lines
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de
=====================================================================