Re: [RFC PATCH 1/1] USB: myriad-ma24xx-vsc: Firmware loader driver for USB Myriad ma24xx

2019-09-17 Thread Oliver Neukum
Am Montag, den 16.09.2019, 21:03 +1000 schrieb Rhys Kidd: > The Myriad ma24xx in USB Intel Neural Compute Stick and Intel Neural > Compute Stick 2 provides an API to accelerate AI inference calculations > on the dedicated SHAVE VLIW vector co-processors, which are orchestrated > by one or more LEON

Re: [PATCH V2 2/3] usb: dwc3: qcom: Add interconnect support in dwc3 driver

2019-09-17 Thread cchiluve
Hi Matthias, Thanks for the review. I Will address below comments and post changes in new version. On 2019-09-17 03:54, Matthias Kaehlcke wrote: Hi Chandana, On Mon, Sep 16, 2019 at 05:11:00PM +0530, Chandana Kishori Chiluveru wrote: Add interconnect support in dwc3-qcom driver to vote for

[PATCH V3 0/3] ADD interconnect support for Qualcomm DWC3 driver

2019-09-17 Thread Chandana Kishori Chiluveru
This path series aims to add interconnect support in dwc3-qcom driver on SDM845 SoCs. Changes from v2 -> v3 > Fixed review comments from Matthias and Manu > changed the functions prefix from usb_* to dwc3_qcom_* Changes since V1: > Comments by Georgi Djakov on "[PATCH 2/3]" addressed > [

[PATCH V3 2/3] usb: dwc3: qcom: Add interconnect support in dwc3 driver

2019-09-17 Thread Chandana Kishori Chiluveru
Add interconnect support in dwc3-qcom driver to vote for bus bandwidth. This requires for two different paths - from USB master to DDR slave. The other is from APPS master to USB slave. Signed-off-by: Chandana Kishori Chiluveru --- drivers/usb/dwc3/dwc3-qcom.c | 145

[PATCH V3 3/3] arm64: dts: sdm845: Add interconnect properties for USB

2019-09-17 Thread Chandana Kishori Chiluveru
Populate USB DT nodes with interconnect properties. Signed-off-by: Chandana Kishori Chiluveru --- arch/arm64/boot/dts/qcom/sdm845.dtsi | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi index fcb9330..e48

[PATCH V3 1/3] dt-bindings: Introduce interconnect properties for Qualcomm DWC3 driver

2019-09-17 Thread Chandana Kishori Chiluveru
Add documentation for the interconnects and interconnect-names properties for USB as detailed by bindings/interconnect/interconnect.txt. Signed-off-by: Chandana Kishori Chiluveru --- Documentation/devicetree/bindings/usb/qcom,dwc3.txt | 13 + 1 file changed, 13 insertions(+) diff --

Failed to connect to 4G modem

2019-09-17 Thread JH
Hi, I am running kernel LTS 4.19 in an i.MX6 board with a 4G LTE modem, it continually displayed following messages in a serial port tried and failed to connect to LTE modem, are there any problems in kernel 4.19 LTS to support usb qmi protocol and LTE modem connection? I did try the kernel versi

Re: Failed to connect to 4G modem

2019-09-17 Thread Greg KH
On Tue, Sep 17, 2019 at 09:29:34PM +1000, JH wrote: > Hi, > > I am running kernel LTS 4.19 in an i.MX6 board with a 4G LTE modem, it > continually displayed following messages in a serial port tried and > failed to connect to LTE modem, are there any problems in kernel 4.19 > LTS to support usb qm

[PATCH 0/4] Add simple-pm ops

2019-09-17 Thread Marco Felsch
Hi, this series adds the simple-pm ops to reinitialize the hub after a suspend. For this reason I added the vdd-supply to ensure that vdd is ready. Regards, Marco Marco Felsch (4): dt-bindings: usb: usb251xb: add documentation for voltage supply usb: usb251xb: add vdd supply support usb:

[PATCH 4/4] usb: usb251xb: add pm_ops

2019-09-17 Thread Marco Felsch
Currently the driver don't support pm_ops. These ops are not necessary if the supply isn't switchable (always on). This assumptions seems to be wrong because no one needs a powered hub during suspend-to-ram/disk. So adding simple_dev_pm_ops to be able to switch off the hub during suspend and to re

[PATCH 1/4] dt-bindings: usb: usb251xb: add documentation for voltage supply

2019-09-17 Thread Marco Felsch
Add the optional voltage supply documentation. If not specified the dummy-regulator is used. Signed-off-by: Marco Felsch --- Documentation/devicetree/bindings/usb/usb251xb.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/usb/usb251xb.txt b/Documentation/

[PATCH 2/4] usb: usb251xb: add vdd supply support

2019-09-17 Thread Marco Felsch
Currently we don't handle the supply. We need to add the supply support to be able to switch the supply off e.g. during a suspend-to-ram operation. So we can guarantee a correct (re-)initialization. Signed-off-by: Marco Felsch --- drivers/usb/misc/usb251xb.c | 10 ++ 1 file changed, 10 i

[PATCH 3/4] usb: usb251xb: simplify reset helper

2019-09-17 Thread Marco Felsch
Currently the reset handler was always called to deassert the reset line because assert the line was done during probe. Now if we want to support pm by turn of the supply we need to call this routine twice and the i2c_lock_bus is done twice too. To simplify that we can drop the state and just do a

[RFT PATCH] xhci: Prevent device initiated U1/U2 link pm if exit latency is too long

2019-09-17 Thread Mathias Nyman
If host/hub initiated link pm is prevented by a driver flag we still must ensure that periodic endpoints have longer service intervals than link pm exit latency before allowing device initiated link pm. Fix this by continue walking and checking endpoint service interval if xhci_get_timeout_no_hub_

Re: [RFT PATCH] xhci: Prevent device initiated U1/U2 link pm if exit latency is too long

2019-09-17 Thread Jan Schmidt
On 18/9/19 12:53 am, Mathias Nyman wrote: > If host/hub initiated link pm is prevented by a driver flag we still must > ensure that periodic endpoints have longer service intervals than link pm > exit latency before allowing device initiated link pm. > > Fix this by continue walking and checkin

[PATCH] USB: yurex: Don't retry on unexpected errors

2019-09-17 Thread Alan Stern
According to Greg KH, it has been generally agreed that when a USB driver encounters an unknown error (or one it can't handle directly), it should just give up instead of going into a potentially infinite retry loop. The three codes -EPROTO, -EILSEQ, and -ETIME fall into this category. They can be

Re: [PATCH V2 2/3] usb: dwc3: qcom: Add interconnect support in dwc3 driver

2019-09-17 Thread Matthias Kaehlcke
Hi Chandana, On Tue, Sep 17, 2019 at 04:39:20PM +0530, cchil...@codeaurora.org wrote: > Hi Matthias, > > Thanks for the review. I Will address below comments and post changes in new > version. > > On 2019-09-17 03:54, Matthias Kaehlcke wrote: > > Hi Chandana, > > > > On Mon, Sep 16, 2019 at 05:

Re: [PATCH V3 1/3] dt-bindings: Introduce interconnect properties for Qualcomm DWC3 driver

2019-09-17 Thread Matthias Kaehlcke
On Tue, Sep 17, 2019 at 04:40:47PM +0530, Chandana Kishori Chiluveru wrote: > Add documentation for the interconnects and interconnect-names > properties for USB as detailed by bindings/interconnect/interconnect.txt. > > Signed-off-by: Chandana Kishori Chiluveru > --- > Documentation/devicetree/

Re: [PATCH V3 2/3] usb: dwc3: qcom: Add interconnect support in dwc3 driver

2019-09-17 Thread Matthias Kaehlcke
On Tue, Sep 17, 2019 at 04:40:48PM +0530, Chandana Kishori Chiluveru wrote: > Add interconnect support in dwc3-qcom driver to vote for bus > bandwidth. > > This requires for two different paths - from USB master to > DDR slave. The other is from APPS master to USB slave. > > Signed-off-by: Chanda

Re: [PATCH V3 3/3] arm64: dts: sdm845: Add interconnect properties for USB

2019-09-17 Thread Matthias Kaehlcke
On Tue, Sep 17, 2019 at 04:40:49PM +0530, Chandana Kishori Chiluveru wrote: > Populate USB DT nodes with interconnect properties. > > Signed-off-by: Chandana Kishori Chiluveru > --- > arch/arm64/boot/dts/qcom/sdm845.dtsi | 12 > 1 file changed, 12 insertions(+) > > diff --git a/arc

Re: Failed to connect to 4G modem

2019-09-17 Thread JH
Hi Greg, On 9/17/19, Greg KH wrote: > On Tue, Sep 17, 2019 at 09:29:34PM +1000, JH wrote: >> Hi, >> >> I am running kernel LTS 4.19 in an i.MX6 board with a 4G LTE modem, it >> continually displayed following messages in a serial port tried and >> failed to connect to LTE modem, are there any pro

RE: [PATCH v5] usb: typec: ucsi: add support for separate DP altmode devices

2019-09-17 Thread Ajay Gupta
Hi Heikki, > -Original Message- > From: Heikki Krogerus > Sent: Friday, September 13, 2019 8:20 AM > To: Ajay Gupta > Cc: linux-usb@vger.kernel.org; Ajay Gupta > Subject: Re: [PATCH v5] usb: typec: ucsi: add support for separate DP altmode > devices > > Hi Ajay, > > On Fri, Sep 06, 20

Re: Failed to connect to 4G modem

2019-09-17 Thread Lars Melin
On 9/18/2019 04:38, JH wrote: .. That was always my thought until I tried kernel 5.1 under the same platform (nothing changed except the kernel version), the kernel 5.1 can connect to the 4G modem, I could not tell the hardware engineer if it was hardware problem where kernel 5.1 can connect

Re: [PATCH] [PATCH v7] USB: serial: pl2303: Add new PID to support PL2303HXN (TYPE_HXN)

2019-09-17 Thread Charles Yeh
Hello , Any update on this? Charles. Charles Yeh 於 2019年8月27日 週二 下午4:40寫道: > > Johan Hovold 於 2019年7月16日 週二 下午4:49寫道: > > > #define PL2303_FLOWCTRL_MASK 0xf0 > > > +#define PL2303_HXN_FLOWCTRL_MASK 0x1C > > > +#define PL2303_HXN_FLOWCTRL 0x0A > > > > I asked you to

Re: Failed to connect to 4G modem

2019-09-17 Thread Greg KH
On Wed, Sep 18, 2019 at 07:38:14AM +1000, JH wrote: > Hi Greg, > > On 9/17/19, Greg KH wrote: > > On Tue, Sep 17, 2019 at 09:29:34PM +1000, JH wrote: > >> Hi, > >> > >> I am running kernel LTS 4.19 in an i.MX6 board with a 4G LTE modem, it > >> continually displayed following messages in a serial