Hello.

Miguel Aguilar wrote:
Hi,

Two questions:

What do you think about to pass the set_vbus function from board specific file to the USB driver by using "(*set_vbus)(struct device *dev, int is_on)" member of the musb_hdrc_platform_data?

  That's what i awa talking about.

What is the better way to handle the clock selection in the board file?

Just program the clock frequency in USB PHY control register the there, in your dm365evm_usb_configure() fuunction, and then enable/disable the VBUS comparators in the drivers/usb/musb/davinci.c, as usual.

Thanks,

Miguel Aguilar

WBR, Sergei



_______________________________________________
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to