RE: [RFC PATCH v3 1/2] usb: typec: USB Type-C Port Manager (tcpm)

2016-09-11 Thread Jun Li
Hi Guenter > -Original Message- > From: Guenter Roeck [mailto:gro...@google.com] > Sent: Saturday, September 10, 2016 10:23 AM > To: Jun Li > Cc: Guenter Roeck ; Felipe Balbi > ; Chandra Sekhar Anagani > ; Bruce Ashfield > ; Bin Gao ; Pranav Tipnis > ; Heikki Krogerus > ; linux-ker...@vge

Re: [usb:usb-next 124/126] ERROR: "ulpi_unregister_driver" [drivers/phy/phy-tusb1210.ko] undefined!

2016-09-11 Thread Fengguang Wu
On Mon, Sep 12, 2016 at 11:36:20AM +0800, Peter Chen wrote: On Mon, Sep 12, 2016 at 07:16:07AM +0800, kbuild test robot wrote: tree: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-next head: ab57f86198d6ff20371613d4a02fd4841972a5c0 commit: ad764c49f65ac171e493e6baf39bc8ba

Re: [usb:usb-next 124/126] ERROR: "ulpi_unregister_driver" [drivers/phy/phy-tusb1210.ko] undefined!

2016-09-11 Thread Fengguang Wu
Hi Peter, On Mon, Sep 12, 2016 at 11:36:20AM +0800, Peter Chen wrote: On Mon, Sep 12, 2016 at 07:16:07AM +0800, kbuild test robot wrote: tree: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-next head: ab57f86198d6ff20371613d4a02fd4841972a5c0 commit: ad764c49f65ac171e493e

Re: [usb:usb-next 124/126] ERROR: "ulpi_unregister_driver" [drivers/phy/phy-tusb1210.ko] undefined!

2016-09-11 Thread Peter Chen
On Mon, Sep 12, 2016 at 07:16:07AM +0800, kbuild test robot wrote: > tree: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git > usb-next > head: ab57f86198d6ff20371613d4a02fd4841972a5c0 > commit: ad764c49f65ac171e493e6baf39bc8ba296ef376 [124/126] usb: Kconfig: move > ulpi bus supp

Re: musb: isoc pkt loss with pwc

2016-09-11 Thread Bin Liu
Hi, On Tue, Aug 30, 2016 at 11:44:33PM +0300, Matwey V. Kornilov wrote: > 2016-08-30 21:30 GMT+03:00 Bin Liu : > > Hi, > > > > On Sun, Aug 28, 2016 at 01:13:55PM +0300, Matwey V. Kornilov wrote: > >> Hello Bin, > >> > >> I would like to start new thread on my issue. Let me recall where the > >> i

RE: [RFC PATCH v3 1/2] usb: typec: USB Type-C Port Manager (tcpm)

2016-09-11 Thread Jun Li
> -Original Message- > From: Guenter Roeck [mailto:gro...@google.com] > Sent: Monday, September 12, 2016 10:24 AM > To: Jun Li > Cc: Guenter Roeck ; Felipe Balbi > ; Chandra Sekhar Anagani > ; Bruce Ashfield > ; Bin Gao ; Pranav Tipnis > ; Heikki Krogerus > ; linux-ker...@vger.kernel.org

Re: crash by cdc_acm driver in kernels 4.8-rc1/5

2016-09-11 Thread Wim Osterholt
On Thu, Sep 08, 2016 at 03:05:15PM +0200, Oliver Neukum wrote: > > your stack trace is broken. Did you fail to install the System.map file? > > Regards > Oliver A laptop, more broken than the rest, does not output anything after inserting. Later on it crashes. No system.map f

Re: [RFC PATCH v3 1/2] usb: typec: USB Type-C Port Manager (tcpm)

2016-09-11 Thread Guenter Roeck
On Sun, Sep 11, 2016 at 7:16 PM, Jun Li wrote: > Hi Guenter > >> -Original Message- >> From: Guenter Roeck [mailto:gro...@google.com] >> Sent: Saturday, September 10, 2016 10:23 AM >> To: Jun Li >> Cc: Guenter Roeck ; Felipe Balbi >> ; Chandra Sekhar Anagani >> ; Bruce Ashfield >> ; Bin G

[usb:usb-next 124/126] ERROR: "ulpi_unregister_driver" [drivers/phy/phy-tusb1210.ko] undefined!

