I have enabled
CONFIG_USB_OTG
CONFIG_USB_OTG_FSM
CONFIG_USB_EHCI_FSL
CONFIG_USB_EHCI_HCD_PLATFORM
in linux menuconfig. With this I am able to detect my usb but after bootup it is continuously disconnecting and connecting multiple times. once I adjust the USB to particular position it connects properly. I taught it is a hardware issue but the same board and OTG cable with kernal 2.6 I am not facing this issue.