hi, all
i want to use dm3730's otg as a device most like android's adb device.
my linux version is 3.5-rc5.
my question is:
1. i can't find enough information in DM3730's spec, there are only 7 registers in spec's chapter 22.1, which describe the OTG
2. is there anything i can refer?
3. in android, how to enable otg as a device?
thx.
here is what i did:
1. in menuconfig, i enabled following configurations:
Device Drivers/USB Support
USB Gadget support
USB Peripheral Controller
OMAP USB Device Controller
USB Gadget Drivers
Gadget zero
2. then i build the kernel again. when i boot the new kernel, the zero driver said cann't find any udc.
3. follow the Makefile, i found the source code for DM3730's udc: omap_udc.c, which is a platform device
4. then i found the board init code in file: usb-fs.c. however the init entry function omap2_usbfs_init() is excluded by macro CONFIG_ARCH_OMAP2
5. i also checked omap_usb.c, i guess this omap_usb doesn't support DM3730, as the registers' address mismatch.