Re: [PATCH] staging: dwc2: fix thinko in dwc2_hc_set_even_odd_frame()

2013-07-08 Thread Matthijs Kooijman
Hi Paul, > As I mentioned in private email, I was not able to get your > mainline-based kernel from git://github.com/swarren/linux-rpi.git > to boot. Something to try if it's still not working: Try a less fancy SD card. I found that u-boot didn't want to boot a 16GB SDHC card (IIRC), but using an

RE: [PATCH] usb/gadget: Kconfig: Fix configfs-based RNDIS function build

2013-07-08 Thread Andrzej Pietrasiewicz
On Monday, July 08, 2013 5:24 PM Greg Kroah-Hartman wrote: > On Mon, Jul 08, 2013 at 11:18:16AM +0200, Andrzej Pietrasiewicz wrote: > > USB_CONFIGFS_RNDIS depends on USB_U_RNDIS. Select it. > > > > Signed-off-by: Andrzej Pietrasiewicz > > Signed-off-by: Kyungmin Park > > --- > > drivers/usb/gadg

[PATCH v2 0/1] Fix for configfs-based RNDIS build

2013-07-08 Thread Andrzej Pietrasiewicz
Hello Felipe, The USB_CONFIGFS_RNDIS depends on USB_U_RNDIS but does not select it. The patch fixes it. It was detected by Fengguag Wu's kbuild test robot. Thank you, Fengguang Wu! v1..v2: - added proper "Reported-by:" Rebased onto Greg's master as of 8th July. Greg has suggested that there is

[PATCH v2 1/1] usb/gadget: Kconfig: Fix configfs-based RNDIS function build

2013-07-08 Thread Andrzej Pietrasiewicz
USB_CONFIGFS_RNDIS depends on USB_U_RNDIS. Select it. Reported-by: Fengguang Wu Signed-off-by: Andrzej Pietrasiewicz Signed-off-by: Kyungmin Park --- drivers/usb/gadget/Kconfig |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/usb/gadget/Kconfig b/drivers/usb/gad

[PATCH] usb: renesas_usbhs: gadget: remove extra check on udc_stop

2013-07-08 Thread Kuninori Morimoto
usb_gadget_ops :: udc_stop might be called with driver = NULL since 511f3c5326eabe1ece35202a404c24c0aeacc246 (usb: gadget: udc-core: fix a regression during gadget driver unbinding) Because of that, 2nd times insmod goes fail. This patch fixes it up. Reported-by: Yusuke Goda Signed-off-by: Kunin

Re: [PATCH 0/5] Add phy support for AM335X platform using Generic PHy framework

