[PATCH v6 1/4] usb: dbc: early driver for xhci debug capability

2017-01-21 Thread Lu Baolu
xHCI debug capability (DbC) is an optional but standalone functionality provided by an xHCI host controller. Software learns this capability by walking through the extended capability list of the host. xHCI specification describes DbC in section 7.6. This patch introduces the code to probe and

[PATCH v6 3/4] usb: serial: add dbc debug device support to usb_debug

2017-01-21 Thread Lu Baolu
This patch adds dbc debug device support to the usb_debug driver. Signed-off-by: Lu Baolu Acked-by: Johan Hovold --- drivers/usb/serial/usb_debug.c | 28 +--- 1 file changed, 25 insertions(+), 3 deletions(-) diff --git

[PATCH v6 2/4] x86: add support for earlyprintk via USB3 debug port

2017-01-21 Thread Lu Baolu
Add support for early printk by writing debug messages to the USB3 debug port. Users can use this type of early printk by specifying kernel parameter of "earlyprintk=xdbc". This gives users a chance of providing debug output. The hardware for USB3 debug port requires DMA memory blocks. This

[PATCH v6 4/4] usb: doc: add document for USB3 debug port usage

2017-01-21 Thread Lu Baolu
Add Documentation/usb/usb3-debug-port.rst. This document includes the user guide for USB3 debug port. Cc: linux-...@vger.kernel.org Signed-off-by: Lu Baolu --- Documentation/usb/usb3-debug-port.rst | 98 +++ 1 file changed, 98

[PATCH v6 0/4] usb: early: add support for early printk through USB3 debug port

2017-01-21 Thread Lu Baolu
xHCI debug capability (DbC) is an optional but standalone functionality provided by an xHCI host controller. With DbC hardware initialized, the system will present a debug device through the USB3 debug port (normally the first USB3 port). The debug device is fully compliant with the USB framework

Re: [RESEND PATCH 6/6] dt-bindings: phy-mt65xx-usb: add support for mt2712 platform

2017-01-21 Thread Chunfeng Yun
On Sat, 2017-01-21 at 14:08 -0600, Rob Herring wrote: > On Wed, Jan 18, 2017 at 02:00:14PM +0800, Chunfeng Yun wrote: > > add a new compatible string for "mt2712", and a new reference clock > > for SuperSpeed analog phy; > > > > Signed-off-by: Chunfeng Yun > > --- > >

Re: [PATCH v11 2/8] power: add power sequence library

2017-01-21 Thread Peter Chen
On Fri, Jan 20, 2017 at 11:21:27AM +0100, Rafael J. Wysocki wrote: > On Fri, Jan 20, 2017 at 8:52 AM, Peter Chen wrote: > > On Tue, Jan 10, 2017 at 03:02:41PM +0800, Peter Chen wrote: > >> On Sat, Jan 07, 2017 at 10:54:56AM +0200, Krzysztof Kozlowski wrote: > >> > On Thu,

Re: [PATCH v7 2/5] usb: chipidea: msm: Configure phy for appropriate mode

2017-01-21 Thread Peter Chen
On Fri, Jan 20, 2017 at 10:50:54AM -0800, Stephen Boyd wrote: > When the qcom chipidea controller is used with an extcon, we need > to signal device mode or host mode to the phy so it can configure > itself for the correct mode. This should be done after the phy is > powered up, so that the

Re: [PATCH 5/6] dt-bindings: mt8173-xhci: add reference clock

2017-01-21 Thread Chunfeng Yun
On Sat, 2017-01-21 at 14:12 -0600, Rob Herring wrote: > On Wed, Jan 18, 2017 at 02:08:26PM +0800, Chunfeng Yun wrote: > > add a reference clock for compatibility > > Same question here, too. The reason is the same as mt8173-mtu3 thanks a lot > -- To unsubscribe from this list: send the line

Re: [PATCH 6/6] dt-bindings: mt8173-mtu3: add reference clock

2017-01-21 Thread Chunfeng Yun
Hi, On Sat, 2017-01-21 at 14:11 -0600, Rob Herring wrote: > On Wed, Jan 18, 2017 at 02:08:27PM +0800, Chunfeng Yun wrote: > > add a reference clock for compatibility > > Why? This block suddenly has 2 clocks instead of 1? In fact, there is a reference clock which comes from 26M oscillator

RE: [PATCH v7 4/5] usb: chipidea: Signal vbus state to phy

2017-01-21 Thread Peter Chen
> > drivers/usb/chipidea/otg.c | 7 +-- > 1 file changed, 5 insertions(+), 2 deletions(-) > >diff --git a/drivers/usb/chipidea/otg.c b/drivers/usb/chipidea/otg.c index >10236fe71522..6ea702beed48 100644 >--- a/drivers/usb/chipidea/otg.c >+++ b/drivers/usb/chipidea/otg.c >@@ -134,10 +134,13 @@

RE: [PATCH v7 3/5] phy: Add set_vbus callback

