Re: [PATCH 1/2] usb: chipidea: imx: add usb support for imx7d

2015-09-09 Thread Li Jun
On Wed, Sep 09, 2015 at 10:35:59AM +0800, Peter Chen wrote: ... ... > > > > +static const struct ci_hdrc_imx_platform_flag imx7d_usb_data = { > > + .flags = CI_HDRC_SUPPORTS_RUNTIME_PM | > > + CI_HDRC_TURN_VBUS_EARLY_ON | > > + CI_HDRC_DISABLE_HOST_STREAMING, > > +}; > >

Re: [PATCH v4 07/13] usb: otg: add OTG core

2015-09-09 Thread Li Jun
On Mon, Sep 07, 2015 at 01:53:19PM +0300, Roger Quadros wrote: > On 07/09/15 10:40, Li Jun wrote: > > On Mon, Aug 24, 2015 at 04:21:18PM +0300, Roger Quadros wrote: > >> The OTG core instantiates the OTG Finite State Machine > >> per OTG controller and manages starting/stopping the > >> host and

[PATCH v3 1/2] usb: chipidea: imx: add usb support for imx7d

2015-09-09 Thread Li Jun
From: Peter Chen Add imx7d usb support. Signed-off-by: Peter Chen Signed-off-by: Li Jun --- Change for v3: - Remove CI_HDRC_DISABLE_HOST_STREAMING and CI_HDRC_TURN_VBUS_EARLY_ON since they are required for i.mx7d

[PATCH v3 2/2] usb: chipidea: imx: fix a typo for imx6sx

2015-09-09 Thread Li Jun
Use imx6sx instead of imx6sl's platform flags for imx6sx. Signed-off-by: Li Jun --- drivers/usb/chipidea/ci_hdrc_imx.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/chipidea/ci_hdrc_imx.c b/drivers/usb/chipidea/ci_hdrc_imx.c index

Re: [PATCH v1] media: uvcvideo: handle urb completion in a work queue

2015-09-09 Thread Laurent Pinchart
On Wednesday 09 September 2015 10:30:12 Hans de Goede wrote: > On 08-09-15 16:36, Alan Stern wrote: > > On Tue, 8 Sep 2015, Hans de Goede wrote: > >> On 09/07/2015 06:23 PM, Mian Yousaf Kaukab wrote: > >>> urb completion callback is executed in host controllers interrupt > >>> context. To keep

Maintainer of drivers/usb/serial/mos7840.c

2015-09-09 Thread mar...@franksalomon.de
Hello All, Please, I need to know how is the maintainer of drivers/usb/serial/mos7840.c for kernel version 2.6.32. Many thanks, Frank -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majord...@vger.kernel.org More majordomo info at

Re: [PATCH v4 07/13] usb: otg: add OTG core

2015-09-09 Thread Roger Quadros
On 09/09/15 05:21, Peter Chen wrote: > On Tue, Sep 08, 2015 at 03:25:25PM +0300, Roger Quadros wrote: >> >> >> On 08/09/15 11:31, Peter Chen wrote: >>> On Mon, Sep 07, 2015 at 01:23:01PM +0300, Roger Quadros wrote: On 07/09/15 04:23, Peter Chen wrote: > On Mon, Aug 24, 2015 at 04:21:18PM

Re: [PATCH v1] media: uvcvideo: handle urb completion in a work queue

2015-09-09 Thread Hans de Goede
Hi, On 08-09-15 16:36, Alan Stern wrote: On Tue, 8 Sep 2015, Hans de Goede wrote: Hi, On 09/07/2015 06:23 PM, Mian Yousaf Kaukab wrote: urb completion callback is executed in host controllers interrupt context. To keep preempt disable time short, add urbs to a list on completion and

Re: [Bug 103461] i.MX USB runtime power management breaks the boot

2015-09-09 Thread Peter Chen
On Mon, Aug 31, 2015 at 10:11:20AM +0200, Vincent Stehlé wrote: > On 08/28/2015 10:29 AM, Peter Chen wrote: > .. > > Would you supply below: > > 1. The u-boot.bin which you use to reproduce it > > Hi Peter, > > Thank you for looking into this issue. > > I attached u-boot.imx to the ticket for

Re: [PATCH v4 07/13] usb: otg: add OTG core

2015-09-09 Thread Roger Quadros
On 09/09/15 09:20, Li Jun wrote: > On Mon, Sep 07, 2015 at 01:53:19PM +0300, Roger Quadros wrote: >> On 07/09/15 10:40, Li Jun wrote: >>> On Mon, Aug 24, 2015 at 04:21:18PM +0300, Roger Quadros wrote: The OTG core instantiates the OTG Finite State Machine per OTG controller and manages

[PATCH v1 05/32] usb: dwc2: host: update hcd and lx_state during start/stop callbacks