2013-07-08 Thread George Cherian
On 7/9/2013 1:14 AM, Sebastian Andrzej Siewior wrote: On 07/08/2013 12:43 PM, George Cherian wrote: This patch series adds phy support for AM335X platform. This patch series is based on Generic PHY framework [1]. This series has - adds dual musb instances support for am335x platform (j

Re: [RFC v3] xhci: fix dma mask setup in xhci.c

2013-07-08 Thread Sarah Sharp
Felipe, Andy, and Seb, I have a couple questions below. On Fri, Jul 05, 2013 at 08:24:56PM +0300, Xenia Ragiadakou wrote: > The function dma_set_mask() tests internally whether the dma_mask pointer > for the device is initialized and fails if the dma_mask pointer is NULL. > On pci platforms, the i

Re: [PATCH] staging: dwc2: fix thinko in dwc2_hc_set_even_odd_frame()

2013-07-08 Thread Stephen Warren
. I would appreciate if you could send me your compiled > u-boot.bin and boot.scr.uimg, in case the problem is with compiling > u-boot. And also your kernel .config. Sorry for the slow response; holidays and birthday! The files you need are available at: http://avon.wwwdotorg.org/downl

Re: Video corruption varies by system load

2013-07-08 Thread Ming Lei
On Mon, Jul 8, 2013 at 9:39 AM, Devin Heitmueller wrote: > Hi Alan, > > Thanks for taking the time to provide feedback. I'm just noticing now > that I left off the subject line, which all the more reason makes me > thankful that you bothered to read an email with as uninteresting a > subject line

Re: [PATCH 5/7] staging: usbip: set server port via option.

2013-07-08 Thread Anthony Foiani
Anthony Foiani writes: > Add an option "-p" / "--port" to specify the TCP port to listen on. This is unfortunate, as "port" is also used to indicate which "usbip port" is in use by a particular connection. So I might change this to "-t" / "--tcp-port" in v2. It's not a fatal flaw, since this o

Re: [PATCH 4/7] staging: usbip: add option for usbipd to save its process id.

2013-07-08 Thread Anthony Foiani
Anthony Foiani writes: > Introduce option "-P" / "--pid" to request that usbipd save its PID to > a file while running. I've already spotted one problem with this patch: > + write_pid_file(pid_file); > rc = do_standalone_mode(daemonize); > + remove_pid_file

RE: Chipidea usb otg support for IMX/MXS (device functionality)

2013-07-08 Thread Chen Peter-B29397
> > > > -Original Message- > > > From: Marek Vasut [mailto:ma...@denx.de] > > > Sent: Sunday, July 07, 2013 9:10 AM > > > To: Chen Peter-B29397 > > > Cc: shawn@linaro.org; Michael Grzeschik; maxime.ripard@free- > > > electrons.com; Hector Palacios; linux-usb@vger.kernel.org; > > > s.

RE: [PATCH] staging: dwc2: fix thinko in dwc2_hc_set_even_odd_frame()

2013-07-08 Thread Paul Zimmerman
> From: Stephen Warren [mailto:swar...@wwwdotorg.org] > Sent: Tuesday, July 02, 2013 7:41 PM > > On 07/02/2013 07:47 PM, Stephen Warren wrote: > > On 06/26/2013 02:20 PM, Paul Zimmerman wrote: > ... > >> I hope whoever is supporting the Pi in the mainline kernel will try adding > >> dwc2 support n

Re: Chipidea usb otg support for IMX/MXS (device functionality)

2013-07-08 Thread Marek Vasut
Hi Peter, > > -Original Message- > > From: Marek Vasut [mailto:ma...@denx.de] > > Sent: Sunday, July 07, 2013 9:10 AM > > To: Chen Peter-B29397 > > Cc: shawn@linaro.org; Michael Grzeschik; maxime.ripard@free- > > electrons.com; Hector Palacios; linux-usb@vger.kernel.org; > > s.ha...@pe

Re: [PATCH 0/5] Add phy support for AM335X platform using Generic PHy framework

2013-07-08 Thread Ezequiel Garcia
Hi, On Mon, Jul 08, 2013 at 09:44:33PM +0200, Sebastian Andrzej Siewior wrote: > We need two nodes each one with a glue layer and a musb child node. The > instances crap in kernel has to vanish. Also that means your phy nodes > are wrong. This is not musb with two ports but two musb instances eac

Re: [PATCH 0/5] Add phy support for AM335X platform using Generic PHy framework

2013-07-08 Thread Sebastian Andrzej Siewior
On 07/08/2013 12:43 PM, George Cherian wrote: > This patch series adds phy support for AM335X platform. > This patch series is based on Generic PHY framework [1]. > > > This series has > - adds dual musb instances support for am335x platform (just for > testing) > - adds phy-am-

Re: [PATCH v3 4/4] USB: OMAP1: Tahvo USB transceiver driver

2013-07-08 Thread Aaro Koskinen
Hi, On Mon, Jul 08, 2013 at 10:21:09AM +0300, Felipe Balbi wrote: > On Tue, Jun 18, 2013 at 08:07:01PM +0300, Aaro Koskinen wrote: > > +static ssize_t vbus_state_show(struct device *device, > > + struct device_attribute *attr, char *buf) > > +{ > > + struct tahvo_usb *tu

Re: [PATCH 2/2] USB: OHCI: make ohci-pxa27x a separate driver

2013-07-08 Thread Alan Stern
On Mon, 8 Jul 2013, Manjunath Goudar wrote: > > Several aspects of this are strange. For example, consider how you > > used the private part of the ohci_hcd structure and how the variable > > names are inconsistent with the other OHCI glue drivers. > > > > > Here we are considering private date l

[PATCH 01/01] Drivers: MMB and PI ZigBee USB Device Support in cp210x.c

2013-07-08 Thread Sami Rahman
From: Sami Rahman Kernel Version: 3.5.0-34-generic Added support for MMB Networks and Planet Innovation Ingeni ZigBee USB devices using customized Silicon Labs' CP210x.c USB to UART bridge drivers with PIDs: 88A4, 88A5. Signed-off-by: Sami Rahman Tested-by: Sami Rahman --- --- linux-sourc

Re: [PATCH 1/2] USB: OHCI: make ohci-ep93xx a separate driver

2013-07-08 Thread Alan Stern
On Mon, 8 Jul 2013, Manjunath Goudar wrote: > > > @@ -79,7 +93,10 @@ static int usb_hcd_ep93xx_probe(const struct > > hc_driver *driver, > > > > > > ep93xx_start_hc(&pdev->dev); > > > > > > - ohci_hcd_init(hcd_to_ohci(hcd)); > > > + ohci = hcd_to_ohci(hcd); > > > + ohci->next_sta

Re: [xhci] null pointer dereference on ring_doorbell_for_active_rings

2013-07-08 Thread Sarah Sharp
On Sat, Jul 06, 2013 at 11:13:15AM +0200, Oleksij Rempel wrote: > Hi Sarah, > > thanks you or who ever fixed this issue. With latest wireless-testing > i can't reproduce my crash any more. Instead i get this messages: What kernel is your wireless-testing branch based on? It would be nice to know

Re: [PATCH] usb/gadget: Kconfig: Fix configfs-based RNDIS function build

2013-07-08 Thread Greg Kroah-Hartman
On Mon, Jul 08, 2013 at 11:18:16AM +0200, Andrzej Pietrasiewicz wrote: > USB_CONFIGFS_RNDIS depends on USB_U_RNDIS. Select it. > > Signed-off-by: Andrzej Pietrasiewicz > Signed-off-by: Kyungmin Park > --- > drivers/usb/gadget/Kconfig |1 + > 1 files changed, 1 insertions(+), 0 deletions(-)

Re: [PATCH] jacinto6 : usb3_phy: Updated dpll M,N values.

2013-07-08 Thread Ruchika Kharwar
On 07/08/2013 02:28 AM, Felipe Balbi wrote: On Fri, Jun 21, 2013 at 10:46:10AM -0500, Ruchika Kharwar wrote: Addition of the M and N recommended values for the USB3 PHY DPLL. Sysclk for DRA7xx is 20MHz. This yields: Clk = 20MHz * M/(N+1) = 20MHz * 1000 /(7+1) = 2.5 Ghz Signed-off-by: Nikhil De

Re: question on skel_read func of usb_skeleton.c‏

2013-07-08 Thread Oliver Neukum
On Monday 08 July 2013 13:09:05 汪辰 wrote: > hi, > I'm reading latest usb_skeleton.c sample and compared with that with ldd3 > book. > Looks like the skel_read changed a lot against previous version. Why we now > not use usb_bulk_msg, just due to we want to get chance to cancel the urb if > any u

Re: Audio I/O parameters

2013-07-08 Thread James Stone
On Sat, Jul 6, 2013 at 9:39 PM, James Stone wrote: > On Sat, Jul 6, 2013 at 9:36 PM, James Stone wrote: >> On Sat, Jul 6, 2013 at 3:41 PM, Alan Stern wrote: >>> On Sat, 6 Jul 2013, James Stone wrote: >>> The output when I try to start jack with 128 frames/period is: /usr/bin/jackd

question on skel_read func of usb_skeleton.c‏

2013-07-08 Thread 汪辰
hi, I'm reading latest usb_skeleton.c sample and compared with that with ldd3 book. Looks like the skel_read changed a lot against previous version. Why we now not use usb_bulk_msg, just due to we want to get chance to cancel the urb if any unexpected exit? Also in current skel_read function, I

Re: [PATCH] musb: omap: Fix: pass all the resources to musb core

2013-07-08 Thread Sergei Shtylyov
Hello. On 08-07-2013 14:55, Kishon Vijay Abraham I wrote: commit 09fc7d (usb: musb: fix incorrect usage of resource pointer) assumes musb core will always have only 2 resources. But for OMAP platforms there can be 3 resources (2 irq resource and 1 iomem resource). Fixed it here. Signed-off-b

Re: [PATCH 5/5] usb: musb: dsps: Remove the phy control from glue and add phy driver APIs

2013-07-08 Thread Kishon Vijay Abraham I
Hi, On Monday 08 July 2013 04:13 PM, George Cherian wrote: Remove usb phy control module access from platform glue. The same is now done using am phy driver and phy-omap-control. Signed-off-by: George Cherian --- drivers/usb/musb/musb_dsps.c | 105 +++-

Re: [PATCH 4/5] arm: dts: Add USB phy nodes for AM33XX

2013-07-08 Thread Kishon Vijay Abraham I
Hi, On Monday 08 July 2013 04:13 PM, George Cherian wrote: Add DT bindings of phy nodes for AM33XX platform. Signed-off-by: George Cherian --- arch/arm/boot/dts/am33xx.dtsi | 22 ++ 1 file changed, 22 insertions(+) diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/b

Re: [PATCH 3/5] phy: phy-amxxxx-usb: Add PHY driver for amxxxx platform

2013-07-08 Thread Kishon Vijay Abraham I
Hi, On Monday 08 July 2013 04:13 PM, George Cherian wrote: Adds phy driver support for am33xx platform, the host/device peripheral controller shall get this phy object to control the phy operations. Signed-off-by: George Cherian --- drivers/phy/Kconfig | 12 +++ drivers/phy/Makefi

Re: [PATCH 2/5] usb: phy: phy-omap-control: Add API to power on/off USB PHY for AM335X

2013-07-08 Thread Kishon Vijay Abraham I
Hi, On Monday 08 July 2013 04:13 PM, George Cherian wrote: Add API to power on/off USB PHY for AM335X. This API will be called from phy-am-usb driver. Signed-off-by: George Cherian --- drivers/usb/phy/phy-omap-control.c | 32 include/linux/usb/omap_con

[PATCH v2 1/4] arm: omap: Add phy binding info for musb in plat data

2013-07-08 Thread Kishon Vijay Abraham I
In order for controllers to get PHY in case of non dt boot, the phy binding information (phy label) should be added in the platform data of the controller. Signed-off-by: Kishon Vijay Abraham I Acked-by: Felipe Balbi Tested-by: Tomi Valkeinen --- arch/arm/mach-omap2/usb-musb.c |3 +++ incl

[PATCH v2 0/4] usb: musb: fix USB enumeration issue in OMAP3 platform

2013-07-08 Thread Kishon Vijay Abraham I
This series fixes the USB enumeration issue caused because of the controller not able to get a reference to the PHY because of incorrect binding in the board file. In the case of non-dt boot, the platform specific initialization file (board file) will do usb_bind_phy that binds the usb controller

[PATCH v2 4/4] arm: omap: remove using usb_bind_phy for binding musb and phy

2013-07-08 Thread Kishon Vijay Abraham I
Now that MUSB for OMAP started using devm_usb_get_phy_by_name which does not require PHY library to already have the binding information, removed usb_bind_phy calls that binds the MUSB controller with the PHY from the board files. Signed-off-by: Kishon Vijay Abraham I Acked-by: Felipe Balbi Test

[PATCH v2 3/4] usb: musb: omap: use the new API to get PHY reference by label

2013-07-08 Thread Kishon Vijay Abraham I
After the devices are created using PLATFORM_DEVID_AUTO, devm_usb_get_phy_dev and usb_get_phy_dev can't be used reliably as it relies on the device_names passed in usb_bind_phy. So used the new API devm_usb_get_phy_by_name to get the PHY reference. Signed-off-by: Kishon Vijay Abraham I Acked-by:

[PATCH v2 2/4] usb: phy: add a new API to get PHY ref by label

2013-07-08 Thread Kishon Vijay Abraham I
After the devices are created using PLATFORM_DEVID_AUTO, devm_usb_get_phy_dev and usb_get_phy_dev can't be used reliably as it relies on the device_names passed in usb_bind_phy. So added a new API to get the PHY reference by PHY label (PHY label should be filled which creating the PHY). Signed-off

[PATCH] musb: omap: Fix: pass all the resources to musb core

2013-07-08 Thread Kishon Vijay Abraham I
commit 09fc7d (usb: musb: fix incorrect usage of resource pointer) assumes musb core will always have only 2 resources. But for OMAP platforms there can be 3 resources (2 irq resource and 1 iomem resource). Fixed it here. Signed-off-by: Kishon Vijay Abraham I --- drivers/usb/musb/omap2430.c |

[PATCH 3/5] phy: phy-amxxxx-usb: Add PHY driver for amxxxx platform

2013-07-08 Thread George Cherian
Adds phy driver support for am33xx platform, the host/device peripheral controller shall get this phy object to control the phy operations. Signed-off-by: George Cherian --- drivers/phy/Kconfig | 12 +++ drivers/phy/Makefile | 1 + drivers/phy/phy-am-usb.c | 201 +

[PATCH 2/5] usb: phy: phy-omap-control: Add API to power on/off USB PHY for AM335X

2013-07-08 Thread George Cherian
Add API to power on/off USB PHY for AM335X. This API will be called from phy-am-usb driver. Signed-off-by: George Cherian --- drivers/usb/phy/phy-omap-control.c | 32 include/linux/usb/omap_control_usb.h | 11 +++ 2 files changed, 43 insertions(+)

[PATCH 1/5] usb: musb: dsps: enable dual instance support for am33xx platform

2013-07-08 Thread George Cherian
From: Ravi Babu The dsps am33xx platform has two instances of musb controller, enable the support for dual musb instances Signed-off-by: Ravi Babu --- drivers/usb/musb/musb_dsps.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/musb/musb_dsps.c b/drivers/usb/mus

[PATCH 4/5] arm: dts: Add USB phy nodes for AM33XX

2013-07-08 Thread George Cherian
Add DT bindings of phy nodes for AM33XX platform. Signed-off-by: George Cherian --- arch/arm/boot/dts/am33xx.dtsi | 22 ++ 1 file changed, 22 insertions(+) diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi index 8e1248f..4f3cca0 100644 --- a/arch/arm

[PATCH 0/5] Add phy support for AM335X platform using Generic PHy framework

2013-07-08 Thread George Cherian
This patch series adds phy support for AM335X platform. This patch series is based on Generic PHY framework [1]. This series has - adds dual musb instances support for am335x platform (just for testing) - adds phy-am-usb driver used in AM platforms - adds dt bin

[PATCH 5/5] usb: musb: dsps: Remove the phy control from glue and add phy driver APIs

2013-07-08 Thread George Cherian
Remove usb phy control module access from platform glue. The same is now done using am phy driver and phy-omap-control. Signed-off-by: George Cherian --- drivers/usb/musb/musb_dsps.c | 105 +++ 1 file changed, 36 insertions(+), 69 deletions(-) diff --

[PATCH] usb/gadget: Kconfig: Fix configfs-based RNDIS function build

2013-07-08 Thread Andrzej Pietrasiewicz
USB_CONFIGFS_RNDIS depends on USB_U_RNDIS. Select it. Signed-off-by: Andrzej Pietrasiewicz Signed-off-by: Kyungmin Park --- drivers/usb/gadget/Kconfig |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/usb/gadget/Kconfig b/drivers/usb/gadget/Kconfig index 6123c16..

[PATCH] Urgent fix for configfs-based RNDIS build

2013-07-08 Thread Andrzej Pietrasiewicz
Hello Greg, The USB_CONFIGFS_RNDIS depends on USB_U_RNDIS but does not select it. The patch fixes it. It was detected by Fengguag Wu's kbuild test robot. Thank you, Fengguang Wu! Sorry about the problem, Regards, Andrzej Andrzej Pietrasiewicz (1): usb/gadget: Kconfig: Fix configfs-based RND

Re: [RFC 1/2] usb/musb dma: add cppi41 dma driver

2013-07-08 Thread Sebastian Andrzej Siewior
On 07/07/2013 04:55 PM, Sergei Shtylyov wrote: > Hello. Hello Sergei, > On 05-07-2013 20:12, Sebastian Andrzej Siewior wrote: > >> This is a first shot of the cppi41 DMA driver. > >Where have you been when I submitted my drivers back in 2009? :-) Not here it seems :) There is a driver I go

Re: musb: dsps: make it work with two instances

2013-07-08 Thread Sebastian Andrzej Siewior
On 07/06/2013 11:39 PM, Ezequiel Garcia wrote: > Hi Sebastian, Hello Ezequiel, > On Fri, Jul 5, 2013 at 10:32 AM, Sebastian Andrzej Siewior > wrote: >> This enables the two musb instances on am335x to work. > > I like a lot the idea of splitting the DT representation of the two > USB instances.

[PATCH 2/2] usb: host: delete chipidea dependency

2013-07-08 Thread Peter Chen
Now, chipidea host has already depended on USB_EHCI_HCD Signed-off-by: Peter Chen --- drivers/usb/host/Kconfig |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/usb/host/Kconfig b/drivers/usb/host/Kconfig index 7d0aa5f..79b4503 100644 --- a/drivers/usb/host/Kcon

[PATCH 1/2] usb: chipidea: kconfig: using USB_EHCI_HCD instead of USB for dependency

2013-07-08 Thread Peter Chen
Chipidea controller is an EHCI compatible controller, with current kconfig, even CONIFG_USB_EHCI_HCD is not chosen, but CONFIG_USB is there, the chipidea code still will be compiled, in fact, it is useless. Signed-off-by: Peter Chen --- drivers/usb/chipidea/Kconfig |3 +-- 1 files changed, 1

Re: [PATCH 1/4] usb: gadget: s3c-hsotg: Allow driver instantiation using device tree

2013-07-08 Thread Felipe Balbi
Hi, On Tue, Jun 25, 2013 at 05:38:23PM +0200, Tomasz Figa wrote: > This patch adds OF match table to the driver to allow instantiating it > using device tree. > > Signed-off-by: Tomasz Figa > Signed-off-by: Kyungmin Park I will take this one only, the others have no dependency on this. cheers

Re: [PATCH] jacinto6 : usb3_phy: Updated dpll M,N values.

2013-07-08 Thread Felipe Balbi
On Fri, Jun 21, 2013 at 10:46:10AM -0500, Ruchika Kharwar wrote: > Addition of the M and N recommended values for the USB3 PHY DPLL. > Sysclk for DRA7xx is 20MHz. > This yields: > Clk = 20MHz * M/(N+1) = 20MHz * 1000 /(7+1) = 2.5 Ghz > > Signed-off-by: Nikhil Devshatwar > Signed-off-by: Ruchika K

Re: [PATCH v3 4/4] USB: OMAP1: Tahvo USB transceiver driver

2013-07-08 Thread Felipe Balbi
Hi, On Tue, Jun 18, 2013 at 08:07:01PM +0300, Aaro Koskinen wrote: > +static ssize_t vbus_state_show(struct device *device, > +struct device_attribute *attr, char *buf) > +{ > + struct tahvo_usb *tu = dev_get_drvdata(device); > + return sprintf(buf, "%d\n", tu->

[PATCH 1/1] usb: chipidea: fix the build error with randconfig

2013-07-08 Thread Peter Chen
Using below configs, the compile will have error: ERROR: "ehci_init_driver" undefined! .config: CONFIG_USB_CHIPIDEA=m CONFIG_USB_CHIPIDEA_HOST=y CONFIG_USB_CHIPIDEA_DEBUG=y The reason is chipidea host uses symbol from ehci, but ehci is not compiled. Let the chipidea host depend on ehci even it i