USB Bluetooth dongle stop response with timeout error

2018-10-27 Thread Morikazu Fumita
Hello there, I am working on an embedded system with Altera Cyclone V SoC FPGA to support Bluetooth PAN profile (NAP service) using an USB Bluetooth dongle. The problem is the dongle seems to stop or get unstable responding to the Bluetooth sub system sometimes. For example, "bluetoothctl" d

[PATCH 08/10] usb: typec: Add support for usb role switch in rt1711h driver

2018-10-27 Thread Yu Chen
This patch add struct device_connection to rt1711h driver to support find "usb-role-switch" in tcpm_register_port. Cc: Heikki Krogerus Cc: Greg Kroah-Hartman Cc: Lucas Tsai Cc: shufan_lee Cc: John Stultz Cc: Binghui Wang Signed-off-by: Yu Chen --- drivers/usb/typec/tcpm/tcpci_rt1711h.c | 1

[PATCH 09/10] usb: gadget: Add configfs attribuite for controling match_existing_only

2018-10-27 Thread Yu Chen
Currently the "match_existing_only" of usb_gadget_driver in configfs is set to one which is not flexible. Dwc3 udc will be removed when usb core switch to host mode. This causes failure of writing name of dwc3 udc to configfs's UDC attribuite. To fix this we need to add a way to change the config o

[PATCH 10/10] dts: hi3660: Add support for usb on Hikey960

2018-10-27 Thread Yu Chen
This patch adds support for usb on Hikey960. Cc: Wei Xu Cc: Rob Herring Cc: Mark Rutland Cc: linux-arm-ker...@lists.infradead.org Cc: John Stultz Cc: Binghui Wang Signed-off-by: Yu Chen --- arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts | 35 +++ arch/arm64/boot/dts/hisilicon

[PATCH 04/10] usb: dwc3: dwc3-hisi: Add code for dwc3 of Hisilicon Soc Platform

2018-10-27 Thread Yu Chen
This driver handles the poweron and shutdown of dwc3 core on Hisilicon Soc Platform. Cc: Felipe Balbi Cc: Greg Kroah-Hartman Cc: "David S. Miller" Cc: Mauro Carvalho Chehab Cc: Andrew Morton Cc: Arnd Bergmann Cc: John Stultz Cc: Binghui Wang Signed-off-by: Yu Chen --- MAINTAINERS

[PATCH 03/10] dt-bindings: misc: Add bindings for HiSilicon usb hub and data role switch functionality on HiKey960

2018-10-27 Thread Yu Chen
This patch adds binding documentation to support usb hub and usb data role switch of Hisilicon HiKey&HiKey960 Board. Cc: Rob Herring Cc: Mark Rutland Cc: John Stultz Cc: Binghui Wang Signed-off-by: Yu Chen --- .../bindings/misc/hisilicon-hikey-usb.txt | 24 ++ 1

[PATCH 07/10] hikey960: Support usb functionality of Hikey960

2018-10-27 Thread Yu Chen
This driver handles usb hub power on and typeC port event of HiKey960 board: 1)DP&DM switching between usb hub and typeC port base on typeC port state 2)Control power of usb hub on Hikey960 3)Control vbus of typeC port 4)Handle typeC port event to switch data role Cc: Arnd Bergmann Cc: Greg Kroah

[PATCH 00/10] Add support for usb on Hikey960

2018-10-27 Thread Yu Chen
The patchset adds support for usb functionality of Hikey960, includes: - dwc3 driver for Hisilicon Kirin Soc hi3660 - usb driver for HiKey960 board - some adjustment in dwc3, usb gadget and typec driver - dts for support usb of HiKey960 Yu Chen (10): dt-bindings: usb: add support for dwc3 contro

[PATCH 01/10] dt-bindings: usb: add support for dwc3 controller on HiSilicon SoCs

2018-10-27 Thread Yu Chen
This patch adds binding descriptions to support the dwc3 controller on HiSilicon SoCs and boards like the HiKey960. Cc: Greg Kroah-Hartman Cc: Rob Herring Cc: Mark Rutland Cc: John Stultz Signed-off-by: Yu Chen --- .../devicetree/bindings/usb/dwc3-hisi.txt | 53 +

[PATCH 02/10] dt-bindings: phy: Add support for HiSilicon's hi3660 USB PHY

2018-10-27 Thread Yu Chen
This patch adds binding documentation for supporting the hi3660 usb phy on boards like the HiKey960. Cc: Rob Herring Cc: Mark Rutland Cc: John Stultz Cc: Binghui Wang Signed-off-by: Yu Chen --- .../devicetree/bindings/phy/phy-hi3660-usb3.txt | 21 + 1 file changed, 21

[PATCH 05/10] usb: dwc3: Add two quirks for Hisilicon Kirin Soc Platform

2018-10-27 Thread Yu Chen
There are tow quirks for DesignWare USB3 DRD Core of Hisilicon Kirin Soc. 1)SPLIT_BOUNDARY_DISABLE should be set for Host mode 2)A GCTL soft reset should be executed when switch mode Cc: Felipe Balbi Cc: Greg Kroah-Hartman Cc: John Stultz Cc: Binghui Wang Signed-off-by: Yu Chen --- drivers/u

[PATCH 06/10] phy: Add usb phy support for hi3660 Soc of Hisilicon

2018-10-27 Thread Yu Chen
This driver handles usb phy power on and shutdown for hi3660 Soc of Hisilicon. Cc: Kishon Vijay Abraham I Cc: "David S. Miller" Cc: Greg Kroah-Hartman Cc: Mauro Carvalho Chehab Cc: Andrew Morton Cc: Arnd Bergmann Cc: Shawn Guo Cc: Pengcheng Li Cc: Jianguo Sun Cc: Masahiro Yamada Cc: Jian

Re: [PATCH 0/4 v5] Keep rtsx_usb suspended when there's no card

2018-10-27 Thread Oleksandr Natalenko
Hi. This is based on Ulf's work [1] [2]. This patch series can keep rtsx_usb suspended, to save ~0.5W on Intel platforms and ~1.5W on AMD platforms. [1] https://patchwork.kernel.org/patch/10440583/ [2] https://patchwork.kernel.org/patch/10445725/ Kai-Heng Feng (4): misc: rtsx_usb: Use USB r

[PATCH] xhci: Add quirk to workaround the errata seen on Cavium Thunder-X2 Soc

2018-10-27 Thread Cherian, George
Implement workaround for ThunderX2 Errata-129 (documented in CN99XX Known Issues" available at Cavium support site). As per ThunderX2errata-129, USB-2.0 device may come up as USB-1.0 If a connection to a USB-1.0 device is followed by another connection to a USB-2.0 device, the link will come up as

Re: [PATCH 03/10] dt-bindings: misc: Add bindings for HiSilicon usb hub and data role switch functionality on HiKey960

2018-10-27 Thread Sergei Shtylyov
On 27.10.2018 12:58, Yu Chen wrote: This patch adds binding documentation to support usb hub and usb data role switch of Hisilicon HiKey&HiKey960 Board. Cc: Rob Herring Cc: Mark Rutland Cc: John Stultz Cc: Binghui Wang Signed-off-by: Yu Chen --- .../bindings/misc/hisilicon-hikey-usb.txt