Re: [PATCH 4/8] usb: xhci: pci: Only create Intel mux device when it's needed

2018-09-02 Thread Andy Shevchenko
On Fri, Aug 31, 2018 at 5:21 PM Heikki Krogerus wrote: > > Only create thre Intel role mux device if the platform has > USB peripheral controller PCI device. > > While here, enable the role mux on Apollo Lake platforms. > +static int xhci_pci_board_has_udc(void) > +{ > + struct pci_dev *udc

Re: [PATCH 0/8] usb: typec: A few more improvements for Intel CHT

2018-09-02 Thread Andy Shevchenko
On Fri, Aug 31, 2018 at 5:21 PM Heikki Krogerus wrote: > > Hi, > > The second last patch in this series will make it possible to use > multiport USB Type-C and PD controllers with the muxes. The CHT > connections are simply adapted to that. The rest of the series will > mainly allow us to use the

Nothing in /sys/class/udc

2018-09-02 Thread Ranran
Hello, I try to add gadget configfs as described in: https://www.kernel.org/doc/Documentation/usb/gadget_configfs.txt Yet, I find nothing in /sys/class/udc: user@user-VirtualBox:~/tegra$ ls /sys/class/udc/ -al total 0 drwxr-xr-x 2 root root 0 Sep 3 00:30 . drwxr-xr-x 58 root root 0 Sep 3 00:30

[PATCH] usb: chipidea: imx: make MODULE_LICENCE and SPDX-identifier match

2018-09-02 Thread Marcus Folkesson
The SPDX-License-Identifier is set to GPL-2.0+, which correspond to MODULE_LICENSE "GPL". Signed-off-by: Marcus Folkesson --- drivers/usb/chipidea/ci_hdrc_imx.c | 2 +- drivers/usb/chipidea/usbmisc_imx.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/usb/chipidea/

[PATCH] usb: chipidea: imx: do not use preprocessor conditionals for PM

2018-09-02 Thread Marcus Folkesson
Use preprocessor conditionals for CONFIG_PM and CONFIG_PM_SLEEP is not necessary since SET_SYSTEM_SLEEP_PM_OPS and SET_RUNTIME_PM_OPS does that internally. It is also the preferred way according to our coding style guidelines. Signed-off-by: Marcus Folkesson --- drivers/usb/chipidea/ci_hdrc_imx

Re: [PATCH v1] arm64: dts: dwc3: Add description of 'configure-gfladj'

2018-09-02 Thread Shawn Guo
On Wed, Aug 29, 2018 at 03:33:24PM +0800, Yinbo Zhu wrote: > This patch is to add description of 'configure-gfladj' to binding > so that configuring devicetree > > Signed-off-by: Yinbo Zhu Ah, okay. You just started documenting the binding. So please send me dts patch only after the correspond

[PATCH] usb: typec: fix kernel-doc parameter warning

2018-09-02 Thread Randy Dunlap
From: Randy Dunlap Fix kernel-doc warning (13 times): ../drivers/usb/typec/class.c:1497: warning: Excess function parameter 'drvdata' description in 'typec_port_register_altmode' Signed-off-by: Randy Dunlap Cc: Heikki Krogerus --- drivers/usb/typec/class.c |1 - 1 file changed, 1 deleti

[PATCH] usb/dwc3/gadget: fix kernel-doc parameter warning

2018-09-02 Thread Randy Dunlap
From: Randy Dunlap Fix kernel-doc warning: ../drivers/usb/dwc3/gadget.c:510: warning: Excess function parameter 'dwc' description in 'dwc3_gadget_start_config' Signed-off-by: Randy Dunlap Cc: Felipe Balbi --- drivers/usb/dwc3/gadget.c |1 - 1 file changed, 1 deletion(-) --- lnx-419-rc2

RE: linux-next: Tree for Aug 31 (drivers/usb/gadget/udc/renesas_usb3)

2018-09-02 Thread Yoshihiro Shimoda
Hi, > From: Randy Dunlap, Sent: Saturday, September 1, 2018 12:43 AM > > On 08/30/2018 08:03 PM, Stephen Rothwell wrote: > > Hi all, > > > > Changes since 20180830: > > > > on i386: > > drivers/usb/gadget/udc/renesas_usb3.o: In function `renesas_usb3_probe': > renesas_usb3.c:(.text+0x16da): und

RE: [PATCH] usb: chipidea: imx: make MODULE_LICENCE and SPDX-identifier match

2018-09-02 Thread Peter Chen
> > The SPDX-License-Identifier is set to GPL-2.0+, which correspond to > MODULE_LICENSE "GPL". > > Signed-off-by: Marcus Folkesson > --- > drivers/usb/chipidea/ci_hdrc_imx.c | 2 +- > drivers/usb/chipidea/usbmisc_imx.c | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --g