Re: [PATCH v5 01/12] drivers: base: Unified device connection lookup

2018-03-01 Thread Hans de Goede
Hi, On 01-03-18 10:32, Andy Shevchenko wrote: On Thu, Mar 1, 2018 at 9:28 AM, Heikki Krogerus wrote: Hi, On Thu, Mar 01, 2018 at 12:56:57AM +, Jun Li wrote: +struct device *device_find_connection(struct device *dev, const char +*con_id) { + return

Re: Continuous USB resets on NXP i.MX 6ULL device

2018-03-01 Thread Stefan Wahren
Hi Peter, Am 01.03.2018 um 03:00 schrieb Peter Chen: > On Wed, Feb 28, 2018 at 06:08:20PM +0100, Stefan Wahren wrote: >> Hi, >> >> i'm not sure this is related, but i noticed something ugly in >> driver/usb/chipidea/usbmisc_imx.c. >> >> The compatible "fsl,imx6ul-usbmisc" uses imx6sx_usbmisc_ops,

Re: patch 8466489ef5ba48272ba4fa4ea9f8f403306de4c7 breaks Renesas USB3 controller functionality

2018-03-01 Thread Bockholdt Arne
On Thu, 2018-02-15 at 19:29 +, Marc Zyngier wrote: > [+ Ard, who helped me chasing the initial issue] > > On 15/02/18 06:43, Bockholdt Arne wrote: > > Hi all, > > > > on our Intel Atom C2578 server with a SuperMicro A1SAi board and a > > Renesas uPD720201 USB 3.0 host controller the

Re: [PATCH 3/7] usb: dwc3: pci: Store device properties dynamically

2018-03-01 Thread Felipe Balbi
Hi, John Youn writes: > On 02/22/2018 07:20 AM, Andy Shevchenko wrote: >> On Thu, Feb 22, 2018 at 1:57 AM, Thinh Nguyen >> wrote: >>> On 2/21/2018 6:46 AM, Andy Shevchenko wrote: On Tue, Feb 20, 2018 at 11:12 PM, Thinh Nguyen

Re: [PATCH v3] usb: host: ehci-platform: add support for optional external vbus supply

2018-03-01 Thread Amelie DELAUNAY
Hi Roger, On 02/28/2018 12:01 PM, Roger Quadros wrote: > Hi Amelie, > > On 23/02/18 15:46, Amelie Delaunay wrote: >> On some boards, especially when vbus supply requires large current, >> and the charge pump on the PHY isn't enough, an external vbus power switch >> may be used. >> Add support

[PATCH v4 1/2] dt-bindings: usb: ehci: add optional external vbus supply property

2018-03-01 Thread Amelie Delaunay
On some boards, especially when vbus supply requires large current, and the charge pump on the PHY isn't enough, an external vbus power switch per port may be used. Add portN_vbus-supply property to usb-ehci bindings. As the number of ports depends on the ehci controller, and the port on which an

[PATCH RESEND 0/2] Fix STM32F7 DWC2 OTG HS binding

2018-03-01 Thread Amelie Delaunay
This patchset fixes STM32F7 DWC2 OTG HS binding. It actually re-applies the v2 former patches adding STM32F7 DWC2 OTG HS support. Bindings reviewed by Rob Herring. Amelie Delaunay (2): dt-bindings: usb: fix the STM32F7 DWC2 OTG HS core binding usb: dwc2: fix STM32F7 USB OTG HS compatible

Re: [PATCH v3] usb: host: ehci-platform: add support for optional external vbus supply

2018-03-01 Thread Amelie DELAUNAY
Hi Robin, On 02/28/2018 02:33 PM, Robin Murphy wrote: > Hi Amelie, > > Just a couple of drive-by coding style comments... > > On 23/02/18 13:46, Amelie Delaunay wrote: >> On some boards, especially when vbus supply requires large current, >> and the charge pump on the PHY isn't enough, an

Re: [PATCH v5 01/12] drivers: base: Unified device connection lookup

2018-03-01 Thread Andy Shevchenko
On Thu, Mar 1, 2018 at 9:28 AM, Heikki Krogerus wrote: > Hi, > > On Thu, Mar 01, 2018 at 12:56:57AM +, Jun Li wrote: >> > +struct device *device_find_connection(struct device *dev, const char >> > +*con_id) { >> > + return __device_find_connection(dev,

[PATCH v4 0/2] usb: host: ehci-platform: add support for optional external vbus supply

2018-03-01 Thread Amelie Delaunay
This patchset adds support for optional external vbus supply per port in ehci-platform. On some boards, especially when vbus supply requires large current, and the charge pump on the PHY isn't enough, an external vbus power switch per port may be used. --- Changes in v4: * Address Roger Quadros

Re: Wakeup from USB on i.MX6S

2018-03-01 Thread Ralf.4MailingLists
Good Morning Peter, (it's 9:38 am in here, I don't know your time zone :) ) On 1 March 2018 8:33 AM, Peter Chen wrote: > On Wed, Feb 28, 2018 at 01:17:09PM -0500, Ralf.4MailingLists wrote: > > > Would you please try below changes: > > > 1. By connecting external HUB at

[PATCH RESEND 1/2] dt-bindings: usb: fix the STM32F7 DWC2 OTG HS core binding

2018-03-01 Thread Amelie Delaunay
This patch fixes binding documentation for DWC2 controller in HS mode found on STMicroelectronics STM32F7 SoC. The v2 former patch [1] had been acked by Rob Herring, but v1 was merged. [1] https://patchwork.kernel.org/patch/9925575/ Fixes: 000777dadc7e ("dt-bindings: usb: Document the STM32F7xx

[PATCH v4 2/2] usb: host: ehci-platform: add support for optional external vbus supply

2018-03-01 Thread Amelie Delaunay
On some boards, especially when vbus supply requires large current, and the charge pump on the PHY isn't enough, an external vbus power switch may be used. Add support for optional external vbus supply per port in ehci-platform. Signed-off-by: Amelie Delaunay Reviewed-by:

RE: [PATCH] staging: typec: handle vendor defined part and modify drp toggling flow

2018-03-01 Thread Jun Li
Hi Shufan Please don't top posting > -Original Message- > From: shufan_lee(李書帆) [mailto:shufan_...@richtek.com] > Sent: 2018年3月1日 16:49 > To: Jun Li ; ShuFanLee ; > heikki.kroge...@linux.intel.com; li...@roeck-us.net; g...@kroah.com > Cc:

[PATCH RESEND 2/2] usb: dwc2: fix STM32F7 USB OTG HS compatible

2018-03-01 Thread Amelie Delaunay
This patch fixes compatible for STM32F7 USB OTG HS and consistently rename dw2_set_params function. The v2 former patch [1] had been acked by Paul Young, but v1 was merged. [1] https://patchwork.kernel.org/patch/9925573/ Fixes: d8fae8b93682 ("usb: dwc2: add support for STM32F7xx USB OTG HS")

Re: [PATCH 2/3] usb: xhci: tegra: Add runtime PM support

2018-03-01 Thread Mathias Nyman
On 14.02.2018 18:34, Jon Hunter wrote: Add runtime PM support to the Tegra XHCI driver and move the function calls to enable/disable the clocks, regulators and PHY into the runtime PM callbacks. Signed-off-by: Jon Hunter --- drivers/usb/host/xhci-tegra.c | 80

RE: [PATCH] staging: typec: handle vendor defined part and modify drp toggling flow

2018-03-01 Thread 李書帆
Hi Jun, > -Original Message- > From: Jun Li [mailto:jun...@nxp.com] > Sent: Thursday, March 01, 2018 6:06 PM > To: shufan_lee(李書帆); ShuFanLee; heikki.kroge...@linux.intel.com; > li...@roeck-us.net; g...@kroah.com > Cc: cy_huang(黃啟原); linux-ker...@vger.kernel.org;

Re: [PATCH] usb: Don't disable Latency tolerance Messaging (LTM) before port reset

2018-03-01 Thread Sergei Shtylyov
Hello! On 03/01/2018 02:15 PM, Mathias Nyman wrote: > Disabing Latency Tolerance Messaging before port reset is unnecessary. > LTM is automatically disabled at port reset. > > If host can't communicate with the device the LTM message will fail, and > the hub driver will unnecessarily do a

Re: [PATCH] usb: Don't disable Latency tolerance Messaging (LTM) before port reset

2018-03-01 Thread Greg KH
On Thu, Mar 01, 2018 at 01:15:28PM +0200, Mathias Nyman wrote: > Disabing Latency Tolerance Messaging before port reset is unnecessary. > LTM is automatically disabled at port reset. > > If host can't communicate with the device the LTM message will fail, and > the hub driver will unnecessarily

Re: [PATCH] usb: Don't disable Latency tolerance Messaging (LTM) before port reset

2018-03-01 Thread Mathias Nyman
On 01.03.2018 13:56, Greg KH wrote: On Thu, Mar 01, 2018 at 01:15:28PM +0200, Mathias Nyman wrote: Disabing Latency Tolerance Messaging before port reset is unnecessary. LTM is automatically disabled at port reset. If host can't communicate with the device the LTM message will fail, and the

[PATCH] usb: Don't disable Latency tolerance Messaging (LTM) before port reset

2018-03-01 Thread Mathias Nyman
Disabing Latency Tolerance Messaging before port reset is unnecessary. LTM is automatically disabled at port reset. If host can't communicate with the device the LTM message will fail, and the hub driver will unnecessarily do a logical disconnect. Broken communication is ofter the reason for a

Re: [PATCH 3/7] usb: dwc3: pci: Store device properties dynamically

2018-03-01 Thread John Youn
On 03/01/2018 12:25 AM, Felipe Balbi wrote: Hi, John Youn writes: On 02/22/2018 07:20 AM, Andy Shevchenko wrote: On Thu, Feb 22, 2018 at 1:57 AM, Thinh Nguyen wrote: On 2/21/2018 6:46 AM, Andy Shevchenko wrote: On Tue, Feb 20, 2018 at

Re: [PATCH] USB: storage: Add JMicron bridge 152d:2567 to unusual_devs.h

2018-03-01 Thread Alan Stern
On Thu, 1 Mar 2018, Teijo Kinnunen wrote: > This USB-SATA controller seems to be similar with JMicron bridge > 152d:2566 already on the list. Adding it here fixes "Invalid > field in cdb" errors. > > Signed-off-by: Teijo Kinnunen > Cc: sta...@vger.kernel.org Acked-by:

bug report : TBR oveflow

2018-03-01 Thread ljoublanc
I'm a user of gentoo linux, and would like to raise a bug report. I hope these are the correct channels; if not, I apologise in advance. I'm using a realtek-based USB3 to RJ45 gigabit adapter. This plugs directly into my laptop, which is a Toshiba Radius P20W-C-103, skylake based, with the

Re: [RFC] Re: usb: gadget: ffs: Fix BUG when userland exits with submitted AIO transfers

2018-03-01 Thread Vincent Pelletier
Hello, On Sun, 7 Jan 2018 12:48:35 +, Vincent Pelletier wrote: > Some update: this patch looks good on DWC3: both unplugging and > unbinding the UDC while AOI transfers are queued works fine. > > What I intended to do is to also test it on DWC2, so I bought a >

[PATCH] USB: storage: Add JMicron bridge 152d:2567 to unusual_devs.h

2018-03-01 Thread Teijo Kinnunen
This USB-SATA controller seems to be similar with JMicron bridge 152d:2566 already on the list. Adding it here fixes "Invalid field in cdb" errors. Signed-off-by: Teijo Kinnunen Cc: sta...@vger.kernel.org --- drivers/usb/storage/unusual_devs.h | 7 +++ 1 file

[PATCH v2] staging: rtl8188eu: Move a blank line

2018-03-01 Thread Dafna Hirschfeld
Move a blank line from in the middle of a declaration list to after the declaration list, to improve readability. Issue found by checkpatch. Signed-off-by: Dafna Hirschfeld --- drivers/staging/rtl8188eu/hal/usb_halinit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

Re: [PATCH] usb: Don't disable Latency tolerance Messaging (LTM) before port reset

2018-03-01 Thread Alan Stern
On Thu, 1 Mar 2018, Mathias Nyman wrote: > Disabing Latency Tolerance Messaging before port reset is unnecessary. > LTM is automatically disabled at port reset. > > If host can't communicate with the device the LTM message will fail, and > the hub driver will unnecessarily do a logical

Re: patch 8466489ef5ba48272ba4fa4ea9f8f403306de4c7 breaks Renesas USB3 controller functionality

2018-03-01 Thread Marc Zyngier
On 01/03/18 08:01, Bockholdt Arne wrote: > > On Thu, 2018-02-15 at 19:29 +, Marc Zyngier wrote: >> [+ Ard, who helped me chasing the initial issue] >> >> On 15/02/18 06:43, Bockholdt Arne wrote: >>> Hi all, >>> >>> on our Intel Atom C2578 server with a SuperMicro A1SAi board and a >>> Renesas

usb: musb: "(null)" in sysfs mode file after disabling a gadget (and at other times, system hangs)

2018-03-01 Thread Merlijn Wajer
Hi, I found that the "mode" file in musb sys node will return "(null)" when one would expect it show b_idle. Wrong /mode file: [Fresh boot, cable not connected yet] root@n900devuan:~# modprobe g_nokia [Insert cable connected to PC] root@n900devuan:~# cat

Re: [PATCH v5 12/12] extcon: axp288: Set USB role where necessary

2018-03-01 Thread Chanwoo Choi
Hi, Basically, I have no objection. But I'll reply the my ack tag after finishing the review of 'devcon and usb_role_switch' from USB maintainer. And I have a question. Before this patch, extcon-axp288 is used to detect charger connector and extcon-intel-int3496 is used to detect the USB_HOST

Re: [PATCH v5 6/6] drm/bridge/sii8620: use micro-USB cable detection logic to detect MHL

2018-03-01 Thread Chanwoo Choi
On 2018년 02월 28일 22:44, Andrzej Hajda wrote: > On 27.02.2018 23:26, Chanwoo Choi wrote: >> Hi, >> >> On 2018년 02월 27일 21:05, Andrzej Hajda wrote: >>> On 27.02.2018 12:08, Chanwoo Choi wrote: Hi, On 2018년 02월 27일 16:11, Andrzej Hajda wrote: > From: Maciej Purski

RE: Continuous USB resets on NXP i.MX 6ULL device

2018-03-01 Thread Peter Chen
> >> > > For non-core registers, i.mx6ull can use i.mx6q as its base setting, > > the bits you mentioned may also be reserved at imx6qdl RM. > > > just for my understanding: MX6_BM_NON_BURST_SETTING is a no-op on > i.MX6ULL or not properly documented in reference manual? Not properly documented

Q: How does gadgetfs knows that host initiated IN transfer ?

2018-03-01 Thread Ran Shalit
Hello, I am developing simple loopback using gadgetfs, but I am a bit confused as to how gadgefs knows that host initiated IN transfer. Gadgetfs use read/write on endpoints, so as to my understanding, it can only: 1. When using "read" on OUT endpoint - accept a new transfer from host to device.

[PATCH 0/3] *** SUBJECT HERE ***

2018-03-01 Thread Dafna Hirschfeld
*** BLURB HERE *** Dafna Hirschfeld (3): staging: rtl8192e: Fix issues regarding blank lines staging: rtl8192e: Remove unnecessary parentheses staging: rtl8192e: Add spaces around operators. drivers/staging/rtl8192e/rtl8192e/rtl_wx.c | 51 +++--- 1 file changed, 12

[PATCH 1/3] staging: rtl8192e: Fix issues regarding blank lines

2018-03-01 Thread Dafna Hirschfeld
Fix multiple blank lines and blank lines after braces. Issues found with checkpatch.pl Signed-off-by: Dafna Hirschfeld --- drivers/staging/rtl8192e/rtl8192e/rtl_wx.c | 27 --- 1 file changed, 27 deletions(-) diff --git

Re: [PATCH 0/3] *** SUBJECT HERE ***

2018-03-01 Thread Greg KH
On Thu, Mar 01, 2018 at 07:08:28PM +0200, Dafna Hirschfeld wrote: > *** BLURB HERE *** I think you missed a subject and a blurb, and you sent it to the wrong mailing list :( try again? greg k-h -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to