2016-09-11 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-next head: ab57f86198d6ff20371613d4a02fd4841972a5c0 commit: ad764c49f65ac171e493e6baf39bc8ba296ef376 [124/126] usb: Kconfig: move ulpi bus support out of host config: i386-randconfig-n0-09112120 (attached as .config) comp

Re: [PATCH 00/26] constify local structures

2016-09-11 Thread Julia Lawall
On Sun, 11 Sep 2016, Joe Perches wrote: > On Sun, 2016-09-11 at 15:05 +0200, Julia Lawall wrote: > > Constify local structures. > > Thanks Julia. > > A few suggestions & questions: > > Perhaps the script should go into scripts/coccinelle/ > so that future cases could be caught by the robot > and

[PATCH resend v4 0/1] musb: sunxi: Add support for platform_set_mode

2016-09-11 Thread Hans de Goede
Hi Bin Liu, I believe this patch is ready for merging now (the sun4i-usb-phy bits have been merged already), please merge. Thanks & Regards, Hans -- 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

[PATCH resend v4] musb: sunxi: Add support for platform_set_mode

2016-09-11 Thread Hans de Goede
This allows run-time dr_mode switching support via the "mode" musb sysfs attribute. Signed-off-by: Hans de Goede --- Changes in v2: -No changes Changes in v3: -Fix switch-case code style Changes in v4: -Call musb_root_disconnect() before role change to make sure any attached devices get seen as

Re: [PATCH 00/26] constify local structures

2016-09-11 Thread Joe Perches
On Sun, 2016-09-11 at 15:05 +0200, Julia Lawall wrote: > Constify local structures. Thanks Julia. A few suggestions & questions: Perhaps the script should go into scripts/coccinelle/ so that future cases could be caught by the robot and commit message referenced by the patch instances. Can you

Re: [PATCH 00/26] constify local structures

