[RESEND PATCH v3] USB: usb-skeleton.c: fix compilation error and restored kref_put on fail in skel_open

2012-10-22 Thread Constantine Shulyupin
From: Constantine Shulyupin co...@makelinux.com Fixing compilaton error. Incrementing usage counter only on successful execution of skel_open. Removing redundant locking Some last changes in function skel_open and finally commit 52a7499 Revert USB: usb-skeleton.c: fix open/disconnect race

Re: PDF documentation

2012-10-17 Thread Constantine Shulyupin
On Tue, Oct 16, 2012 at 4:05 PM, Peter Stuge pe...@stuge.se wrote: Constantine Shulyupin wrote: - what PDF documentation do you use? (You can just drop a link to PDF, for example http://www.ti.com/lit/ds/symlink/omap4430.pdf) I don't understand what you want to know. I have thousands of data

Re: PDF documentation

2012-10-17 Thread Constantine Shulyupin
On Wed, Oct 17, 2012 at 6:51 PM, Peter Stuge pe...@stuge.se wrote: Constantine Shulyupin wrote: Peter, can you please just send me some links to most frequently used online PDF? I don't have a particular PDF that is used more frequently than others. Here's one I used recently, for a common

Re: [Celinux-dev] PDF documentation

2012-10-17 Thread Constantine Shulyupin
of the Linux Foundation Senior Staff Engineer, Sony Network Entertainment = -- Constantine Shulyupin http://www.MakeLinux.com/ Embedded Linux Systems, Device Drivers, TI DaVinci -- To unsubscribe from this list: send the line unsubscribe linux-usb in the body

PDF documentation

2012-10-16 Thread Constantine Shulyupin
and datasheets in HTML format on a site can be more useful than PDF? - what PDF documentation do you use? (You can just drop a link to PDF, for example http://www.ti.com/lit/ds/symlink/omap4430.pdf) -- Constantine Shulyupin http://www.MakeLinux.com/ Embedded Linux Systems, Device Drivers, TI DaVinci

[PATCH] rename ccg init and exit functions to conventional names

2012-10-15 Thread Constantine Shulyupin
From: Constantine Shulyupin co...@makelinux.com Previous names of init and exit functions init and cleanup are unconventional and are not friendly for source navigation with tags. New names ccg_init and ccg_exit are conveninal and source navigation friendly. Signed-off-by: Constantine

Re: [PATCH] usb: remove CONFIG_USB_MUSB_HOST etc

2012-10-11 Thread Constantine Shulyupin
to be just defaulting to MUSB_UNDEFINED. Setting it to MUSB_OTG would be better than that. Thanks, Sekhar -- Constantine Shulyupin http://www.MakeLinux.com/ Embedded Linux Systems, Device Drivers, TI DaVinci -- To unsubscribe from this list: send the line unsubscribe linux-usb in the body

[PATCH v7] Enable USB peripheral mode on dm365 EVM

2012-10-11 Thread Constantine Shulyupin
From: Constantine Shulyupin co...@makelinux.com Sets USB PHY clock source to 24 MHz clock. Tested with OTG configuration, usb gadget g_zero on DM365 EVM connected to PC. To active the patch need to call davinci_setup_usb from dm365_evm_init References: Definition of USB_PHY_CTRL

[PATCH v7] Initialize USB on dm365 EVM

2012-10-11 Thread Constantine Shulyupin
From: Constantine Shulyupin co...@makelinux.com Call USB initialization davinci_setup_usb from board initialization dm365_evm_init. Tested with OTG configuration, usb gadget g_zero on DM365 EVM connected to PC. Note: register USB_PHY_CTRL must have flag USBPHY_CLKFREQ_24MHZ References

[PATCH v2] USB: usb-skeleton.c: fix compilation error and restore kref_put on fail in skel_open

2012-10-10 Thread Constantine Shulyupin
From: Constantine Shulyupin co...@makelinux.com Function skel_open increments usage count for the device with kref_get and the usage count should be decremented on the function failure. Some last changes in function skel_open and finally commit 52a7499 Revert USB: usb-skeleton.c: fix open

[PATCH v6] Enable USB peripheral mode on dm365 EVM

2012-10-10 Thread Constantine Shulyupin
From: Constantine Shulyupin co...@makelinux.com Sets USB PHY clock source to 24 MHz clock and call USB configuration from board initialization. Tested with OTG configuration, usb gadget g_zero on DM365 EVM connected to PC. References: Definition of USB_PHY_CTRL and PHYCLKFREQ: - http

[PATCH v3] USB: usb-skeleton.c: fix compilation error and restored kref_put on fail in skel_open

2012-10-10 Thread Constantine Shulyupin
From: Constantine Shulyupin co...@makelinux.com Fixing compilaton error. Incrementing usage counter only on successful execution of skel_open. Removing redundant locking Some last changes in function skel_open and finally commit 52a7499 Revert USB: usb-skeleton.c: fix open/disconnect race

[PATCH] usb: remove CONFIG_USB_MUSB_HOST etc

2012-10-08 Thread Constantine Shulyupin
From: Constantine Shulyupin co...@makelinux.com Remove USB configuration in arch/arm/mach-davinci/usb.c accordingly CONFIG_USB_MUSB_OTG CONFIG_USB_MUSB_PERIPHERAL CONFIG_USB_MUSB_HOST and set MUSB_OTG configuration by default because this configuration options are removed from Kconfig. Signed

[PATCH v4] Enable USB peripheral on dm365 EVM

2012-10-04 Thread Constantine Shulyupin
From: Constantine Shulyupin co...@makelinux.com Signed-off-by: Constantine Shulyupin co...@makelinux.com --- Note: USBPHY_CTL_PADDR and USBPHY_CLKFREQ_24MHZ are defined in board-dm365-evm.c because davinci.h can't be included from drivers/usb/musb/. May be davinci.h should be renamed