2015-09-09 Thread Mian Yousaf Kaukab
From: Gregory Herrero During hcd initialization, hardware accessible flag and lx_state must be reset to the working state since controller is powered at this stage. Same logic applied for stop callback. Signed-off-by: Gregory Herrero

[PATCH v1 00/32] usb: dwc2: various bug fixes

2015-09-09 Thread Mian Yousaf Kaukab
Hi, This series consists of various bug fixes for both host and gadget sides. All patches are verified on dwc2 v3.0a with dedicated fifos. It would be good to get some Tested-bys for other platforms. It is based on testing/next branch in Felipe's git and depends on [1]. Thank you, Best regards,

[PATCH v1 02/32] usb: dwc2: host: create a function to handle port_resume

2015-09-09 Thread Mian Yousaf Kaukab
From: Gregory Herrero port resume sequence may be used in different places. Create a function to handle it. Moreover, make hprt0 read-modify-write atomic. Signed-off-by: Gregory Herrero Signed-off-by: Mian Yousaf Kaukab

[PATCH v1 03/32] usb: dwc2: host: add flag to reflect bus state

2015-09-09 Thread Mian Yousaf Kaukab
From: Gregory Herrero lx_state must be used to reflect controller power state only and not bus state. Thus add a flag to track state during bus suspend. Signed-off-by: Gregory Herrero Signed-off-by: Mian Yousaf Kaukab

[PATCH v1 01/32] usb: dwc2: host: don't clear hprt0 status bits when exiting hibernation

2015-09-09 Thread Mian Yousaf Kaukab
From: Gregory Herrero When entering hibernation hprt0 must be read using dwc2_read_hprt0(). Otherwise, any set hprt0 status bits will be cleared when restoring hprt0 on exit from hibernation. Signed-off-by: Gregory Herrero Signed-off-by:

[PATCH v1 04/32] usb: dwc2: host: enter hibernation during bus suspend

2015-09-09 Thread Mian Yousaf Kaukab
From: Gregory Herrero Disable controller power and enter hibernation when usb bus is suspended. A phy driver is required to disable the power of the controller and detect remote-wakeup or disconnection since the controller will not be able to detect these in this

Re: [PATCH v4 0/22] On-demand device probing

2015-09-09 Thread Tomeu Vizoso
On 9 September 2015 at 03:33, Rob Herring wrote: > On 09/08/2015 02:30 AM, Tomeu Vizoso wrote: >> On 7 September 2015 at 22:50, Rob Herring wrote: >>> On Mon, Sep 7, 2015 at 7:23 AM, Tomeu Vizoso >>> wrote: Hello,

Re: [PATCH v4 07/13] usb: otg: add OTG core

2015-09-09 Thread Roger Quadros
On 09/09/15 11:45, Peter Chen wrote: > On Wed, Sep 09, 2015 at 12:33:20PM +0300, Roger Quadros wrote: >> On 09/09/15 11:13, Peter Chen wrote: >>> On Wed, Sep 09, 2015 at 12:08:10PM +0300, Roger Quadros wrote: On 09/09/15 05:21, Peter Chen wrote: > On Tue, Sep 08, 2015 at 03:25:25PM +0300,

Re: [PATCH v4 07/13] usb: otg: add OTG core

2015-09-09 Thread Roger Quadros
(adding back folks in cc) On 08/09/15 20:35, Alan Stern wrote: > On Tue, 8 Sep 2015, Roger Quadros wrote: > What if there is another architecture like so? C: [Parent] | |

Re: [PATCH v4 07/13] usb: otg: add OTG core

2015-09-09 Thread Peter Chen
On Wed, Sep 09, 2015 at 12:33:20PM +0300, Roger Quadros wrote: > On 09/09/15 11:13, Peter Chen wrote: > > On Wed, Sep 09, 2015 at 12:08:10PM +0300, Roger Quadros wrote: > >> On 09/09/15 05:21, Peter Chen wrote: > >>> On Tue, Sep 08, 2015 at 03:25:25PM +0300, Roger Quadros wrote: > > >

[PATCH v1 21/32] usb: dwc2: gadget: don't modify pullup state in host mode

2015-09-09 Thread Mian Yousaf Kaukab
From: Gregory Herrero Modifying the pullup state during host mode trig a new enumeration of attached device. Thus, avoid modifying pullup in host mode. Signed-off-by: Gregory Herrero Signed-off-by: Mian Yousaf Kaukab

[PATCH v1 14/32] usb: dwc2: host: wait 3ms for controller stabilization

2015-09-09 Thread Mian Yousaf Kaukab
From: Gregory Herrero Some high speed mass storage devices fail to enumerate with following error: Cannot enable port %i. Maybe the USB cable is bad? This happens only when the device is plugged while the controller is in hibernation state. After exiting

[PATCH v1 19/32] usb: dwc2: gadget: initialize op_state for peripheral only configuration

2015-09-09 Thread Mian Yousaf Kaukab
ID status change interrupt will not be handled in peripheral only configuration. So initialize op_state during gadget init. Signed-off-by: Mian Yousaf Kaukab Tested-by: Robert Baldyga --- drivers/usb/dwc2/gadget.c | 2 ++ 1 file changed, 2

[PATCH v1 15/32] usb: dwc2: host: correctly dump urb isochronous descriptors

2015-09-09 Thread Mian Yousaf Kaukab
From: Gregory Herrero Print urb->iso_frame_desc.status after it has been updated using dwc2_hcd_urb_get_iso_desc_status(). Signed-off-by: Gregory Herrero Signed-off-by: Mian Yousaf Kaukab Tested-by: Robert Baldyga

[PATCH v1 16/32] usb: dwc2: host: use correct frame number during qh init

2015-09-09 Thread Mian Yousaf Kaukab
From: Gregory Herrero On first qh initialization, hsotg->frame_number is not corresponding to reality. So read it from host controller to get correct value. Signed-off-by: Gregory Herrero Signed-off-by: Mian Yousaf Kaukab

[PATCH v1 17/32] usb: dwc2: host: kill remaining urbs using -ECONNRESET status

2015-09-09 Thread Mian Yousaf Kaukab
From: Gregory Herrero On a disconnect, dwc2 will kill all remaining urbs from qh list. urbs are given back to hcd with -ETIMEDOUT status. Some usb device driver, like mass storage, will unlink all urbs using usb_hcd_unlink_urb when receiving a negative status different

[PATCH v1 18/32] usb: dwc2: gadget: ensure lx_state corresponds to current state

2015-09-09 Thread Mian Yousaf Kaukab
From: Gregory Herrero Correctly update lx_state on gadget connection and disconnection. When usb cable is disconnected, lx_state must be updated to L3 as controller could be in power off state. When usb cable is connected, lx_state must be updated to L0 as controller

[PATCH v1 12/32] usb: dwc2: host: disable interrupt during stop

2015-09-09 Thread Mian Yousaf Kaukab
From: Gregory Herrero Disable host interrupts before synchronising dwc2 irq. So that interrupts are not generated once controller is stopped. Signed-off-by: Gregory Herrero Signed-off-by: Mian Yousaf Kaukab

[PATCH v1 07/32] usb: dwc2: host: ignore wakeup interrupt if hibernation supported

2015-09-09 Thread Mian Yousaf Kaukab
From: Gregory Herrero If hibernation is supported, resume of devices will be handled in bus_resume callback. Signed-off-by: Gregory Herrero Signed-off-by: Mian Yousaf Kaukab Tested-by: Robert Baldyga

[PATCH v1 08/32] usb: dwc2: host: resume only if bus is suspended

2015-09-09 Thread Mian Yousaf Kaukab
From: Gregory Herrero Port can be resumed in bus_resume callback. In this case, there is no need to drive resume a second time when hcd ask for it. Signed-off-by: Gregory Herrero Signed-off-by: Mian Yousaf Kaukab

[PATCH v1 11/32] usb: dwc2: host: add disconnect interrupt to host only interrupts

2015-09-09 Thread Mian Yousaf Kaukab
GINTSTS.DisconnInt is host only interrupt and should be disable after dwc2_disable_host_interrupts is called. Signed-off-by: Mian Yousaf Kaukab Tested-by: Robert Baldyga --- drivers/usb/dwc2/core.c | 5 +++-- 1 file changed, 3 insertions(+), 2

[PATCH v1 09/32] usb: dwc2: host: reset frame number after suspend

2015-09-09 Thread Mian Yousaf Kaukab
From: Gregory Herrero Frame number is reset in hardware after exiting hibernation. Thus, reset frame_number and ensure qh are queued with correct sched_frame. Otherwise, qh->sched_frame may be too high compared to current frame number (which is 0). This can delay

[PATCH v1 06/32] usb: dwc2: host: avoid resetting lx_state to L3 during disconnect

2015-09-09 Thread Mian Yousaf Kaukab
From: Gregory Herrero When a device is disconnected, lx_state must not be changed since the device may be disconnected whereas controller is still powered. Signed-off-by: Gregory Herrero Signed-off-by: Mian Yousaf Kaukab

[PATCH v1 10/32] usb: dwc2: host: disconnect hcd prior stopping it

2015-09-09 Thread Mian Yousaf Kaukab
From: Gregory Herrero In case controller is asked to stop while devices are connected, disconnect all devices and clean up before stopping. Signed-off-by: Gregory Herrero Signed-off-by: Mian Yousaf Kaukab

[PATCH v1 13/32] usb: dwc2: host: clear pending interrupts prior hibernation

2015-09-09 Thread Mian Yousaf Kaukab
From: Gregory Herrero If an interrupt rises during hibernation process, dwc2 will assert interrupt line to interrupt controller. If interrupt is level sensitive, interrupt handler will be called in a loop because dwc2 will not be able to clear it while controller is

[PATCH v1 25/32] usb: dwc2: gadget: print complete setup packet

2015-09-09 Thread Mian Yousaf Kaukab
wIndex field was missing. Also print in natural order instead of Req first, so that its easier to compare for example against bus analyzer logs. Signed-off-by: Mian Yousaf Kaukab Tested-by: Robert Baldyga --- drivers/usb/dwc2/gadget.c | 7 ---

[PATCH v1 26/32] usb: dwc2: gadget: stop current transfer on dequeue

2015-09-09 Thread Mian Yousaf Kaukab
If the request being dequeued is already started, disable endpoint to stop the transfer and then call dwc2_hsotg_complete_request(). Endpoint will be re-enabled on next call to dwc2_hsotg_start_req(). Signed-off-by: Mian Yousaf Kaukab Tested-by: Robert Baldyga

[PATCH v1 27/32] usb: dwc2: gadget: kill ep0 requests before reinitializing core

2015-09-09 Thread Mian Yousaf Kaukab
Make sure there are no requests pending on ep0 before reinitializing core. Otherwise, dwc2_hsotg_enqueue_setup will fail afterwards. Signed-off-by: Mian Yousaf Kaukab Tested-by: Robert Baldyga --- drivers/usb/dwc2/gadget.c | 8 +++- 1 file

[PATCH v1 22/32] usb: dwc2: gadget: set op_state in vbus_session call

2015-09-09 Thread Mian Yousaf Kaukab
From: Gregory Herrero Some device may have external id pin control enabled, so op_state will not be set on id pin interrupt change. Thus, ensure op_state is set to peripheral during vbus detection. Signed-off-by: Gregory Herrero

[PATCH v1 28/32] usb: dwc2: gadget: only reset core after addressed state

2015-09-09 Thread Mian Yousaf Kaukab
There is a 200ms guard period to avoid unnecessary resets of the dwc2 ip. This delay sometimes prove to be too large when usbcv is run with an ehci host. dwc2 only needs to be reset after addressed state. Change the logic to reset ip after addressed state. Signed-off-by: Mian Yousaf Kaukab

[PATCH v1 30/32] usb: dwc2: gadget: exit hibernation before power down

2015-09-09 Thread Mian Yousaf Kaukab
From: Gregory Herrero When disconnecting cable, controller will detect a suspend condition and enter partial power down. If vbus_session is called by the phy driver during hibernation, make sure controller exit hibernation before it is accessed. Signed-off-by:

[PATCH v1 29/32] usb: dwc2: gadget: unmask idstschng interrupt only if controller supports it

2015-09-09 Thread Mian Yousaf Kaukab
From: Gregory Herrero idstschng interrupt should not be used when id pin control is external. This is already handled on dwc2 host part. Fix it on gadget part as well. Signed-off-by: Gregory Herrero Signed-off-by: Mian Yousaf Kaukab

[PATCH v1 24/32] usb: dwc2: gadget: ignore stall check for ep0

2015-09-09 Thread Mian Yousaf Kaukab
dwc2_hsotg_start_req starts a request only if endpoint is not stalled. Ignore this check for ep0 as core will clear DOEPCTL0.Stall after sending stall handshake. Prepare instead for receiving next setup packet. Signed-off-by: Mian Yousaf Kaukab Tested-by: Robert Baldyga

[PATCH v1 31/32] usb: dwc2: gadget: handle reset interrupt before endpoint interrupts

2015-09-09 Thread Mian Yousaf Kaukab
If system is loaded, reset, enum-done and setup interrupts can occur at the same time. Current interrupt handling sequence will handle setup packet's interrupt before handling reset interrupt. Which will break the enumeration process. Correct sequence is to handle reset, enum-done and then any

[PATCH v1 23/32] usb: dwc2: gadget: abort core init if core_reset fails

2015-09-09 Thread Mian Yousaf Kaukab
From: Gregory Herrero No point of continue with initialization if core is not in a sane state. Signed-off-by: Gregory Herrero Signed-off-by: Mian Yousaf Kaukab Tested-by: Robert Baldyga ---

[PATCH v1 32/32] usb: dwc2: exit hibernation on session request

2015-09-09 Thread Mian Yousaf Kaukab
Controller enters hibernation through suspend interrupt on disconnection. On connection, session request interrupt is generated. dwc2 must exit hibernation and restore state from this interrupt before continuing. In host mode, exit from hibernation is handled by bus_resume function.

[PATCH v1 20/32] usb: dwc2: force dr_mode in case of configuration mismatch

2015-09-09 Thread Mian Yousaf Kaukab
If dual role configuration is not selected, check and force dr_mode based on the selected configuration. Signed-off-by: Mian Yousaf Kaukab Tested-by: Robert Baldyga --- drivers/usb/dwc2/platform.c | 11 +++ 1 file changed, 11

Re: [PATCH v4 07/13] usb: otg: add OTG core

2015-09-09 Thread Roger Quadros
On 09/09/15 11:13, Peter Chen wrote: > On Wed, Sep 09, 2015 at 12:08:10PM +0300, Roger Quadros wrote: >> On 09/09/15 05:21, Peter Chen wrote: >>> On Tue, Sep 08, 2015 at 03:25:25PM +0300, Roger Quadros wrote: On 08/09/15 11:31, Peter Chen wrote: > On Mon, Sep 07, 2015 at

Re: Maintainer of drivers/usb/serial/mos7840.c

2015-09-09 Thread Johan Hovold
On Wed, Sep 09, 2015 at 09:55:52AM +0200, mar...@franksalomon.de wrote: > Hello All, > > Please, I need to know how is the maintainer of > drivers/usb/serial/mos7840.c for kernel version 2.6.32. I'm the maintainer for that driver, but the 2.6.32 stable kernel is maintained by Willy Tarreau.

Re: [PATCH v4 10/13] usb: hcd: Adapt to OTG core

2015-09-09 Thread Roger Quadros
On 09/09/15 05:23, Peter Chen wrote: > On Mon, Aug 24, 2015 at 04:21:21PM +0300, Roger Quadros wrote: >> The existing usb_add/remove_hcd() functionality >> remains unchanged for non-OTG devices. For OTG >> devices they only register the HCD with the OTG core. >> >> Introduce

Re: [PATCH v4 07/13] usb: otg: add OTG core

2015-09-09 Thread Peter Chen
On Wed, Sep 09, 2015 at 12:08:10PM +0300, Roger Quadros wrote: > On 09/09/15 05:21, Peter Chen wrote: > > On Tue, Sep 08, 2015 at 03:25:25PM +0300, Roger Quadros wrote: > >> > >> > >> On 08/09/15 11:31, Peter Chen wrote: > >>> On Mon, Sep 07, 2015 at 01:23:01PM +0300, Roger Quadros wrote: >

Re: [PATCH 3/5] USB: io_ti: Move download and boot mode code out of download_fw

2015-09-09 Thread Johan Hovold
On Tue, Sep 01, 2015 at 05:54:16PM -0500, Peter E. Berger wrote: > From: "Peter E. Berger" > > Separate the download and boot mode code from download_fw() into two new > helper functions: do_download_mode() and do_boot_mode(), and fix formatting > in some of the comments.

Re: [PATCH 2/5] USB: io_ti: use serial->interface for messages in download_fw

2015-09-09 Thread Johan Hovold
On Wed, Sep 02, 2015 at 10:02:53AM +0200, Oliver Neukum wrote: > On Tue, 2015-09-01 at 17:54 -0500, Peter E. Berger wrote: > > From: "Peter E. Berger" > > > > Use serial->interface instead of serial->dev for messages in download_fw(). > > Why? The firmware is per device

Re: [PATCH v7 1/5] dt-bindings: Add usb3.0 phy binding for MT65xx SoCs

2015-09-09 Thread Rob Herring
On 09/08/2015 01:17 AM, Chunfeng Yun wrote: > add a DT binding documentation of usb3.0 phy for MT65xx > SoCs from Mediatek. > > Signed-off-by: Chunfeng Yun Acked-by: Rob Herring > --- > .../devicetree/bindings/phy/phy-mt65xx-usb.txt | 69 >

[PATCH v2 1/2] usb: musb: set the controller speed based on the config setting

2015-09-09 Thread Bin Liu
Set the Power register HSENAB bit based on musb->config->maximum_speed, so that the glue layer can control MUSB to work in high- or full-speed. Signed-off-by: Bin Liu --- drivers/usb/musb/musb_core.c | 10 +- include/linux/usb/musb.h | 2 +- 2 files changed, 6

Re: [PATCH v2 2/2] usb: musb: dsps: control musb speed based on dts setting

2015-09-09 Thread Bin Liu
Hi, On 09/09/2015 08:56 AM, Sergei Shtylyov wrote: Hello. On 9/9/2015 4:37 PM, Bin Liu wrote: Set musb config->maximum_speed based on the dts setting to control musb speed. By default musb works in high-speed mode. Adding maximum-speed = "full-speed"; to dts usb node will force musb

[PATCH v2 2/2] usb: musb: dsps: control musb speed based on dts setting

2015-09-09 Thread Bin Liu
Set musb config->maximum_speed based on the dts setting to control musb speed. By default musb works in high-speed mode. Adding maximum-speed = "full-speed"; to dts usb node will force musb to full-speed mode. Signed-off-by: Bin Liu --- drivers/usb/musb/musb_dsps.c | 14

Re: [PATCH v2 2/2] usb: musb: dsps: control musb speed based on dts setting

2015-09-09 Thread Sergei Shtylyov
Hello. On 9/9/2015 4:37 PM, Bin Liu wrote: Set musb config->maximum_speed based on the dts setting to control musb speed. By default musb works in high-speed mode. Adding maximum-speed = "full-speed"; to dts usb node will force musb to full-speed mode. Signed-off-by: Bin Liu

Re: [PATCH 5/5] USB: io_ti: Move request_firmware from edge_startup to download_fw

2015-09-09 Thread Johan Hovold
On Tue, Sep 01, 2015 at 05:54:18PM -0500, Peter E. Berger wrote: > From: "Peter E. Berger" > > Move request_firmware from edge_startup to download_fw > > Signed-off-by: Peter E. Berger > --- > drivers/usb/serial/io_ti.c | 56 >

Re: [PATCH v1] media: uvcvideo: handle urb completion in a work queue

2015-09-09 Thread Alan Stern
On Wed, 9 Sep 2015, Laurent Pinchart wrote: > On Wednesday 09 September 2015 10:30:12 Hans de Goede wrote: > > On 08-09-15 16:36, Alan Stern wrote: > > > On Tue, 8 Sep 2015, Hans de Goede wrote: > > >> On 09/07/2015 06:23 PM, Mian Yousaf Kaukab wrote: > > >>> urb completion callback is executed

Re: [PATCH v2 2/2] usb: musb: dsps: control musb speed based on dts setting

2015-09-09 Thread Felipe Balbi
On Wed, Sep 09, 2015 at 09:04:55AM -0500, Bin Liu wrote: > Hi, > > On 09/09/2015 08:56 AM, Sergei Shtylyov wrote: > >Hello. > > > >On 9/9/2015 4:37 PM, Bin Liu wrote: > > > >>Set musb config->maximum_speed based on the dts setting to control musb > >>speed. > >> > >>By default musb works in

Re: [PATCH v1] media: uvcvideo: handle urb completion in a work queue

2015-09-09 Thread Alan Stern
On Wed, 9 Sep 2015, Laurent Pinchart wrote: > > > Instead of fixing the issue in the uvcvideo driver, would it then make > > > more sense to fix it in the remaining hcd drivers ? > > > > Unfortunately that's not so easy. It involves some subtle changes > > related to the way isochronous

Re: PROBLEM: lsusb -v freezes kernel on Acer ES1-111M

2015-09-09 Thread Roland Weber
Hi Alan, I've switched to kernel 4.2 for the latest debug sessions. In drivers/usb/host/ehci-hcd.c, ehci_stop calls ehci_silence_controller which calls ehci_halt: static int ehci_halt (struct ehci_hcd *ehci) { u32 temp; printk(KERN_INFO "ehci_halt: entry\n"); spin_lock_irq(>lock);

Re: [PATCH v1] media: uvcvideo: handle urb completion in a work queue

2015-09-09 Thread Alan Stern
On Wed, 9 Sep 2015, Hans de Goede wrote: > Hi, > > On 08-09-15 16:36, Alan Stern wrote: > > On Tue, 8 Sep 2015, Hans de Goede wrote: > > > >> Hi, > >> > >> On 09/07/2015 06:23 PM, Mian Yousaf Kaukab wrote: > >>> urb completion callback is executed in host controllers interrupt > >>> context. To

Re: PROBLEM: lsusb -v freezes kernel on Acer ES1-111M

2015-09-09 Thread Alan Stern
On Wed, 9 Sep 2015, Roland Weber wrote: > Hi Alan, > > I've switched to kernel 4.2 for the latest debug sessions. > In drivers/usb/host/ehci-hcd.c, ehci_stop calls > ehci_silence_controller which calls ehci_halt: > > static int ehci_halt (struct ehci_hcd *ehci) > { > u32 temp; > >

Re: [PATCH v4 07/13] usb: otg: add OTG core

2015-09-09 Thread Alan Stern
On Wed, 9 Sep 2015, Roger Quadros wrote: > (adding back folks in cc) > > On 08/09/15 20:35, Alan Stern wrote: > > On Tue, 8 Sep 2015, Roger Quadros wrote: > > > What if there is another architecture like so? > > C: > [Parent] > | >

Re: [PATCH v1] media: uvcvideo: handle urb completion in a work queue

2015-09-09 Thread Laurent Pinchart
Hi Alan, On Wednesday 09 September 2015 11:14:38 Alan Stern wrote: > On Wed, 9 Sep 2015, Laurent Pinchart wrote: > > On Wednesday 09 September 2015 10:30:12 Hans de Goede wrote: > >> On 08-09-15 16:36, Alan Stern wrote: > >>> On Tue, 8 Sep 2015, Hans de Goede wrote: > On 09/07/2015 06:23 PM,

Re: [RESEND PATCH 3/7] usb: phy: isp1301: Export I2C module alias information

2015-09-09 Thread Javier Martinez Canillas
Hello, On 09/01/2015 05:29 PM, Javier Martinez Canillas wrote: > Hello Greg and Felipe, > > On 08/25/2015 08:31 AM, Javier Martinez Canillas wrote: >> The I2C core always reports the MODALIAS uevent as "i2c:> regardless if the driver was matched using the I2C id_table or the >> of_match_table.

Re: [PATCH v2 1/1] usb: dwc2: gadget: parity fix in isochronous mode

2015-09-09 Thread John Youn
On 9/9/2015 11:16 AM, Roman Bacik wrote: >> -Original Message- >> From: John Youn [mailto:john.y...@synopsys.com] >> Sent: September-03-15 11:53 PM >> To: Scott Branden; John Youn; Greg Kroah-Hartman; linux- >> u...@vger.kernel.org; Roman Bacik >> Cc: linux-ker...@vger.kernel.org;

RE: [PATCH v2 1/1] usb: dwc2: gadget: parity fix in isochronous mode

2015-09-09 Thread Roman Bacik
> -Original Message- > From: John Youn [mailto:john.y...@synopsys.com] > Sent: September-09-15 7:11 PM > To: Roman Bacik; John Youn; Scott Branden; Greg Kroah-Hartman; linux- > u...@vger.kernel.org > Cc: linux-ker...@vger.kernel.org; bcm-kernel-feedback-list > Subject: Re: [PATCH v2 1/1]

RE: [PATCH v2 1/1] usb: dwc2: gadget: parity fix in isochronous mode

2015-09-09 Thread Roman Bacik
> -Original Message- > From: John Youn [mailto:john.y...@synopsys.com] > Sent: September-09-15 7:25 PM > To: Roman Bacik; John Youn; Scott Branden; Greg Kroah-Hartman; linux- > u...@vger.kernel.org > Cc: linux-ker...@vger.kernel.org; bcm-kernel-feedback-list > Subject: Re: [PATCH v2 1/1]

RE: [PATCH v2 1/1] usb: dwc2: gadget: parity fix in isochronous mode

2015-09-09 Thread Roman Bacik
> -Original Message- > From: Roman Bacik > Sent: September-09-15 7:36 PM > To: 'John Youn'; Scott Branden; Greg Kroah-Hartman; linux- > u...@vger.kernel.org > Cc: linux-ker...@vger.kernel.org; bcm-kernel-feedback-list > Subject: RE: [PATCH v2 1/1] usb: dwc2: gadget: parity fix in

RE: [PATCH v2 1/1] usb: dwc2: gadget: parity fix in isochronous mode

2015-09-09 Thread Roman Bacik
> -Original Message- > From: Roman Bacik > Sent: September-09-15 7:17 PM > To: 'John Youn'; Scott Branden; Greg Kroah-Hartman; linux- > u...@vger.kernel.org > Cc: linux-ker...@vger.kernel.org; bcm-kernel-feedback-list > Subject: RE: [PATCH v2 1/1] usb: dwc2: gadget: parity fix in

Re: [PATCH v2 1/1] usb: dwc2: gadget: parity fix in isochronous mode

2015-09-09 Thread John Youn
On 9/9/2015 7:16 PM, Roman Bacik wrote: >> -Original Message- >> From: John Youn [mailto:john.y...@synopsys.com] >> Sent: September-09-15 7:11 PM >> To: Roman Bacik; John Youn; Scott Branden; Greg Kroah-Hartman; linux- >> u...@vger.kernel.org >> Cc: linux-ker...@vger.kernel.org;

Re: [PATCH v2 1/2] usb: musb: set the controller speed based on the config setting

2015-09-09 Thread Felipe Balbi
On Wed, Sep 09, 2015 at 12:18:27PM -0500, Bin Liu wrote: > Hi, > > On 09/09/2015 08:37 AM, Bin Liu wrote: > >Set the Power register HSENAB bit based on musb->config->maximum_speed, > >so that the glue layer can control MUSB to work in high- or full-speed. > > > >Signed-off-by: Bin Liu

Re: [PATCH v2 1/2] usb: musb: set the controller speed based on the config setting

2015-09-09 Thread Felipe Balbi
On Wed, Sep 09, 2015 at 12:55:24PM -0500, Bin Liu wrote: > On Wed, Sep 9, 2015 at 12:51 PM, Felipe Balbi wrote: > > On Wed, Sep 09, 2015 at 12:46:43PM -0500, Bin Liu wrote: > >> Hi, > >> > >> On Wed, Sep 9, 2015 at 12:26 PM, Felipe Balbi wrote: > >> > On Wed, Sep 09,

[PATCH v3] usb: musb: set the controller speed based on the config setting

