hi all,
iam trying to work on USB- communication on dm365-evm. these step i follow:
1. dm_udc controller driver defined,( ep related functions, initializations etc)
2. defined probe,resume remove etc. in the function probe i initialize ep0 and other ep required.
3. in module_init i try to platform_driver_probe()
now when i insert the module, i get error in inserting module, saying "no such device".
all i could make out is that i have toperfomr following functions perhaps,
platform_device_alloc()
platform_device_Add_resources()
platform_device_Add_data()
platform_device_Add()
so that probe could work fine, i.e. could recognize the device.
but i don't know if my understanding is right or not.! even if it is right then how to proceed.??! as in where from to get arguments to be passed to above functions.?
thanks.