2017-01-21 Thread Peter Chen
> * @set_mode: set the mode of the phy >+ * @set_vbus: enable/disable vbus in the phy (USB) > * @reset: resetting the phy > * @owner: the module owner containing the ops > */ >@@ -45,6 +46,7 @@ struct phy_ops { > int (*power_on)(struct phy *phy); > int (*power_off)(struct

Re: [PATCH V2 1/2] dt-bindings: leds: document new led-triggers property

2017-01-21 Thread Jacek Anaszewski
On 01/21/2017 05:24 PM, Rafał Miłecki wrote: > On 20 January 2017 at 23:35, Jacek Anaszewski > wrote: >> On 01/20/2017 10:56 PM, Rafał Miłecki wrote: >>> From: Rafał Miłecki >>> >>> Some LEDs can be related to particular devices described in DT. This

[PATCH v5] USB: Add uPD78F0730 USB to Serial Adaptor Driver

2017-01-21 Thread Maksim Salau
The adaptor can be found on development boards for 78k, RL78 and V850 microcontrollers produced by Renesas Electronics Corporation. This is not a full-featured USB to serial converter, however it allows basic communication and simple control which is enough for programming of on-board flash and

[PATCH v4] USB: Add uPD78F0730 USB to Serial Adaptor Driver

2017-01-21 Thread Maksim Salau
The adaptor can be found on development boards for 78k, RL78 and V850 microcontrollers produced by Renesas Electronics Corporation. This is not a full-featured USB to serial converter, however it allows basic communication and simple control which is enough for programming of on-board flash and

Re: [PATCH 6/6] dt-bindings: mt8173-mtu3: add reference clock

2017-01-21 Thread Rob Herring
On Wed, Jan 18, 2017 at 02:08:27PM +0800, Chunfeng Yun wrote: > add a reference clock for compatibility Why? This block suddenly has 2 clocks instead of 1? > > Signed-off-by: Chunfeng Yun > --- > .../devicetree/bindings/usb/mt8173-mtu3.txt| 10 +- >

Re: [PATCH v3 2/3] USB3/DWC3: Add property "snps, incr-burst-type-adjustment" for INCR burst type

2017-01-21 Thread Rob Herring
On Tue, Jan 3, 2017 at 8:24 PM, Jerry Huang wrote: > Hi, Rob, > >> -Original Message- >> From: Rob Herring [mailto:r...@kernel.org] >> Sent: Wednesday, January 04, 2017 5:24 AM >> To: Jerry Huang >> Cc: ba...@kernel.org; mark.rutl...@arm.com;

Re: [PATCH 5/6] dt-bindings: mt8173-xhci: add reference clock

2017-01-21 Thread Rob Herring
On Wed, Jan 18, 2017 at 02:08:26PM +0800, Chunfeng Yun wrote: > add a reference clock for compatibility Same question here, too. -- 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

Re: [PATCH 5/6] dt-bindings: mt8173-xhci: add reference clock

2017-01-21 Thread Rob Herring
On Wed, Jan 18, 2017 at 02:08:26PM +0800, Chunfeng Yun wrote: > add a reference clock for compatibility > > Signed-off-by: Chunfeng Yun > --- > .../devicetree/bindings/usb/mt8173-xhci.txt| 10 ++ > 1 file changed, 6 insertions(+), 4 deletions(-)

Re: [RESEND PATCH 6/6] dt-bindings: phy-mt65xx-usb: add support for mt2712 platform

2017-01-21 Thread Rob Herring
On Wed, Jan 18, 2017 at 02:00:14PM +0800, Chunfeng Yun wrote: > add a new compatible string for "mt2712", and a new reference clock > for SuperSpeed analog phy; > > Signed-off-by: Chunfeng Yun > --- > .../devicetree/bindings/phy/phy-mt65xx-usb.txt | 81 >

Re: [PATCH V2 1/2] dt-bindings: leds: document new led-triggers property

2017-01-21 Thread Rafał Miłecki
On 20 January 2017 at 23:35, Jacek Anaszewski wrote: > On 01/20/2017 10:56 PM, Rafał Miłecki wrote: >> From: Rafał Miłecki >> >> Some LEDs can be related to particular devices described in DT. This >> property allows specifying such relations. E.g.

[GIT PULL] USB driver fixes for 4.10-rc5

2017-01-21 Thread Greg KH
The following changes since commit 49def1853334396f948dcb4cedb9347abb318df5: Linux 4.10-rc4 (2017-01-15 16:21:59 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git/ tags/usb-4.10-rc5 for you to fetch changes up to

Re: [PATCH] USB: Add quirk for WORLDE easykey.25 MIDI keyboard

2017-01-21 Thread Greg Kroah-Hartman
On Fri, Jan 20, 2017 at 07:46:34PM +0100, Lukáš Lalinský wrote: > Add a quirk for WORLDE easykey.25 MIDI keyboard (idVendor=0218, > idProduct=0401). The device reports that it has config string > descriptor at index 3, but when the system selects the configuration > and tries to get the