2015-09-09 Thread Bin Liu
Set the Power register HSENAB bit based on musb->config->maximum_speed, so that the glue layer can control MUSB to work in high- or full-speed. Signed-off-by: Bin Liu --- drivers/usb/musb/musb_core.c | 16 ++-- include/linux/usb/musb.h | 2 +- 2 files changed, 11

RE: [PATCH v2 1/1] usb: dwc2: gadget: parity fix in isochronous mode

2015-09-09 Thread Roman Bacik
> -Original Message- > From: John Youn [mailto:john.y...@synopsys.com] > Sent: September-03-15 11:53 PM > To: Scott Branden; John Youn; Greg Kroah-Hartman; linux- > u...@vger.kernel.org; Roman Bacik > Cc: linux-ker...@vger.kernel.org; bcm-kernel-feedback-list > Subject: Re: [PATCH v2 1/1]

Re: qcserial: AT unsolicited response codes missing with Dell Wireless 5808e

2015-09-09 Thread David Ward
On 09/08/2015 05:16 PM, Reinhard Speyerer wrote: > On Mon, Aug 31, 2015 at 07:18:05PM +, Ward, David - 0665 - MITLL wrote: >> On 01/06/2015 03:58 AM, Bj=F8rn Mork wrote: >>> Johan Hovold writes: >>> Ok, let's move the PID to option and if it turns out that more of these

Re: [PATCH v2 1/2] usb: musb: set the controller speed based on the config setting

2015-09-09 Thread Bin Liu
Hi, On 09/09/2015 08:37 AM, Bin Liu wrote: Set the Power register HSENAB bit based on musb->config->maximum_speed, so that the glue layer can control MUSB to work in high- or full-speed. Signed-off-by: Bin Liu --- drivers/usb/musb/musb_core.c | 10 +-

Re: [PATCH v2 1/2] usb: musb: set the controller speed based on the config setting

2015-09-09 Thread Bin Liu
Hi, On Wed, Sep 9, 2015 at 12:26 PM, Felipe Balbi wrote: > On Wed, Sep 09, 2015 at 12:18:27PM -0500, Bin Liu wrote: >> Hi, >> >> On 09/09/2015 08:37 AM, Bin Liu wrote: >> >Set the Power register HSENAB bit based on musb->config->maximum_speed, >> >so that the glue layer can control

Re: [PATCH v2 1/2] usb: musb: set the controller speed based on the config setting

2015-09-09 Thread Felipe Balbi
On Wed, Sep 09, 2015 at 12:46:43PM -0500, Bin Liu wrote: > Hi, > > On Wed, Sep 9, 2015 at 12:26 PM, Felipe Balbi wrote: > > On Wed, Sep 09, 2015 at 12:18:27PM -0500, Bin Liu wrote: > >> Hi, > >> > >> On 09/09/2015 08:37 AM, Bin Liu wrote: > >> >Set the Power register HSENAB bit

Re: [PATCH v2 1/2] usb: musb: set the controller speed based on the config setting

2015-09-09 Thread Bin Liu
On Wed, Sep 9, 2015 at 12:56 PM, Felipe Balbi wrote: > On Wed, Sep 09, 2015 at 12:55:24PM -0500, Bin Liu wrote: >> On Wed, Sep 9, 2015 at 12:51 PM, Felipe Balbi wrote: >> > On Wed, Sep 09, 2015 at 12:46:43PM -0500, Bin Liu wrote: >> >> Hi, >> >> >> >> On Wed, Sep 9,

Re: Maintainer of drivers/usb/serial/mos7840.c

2015-09-09 Thread Greg KH
On Wed, Sep 09, 2015 at 09:55:52AM +0200, mar...@franksalomon.de wrote: > Hello All, > > Please, I need to know how is the maintainer of drivers/usb/serial/mos7840.c > for kernel version 2.6.32. No one "maintains" that old, obsolete, kernel version for new fixes. Please ask the company that is

[PATCH v3] usb: musb: dsps: control musb speed based on dts setting

2015-09-09 Thread Bin Liu
Set musb config->maximum_speed based on the dts setting to control musb speed. By default musb works in high-speed mode. Adding maximum-speed = "full-speed"; to dts usb node will force musb to full-speed mode. Signed-off-by: Bin Liu --- drivers/usb/musb/musb_dsps.c | 13

Re: [PATCH v2 1/2] usb: musb: set the controller speed based on the config setting

2015-09-09 Thread Bin Liu
On Wed, Sep 9, 2015 at 12:51 PM, Felipe Balbi wrote: > On Wed, Sep 09, 2015 at 12:46:43PM -0500, Bin Liu wrote: >> Hi, >> >> On Wed, Sep 9, 2015 at 12:26 PM, Felipe Balbi wrote: >> > On Wed, Sep 09, 2015 at 12:18:27PM -0500, Bin Liu wrote: >> >> Hi, >> >> >> >> On