2016-09-11 Thread Jarkko Sakkinen
On Sun, Sep 11, 2016 at 03:05:42PM +0200, Julia Lawall wrote: > Constify local structures. > > The semantic patch that makes this change is as follows: > (http://coccinelle.lip6.fr/) Just my two cents but: 1. You *can* use a static analysis too to find bugs or other issues. 2. However, you shoul

Re: EHCI reset missing

2016-09-11 Thread Alan Stern
On Sun, 11 Sep 2016, Arun Thiruvanantha wrote: > Thanks for your replay. > > Reload means reset the hardware. > > these are steps doing: > > 1 Booting > 2 reset > issue will occurring after doing above steps. for more than 5 times. What kernel version are you using? > Also some time EUSB chi

Re: EHCI reset missing

2016-09-11 Thread Alan Stern
Questions like this should always be sent to the linux-usb mailing list. On Sun, 11 Sep 2016, Arun Thiruvanantha wrote: > Hi Alan, > I am working some USB driver Issue that when we do several reload , USB > device is not detected . What do you mean by "reload"? What kernel version are you usin

Re: [PATCH 4/7] phy: meson: add USB2 PHY support for Meson8b and GXBB

2016-09-11 Thread Martin Blumenstingl
On Fri, Sep 9, 2016 at 10:36 PM, Martin Blumenstingl wrote: > On Fri, Sep 9, 2016 at 5:33 PM, Kevin Hilman wrote: >> Martin Blumenstingl writes: >> >>> On Thu, Sep 8, 2016 at 10:53 PM, Ben Dooks >>> wrote: On 08/09/16 21:42, Kevin Hilman wrote: > > Ben Dooks writes: > >>

[PATCH v2 4/6] ARM64: meson-gxbb: add USB Nodes

2016-09-11 Thread Martin Blumenstingl
Add the nodes for the dwc2 USB controller and the related USB PHYs. Currently we force usb0 to host mode because OTG is currently not working in our PHY driver. Signed-off-by: Martin Blumenstingl Signed-off-by: Jerome Brunet --- arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi | 43 +

[PATCH v2 6/6] ARM64: meson-gxbb-vega-s95: Enable USB Nodes

2016-09-11 Thread Martin Blumenstingl
Enable both gxbb USB controller and add a 5V regulator for the OTG port VBUS Signed-off-by: Martin Blumenstingl Signed-off-by: Jerome Brunet --- .../boot/dts/amlogic/meson-gxbb-vega-s95.dtsi | 30 ++ 1 file changed, 30 insertions(+) diff --git a/arch/arm64/boot/dts/aml

[PATCH v2 5/6] ARM64: meson-gxbb-p20x: Enable USB Nodes

2016-09-11 Thread Martin Blumenstingl
From: Jerome Brunet Enable both gxbb USB controller and add a 5V regulator for the OTG port VBUS Signed-off-by: Jerome Brunet --- arch/arm64/boot/dts/amlogic/meson-gxbb-p20x.dtsi | 29 1 file changed, 29 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-gxb

[PATCH v2 2/6] Documentation: dt-bindings: Add documentation for the Meson USB2 PHYs

2016-09-11 Thread Martin Blumenstingl
Add the documentation for the bindings for the Meson8b and GXBB USB2 PHYs. Signed-off-by: Martin Blumenstingl --- .../devicetree/bindings/phy/meson-usb2-phy.txt | 27 ++ 1 file changed, 27 insertions(+) create mode 100644 Documentation/devicetree/bindings/phy/meson-usb2-

[PATCH v2 3/6] phy: meson: add USB2 PHY support for Meson8b and GXBB

2016-09-11 Thread Martin Blumenstingl
This is a new driver for the USB PHY found in Meson8b and GXBB SoCs. Signed-off-by: Martin Blumenstingl Signed-off-by: Jerome Brunet Tested-by: Kevin Hilman --- drivers/phy/Kconfig | 11 ++ drivers/phy/Makefile | 1 + drivers/phy/phy-meson-usb2.c | 280 +

[PATCH v2 1/6] usb: dwc2: add support for Meson8b and GXBB SoCs

2016-09-11 Thread Martin Blumenstingl
From: Jerome Brunet Add compatible strings for amlogic Meson8b and GXBB SoCs with the corresponding configuration parameters. Signed-off-by: Jerome Brunet Signed-off-by: Martin Blumenstingl --- Documentation/devicetree/bindings/usb/dwc2.txt | 2 ++ drivers/usb/dwc2/platform.c

[PATCH v2 0/6] usb/phy: Add Amlogic Meson8b and GXBB USB support

2016-09-11 Thread Martin Blumenstingl
This series adds initial support for the DWC2 USB controllers and Meson specific USB PHYs found in Meson8b and GXBB SoCs, which means: - new DWC2 bindings and platform specific core configuration - a PHY driver supporting the USB2 PHY on Meson8b and GXBB SoCs The first DWC2 controller is usually c

[PATCH 16/26] ezusb: constify local structures

2016-09-11 Thread Julia Lawall
For structure types defined in the same file or local header files, find top-level static structure declarations that have the following properties: 1. Never reassigned. 2. Address never taken 3. Not passed to a top-level macro call 4. No pointer or array-typed field passed to a function or stored

[PATCH 00/26] constify local structures

2016-09-11 Thread Julia Lawall
Constify local structures. The semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/) // // The first rule ignores some cases that posed problems @r disable optional_qualifier@ identifier s != {peri_clk_data,threshold_attr,tracer_flags,tracer}; identifier i != {s5k5baf

Re: [RESEND PATCH v7 3/4] usb: dwc2: assert phy reset when waking up in rk3288 platform

2016-09-11 Thread kbuild test robot
Hi Randy, [auto build test ERROR on rockchip/for-next] [also build test ERROR on v4.8-rc5 next-20160909] [cannot apply to phy/next] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] [Suggest to use git(>=2.9.0) format-patch --base= (or --base=auto

[GIT PULL] USB driver fixes for 4.8-rc6

2016-09-11 Thread Greg KH
The following changes since commit c6935931c1894ff857616ff8549b61236a19148f: Linux 4.8-rc5 (2016-09-04 14:31:46 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git/ tags/usb-4.8-rc6 for you to fetch changes up to 6b98174b957ce87e0efe7c

Re: [v2] musb: omap2430: do not assume balanced enable()/disable()

2016-09-11 Thread Laurent Pinchart
Hi Tony, On Saturday 10 Sep 2016 06:07:50 Tony Lindgren wrote: > * Andreas Kemnade [160910 04:27]: > > On Fri, 9 Sep 2016 16:40:15 -0700 Tony Lindgren wrote: > >> * Tony Lindgren [160909 14:33]: > >>> * Andreas Kemnade [160909 14:22]: > We have two independant things: > 1. phy-twl4030