[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 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" introduce

USB on pandaboard

2012-10-24 Thread Constantine Shulyupin
ished and needs assistance, I can assist. Thanks -- 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 of a message to majord...@vger.kernel.org Mor

Touchscreen USB HID gadget

2012-09-18 Thread Constantine Shulyupin
Once up on a time I've emulated a usb touchscreen using USB HID gadget driver. I captured and configured report descriptor and wrote sample application to just move cursor. Sources are attached. -- Constantine Shulyupin http://www.MakeLinux.com/ Embedded Linux Systems, Device Driver

[PATCH v4] Enable USB peripheral on dm365 EVM

2012-10-04 Thread Constantine Shulyupin
From: Constantine Shulyupin Signed-off-by: Constantine Shulyupin --- 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 and moved to arch/arm/mach-davinci/in

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

2012-10-07 Thread Constantine Shulyupin
From: Constantine Shulyupin 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/disconnect

[PATCH] usb: remove CONFIG_USB_MUSB_HOST etc

2012-10-08 Thread Constantine Shulyupin
From: Constantine Shulyupin 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-off-by: Constantine

[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 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/disconnect

[PATCH v6] Enable USB peripheral mode on dm365 EVM

2012-10-10 Thread Constantine Shulyupin
From: Constantine Shulyupin 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://www.makelinux.com/lib/ti

[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 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" introduce

Re: [PATCH v6] Enable USB peripheral mode on dm365 EVM

2012-10-10 Thread Constantine Shulyupin
configurations from board files anyway. >From http://www.spinics.net/lists/kernel/msg1414914.html On Wed, Oct 10, 2012 at 9:27 PM, Sergei Shtylyov wrote: > Hello. > > > On 10-10-2012 14:33, Constantine Shulyupin wrote: > >> From: Constantine Shulyupin >> >> Sets

Re: [PATCH] usb: remove CONFIG_USB_MUSB_HOST etc

2012-10-11 Thread Constantine Shulyupin
n Mon, Oct 08, 2012 at 18:47:07, Constantine Shulyupin wrote: >>>> From: Constantine Shulyupin >>>> >>>> Remove USB configuration in arch/arm/mach-davinci/usb.c accordingly >>>> CONFIG_USB_MUSB_OTG CONFIG_USB_MUSB_PERIPHERAL CONFIG_USB_MUSB_HOST >>>

[PATCH v7] Enable USB peripheral mode on dm365 EVM

2012-10-11 Thread Constantine Shulyupin
From: Constantine Shulyupin 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 and PHYCLKFREQ: - http

[PATCH v7] Initialize USB on dm365 EVM

2012-10-11 Thread Constantine Shulyupin
From: Constantine Shulyupin 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: Original patch by

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

2012-10-15 Thread Constantine Shulyupin
From: Constantine Shulyupin 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 friendl

PDF documentation

2012-10-16 Thread Constantine Shulyupin
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 -- To

Re: PDF documentation

2012-10-17 Thread Constantine Shulyupin
On Tue, Oct 16, 2012 at 4:05 PM, Peter Stuge 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

Re: PDF documentation

2012-10-17 Thread Constantine Shulyupin
On Wed, Oct 17, 2012 at 6:51 PM, Peter Stuge 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

Re: [Celinux-dev] PDF documentation

2012-10-17 Thread Constantine Shulyupin
= > Tim Bird > Architecture Group Chair, CE Workgroup of the Linux Foundation > Senior Staff Engineer, Sony Network Entertainment > = > -- Constantine Shulyupin http://www.MakeLinux.com/ Embedded Linux Systems, Device Drivers, TI DaVinci -