tree: https://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb.git
testing/next
head: acad1a1ec5cfc468edee11904f497ba9d0980bdf
commit: acad1a1ec5cfc468edee11904f497ba9d0980bdf [89/89] usb: dwc3: pci: call
_DSM for suspend/resume
config: arm-allmodconfig (attached as .config)
compiler: arm-li
tree: https://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb.git
testing/next
head: acad1a1ec5cfc468edee11904f497ba9d0980bdf
commit: 43fc60a00fd2b8e3297f008af841ef876861a1fe [60/89] usb: dwc3: Kconfig:
allow all glues to build if COMPILE_TEST
config: blackfin-allmodconfig (attached as .con
Hi,
Bin Liu writes:
> Hi,
>
> I run into a link state problem when dwc3 is in supper-speed device
> mode.
>
> Modprobe g_zero, link state is U3 (checked in DSTS).
>
> After dwc3 is enumerated by the host, the trace on the bus is as:
>
> [both Device and Host are in U0 now]
> D->H: LGO_U1
> H->D:
On Thu, 2016-10-20 at 10:29 -0600, Jonathan Corbet wrote:
> On Thu, 20 Oct 2016 18:22:28 +0200
> Oliver Neukum wrote:
>
> > > Why does this not remove the .tmpl file?
> >
> > 1. We might want to keep it
> > 2. It is an operation beyond the scope of this patch.
>
> I have to disagree with thi
On Thu, Oct 20, 2016 at 03:13:54PM +0100, Martyn Welch wrote:
> This patch adds support for the GPIO found on the CP2105. Unlike the GPIO
> provided by some of the other devices supported by the cp210x driver, the
> GPIO on the CP2015 is muxed on pins otherwise used for serial control
> lines. The
Use bool rather than u8 for the gpio-chip-registered flag.
Signed-off-by: Johan Hovold
---
drivers/usb/serial/cp210x.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/usb/serial/cp210x.c b/drivers/usb/serial/cp210x.c
index 213ed3868fed..ef7f1c01c2cc 100644
--- a
On 22.10.2016 01:25, Babu Moger wrote:
Never seen XHCI auto handoff working on TI and RENESAS cards.
Eventually, we force handoff. This code forces the handoff
unconditionally. It saves 5 seconds boot time for each card.
Signed-off-by: Babu Moger
Do the Renesas and TI controllers still advert
For isoc endpoint descriptor, the wMaxPacketSize is not real max packet
size (see Table 9-13. Standard Endpoint Descriptor, USB 2.0 specifcation),
it may contain the number of packet, so the real max packet should be
ep->desc->wMaxPacketSize && 0x7ff.
Cc: Felipe F. Tonello
Cc: Felipe Balbi
Fixes
Hi,
> From: Mathias Nyman
> Sent: Monday, October 24, 2016 6:58 PM
>
> On 22.10.2016 01:25, Babu Moger wrote:
> > Never seen XHCI auto handoff working on TI and RENESAS cards.
> > Eventually, we force handoff. This code forces the handoff
> > unconditionally. It saves 5 seconds boot time for each
Le 26/09/2016 à 09:18, Felipe Balbi a écrit :
>
> Hi,
>
> Greg Kroah-Hartman writes:
>> On Fri, Sep 23, 2016 at 04:20:45PM +0200, Nicolas Ferre wrote:
>>> Le 16/09/2016 à 10:36, Nicolas Ferre a écrit :
Le 15/09/2016 à 17:07, Alexandre Belloni a écrit :
> Since commit c32b5bcfa3c4 ("ARM:
Hi,
On Tue, Oct 18, 2016 at 9:56 AM, Stephen Boyd wrote:
> The ULPI bus can be built as a module, and it will soon be
> calling these functions when it supports probing devices from DT.
> Export them so they can be used by the ULPI module.
>
> Acked-by: Rob Herring
> Cc:
> Signed-off-by: Stephe
On 24/10/2016 at 13:59:47 +0200, Nicolas Ferre wrote :
> > Acked-by: Felipe Balbi
> >
> > If you prefer to pick it up as a pull request, I already have the patch
> > in my 'fixes' branch, just need to tag it and send it to you.
>
> Felipe,
>
> We agreed to delay this patch after the merge windo
On Fri, Oct 21, 2016 at 03:17:14PM -0600, Jonathan Corbet wrote:
> On Thu, 20 Oct 2016 15:15:00 +0200
> Oliver Neukum wrote:
>
> > It does no good to mention The 2.4 kernel series and neglect
> > USB 3.x and XHCI. Also with type C and micro/mini USB we better
> > not talk about the shape of conne
On Mon, Oct 17, 2016 at 08:54:46AM -0400, Bryan Paluch wrote:
> Increase ohci watchout delay to 275 ms. Previous delay was 250 ms
> with 20 ms of slack, after removing slack time some ohci controllers don't
> respond in time. Logs from systems with controllers that have the
> issue would show "HcDo
On 10/24/2016 5:54 AM, Yoshihiro Shimoda wrote:
Hi,
From: Mathias Nyman
Sent: Monday, October 24, 2016 6:58 PM
On 22.10.2016 01:25, Babu Moger wrote:
Never seen XHCI auto handoff working on TI and RENESAS cards.
Eventually, we force handoff. This code forces the handoff
unconditionally. It s
On Sat, Oct 22, 2016 at 10:14:21PM +0100, Aidan Thornton wrote:
> On 22 Oct 2016 15:56, "Johan Hovold" wrote:
> >
> > On Sat, Oct 22, 2016 at 03:24:56PM +0100, Aidan Thornton wrote:
> > > On 19 Oct 2016 09:42, "Johan Hovold" wrote:
> > > >
> > > > On Wed, Oct 19, 2016 at 09:26:39AM +0200, Grigori
On Sun, Oct 23, 2016 at 04:14:25PM +0200, Oliver Neukum wrote:
> On Sat, 2016-10-22 at 22:02 +0100, Aidan Thornton wrote:
> > This is an attempt to clean-up and resubmit some patches by Grigori
> > Goronzy a few months back adding support for parity, frame length, and
> > 2 stop bits to the CH340/1
On Sat, Oct 22, 2016 at 10:02:22PM +0100, Aidan Thornton wrote:
> This is an attempt to clean-up and resubmit some patches by Grigori
> Goronzy a few months back adding support for parity, frame length, and
> 2 stop bits to the CH340/1 driver and cleaning up some magic constants.
> His later patche
The kalmia_send_init_packet() returns zero or a negative return
code, but gcc has no way of knowing that there cannot be a
positive return code, so it determines that copying the ethernet
address at the end of kalmia_bind() will access uninitialized
data:
drivers/net/usb/kalmia.c: In function ‘kal
From: Manjunath Goudar
Separate the Davinci OHCI host controller driver from ohci-hcd
host code so that it can be built as a separate driver module.
This work is part of enabling multi-platform kernels on ARM;
it would be nice to have in 3.11.
Signed-off-by: Manjunath Goudar
---
drivers/usb/ho
From: Axel Haslam
This adds the compatible string to the ohci driver
to be able to probe from DT
Signed-off-by: Axel Haslam
---
drivers/usb/host/ohci-da8xx.c | 8
1 file changed, 8 insertions(+)
diff --git a/drivers/usb/host/ohci-da8xx.c b/drivers/usb/host/ohci-da8xx.c
index bebc3f0.
From: Axel Haslam
The usb20_phy clock needs to be registered for the driver to be able
to get and enable a clock. Currently the usb phy clocks are registered
form board files, which will not be called during a device tree based
boot.
To be able to probe correctly usb form a device tree boot, reg
From: David Lechner
The CFGCHIP registers are used by a number of devices, so using a syscon
device to share them. The first consumer of this will by the phy-da8xx-usb
driver.
Signed-off-by: David Lechner
[Axel: minor fix: change id to -1]
Signed-off-by: Axel Haslam
---
arch/arm/mach-davinci/
From: Axel Haslam
The da8xx ohci has only one port connected. In hub_control we
check that the port is 1, or else we bail out early. There is no point
in passing as argument the port number, if we know, and check that it
will always be 1.
Simplify functions and callbacks, by removing the port pa
From: Axel Haslam
Some regulator supplies have an over-current pin that is
activated when the hw detects an over current condition.
When this happens, the hardware enters a current limited
mode.
Extend the fixed regulator driver with the ability
to handle irq's from the over-current pin and repo
From: Axel Haslam
This adds the usb (ohci) device node for the da850 soc.
Also it enables it for the lcdk board
Signed-off-by: Axel Haslam
---
arch/arm/boot/dts/da850-lcdk.dts | 8
arch/arm/boot/dts/da850.dtsi | 8
2 files changed, 16 insertions(+)
diff --git a/arch/arm/
From: Axel Haslam
Instead of global variables, use the extra_priv_size of the ohci driver
to add a reference to driver private data.
Signed-off-by: Axel Haslam
---
drivers/usb/host/ohci-da8xx.c | 135 --
1 file changed, 79 insertions(+), 56 deletions(-)
From: David Lechner
Up to this point, the USB phy clock configuration was handled manually in
the board files and in the usb drivers. This adds proper clocks so that
the usb drivers can use clk_get and clk_enable and not have to worry about
the details. Also, the related code is removed from the
From: Alexandre Bailon
Some macro for DA8xx CFGCHIP are defined in usb-davinci.h,
but da8xx-cfgchip.h intend to replace them.
The usb-da8xx.c is using both headers, causing redefined symbol warnings.
Remove the old macros.
Signed-off-by: Alexandre Bailon
---
include/linux/platform_data/usb-dav
From: David Lechner
Add a syscon node for the SoC CFGCHIPn registers. This is needed for
the new usb phy driver.
Signed-off-by: David Lechner
---
arch/arm/boot/dts/da850.dtsi | 4
1 file changed, 4 insertions(+)
diff --git a/arch/arm/boot/dts/da850.dtsi b/arch/arm/boot/dts/da850.dtsi
ind
From: Axel Haslam
The phy framework requests an optional "phy" regulator. If it does
not find one, it returns -EPROBE_DEFER. In the case of non-DT based boot
for the omap138-lcdk board, this would prevent the usb11 phy to probe
correctly and ohci would not enumerate.
By calling "regulator_has_fu
From: Axel Haslam
The purpose of this patch series is to add DT support and modernize
the ohci-da8xx glue driver without breaking the non-DT boot,
which is still used in unconverted davinci devices.
The first couple of patches, are the recent and ongoing efforts from
David Lechner to clean up da
From: David Lechner
There is now a proper phy driver for the DA8xx SoC USB PHY. This adds the
platform device declarations needed to use it.
Signed-off-by: David Lechner
---
arch/arm/mach-davinci/board-da830-evm.c | 28 +---
arch/arm/mach-davinci/board-omapl138-hawk
From: David Lechner
Add a node for the new usb phy driver.
Signed-off-by: David Lechner
---
arch/arm/boot/dts/da850.dtsi | 5 +
1 file changed, 5 insertions(+)
diff --git a/arch/arm/boot/dts/da850.dtsi b/arch/arm/boot/dts/da850.dtsi
index 6bbf20d..33fcdce 100644
--- a/arch/arm/boot/dts/da
From: Axel Haslam
Currently, the da8xx ohci driver uses a set of gpios and callbacks in
board files to handle vbus and overcurrent irqs form the power supply.
However, this does not play nice when moving to a DT based boot were
we wont have board files.
Instead of requesting and handling the gpi
From: Axel Haslam
While probing ochi phy with usb20 phy as a parent clock for usb11_phy,
the usb20_phy clock enable would time out. This is because the usb20
module clock needs to enabled while trying to lock the usb20_phy PLL.
Call clk enable and get for the usb20 peripheral before trying to
en
From: Axel Haslam
This patch documents the device tree bindings required for
the ohci controller found in TI da8xx family of SoC's
Signed-off-by: Axel Haslam
---
.../devicetree/bindings/usb/ohci-da8xx.txt | 39 ++
1 file changed, 39 insertions(+)
create mode 100644
Hi,
* Tony Lindgren [161021 04:28]:
> * Johan Hovold [161021 04:08]:
> > > Agreed, that is clearly wrong to call from softirq context. I need to
> > > figure out what is right fix here but don't have access to my bbb
> > > until next week.
> >
> > Ok, I'll make do with irq_safe meanwhile.
>
>
On Mon, Oct 24, 2016 at 06:46:26PM +0200, ahas...@baylibre.com wrote:
> From: Axel Haslam
>
> Some regulator supplies have an over-current pin that is
> activated when the hw detects an over current condition.
> When this happens, the hardware enters a current limited
> mode.
Please don't mix ra
On Mon, Oct 24, 2016 at 06:46:26PM +0200, ahas...@baylibre.com wrote:
> + if (ret) {
> + pr_err("Failed to request irq: %d\n", ret);
dev_err()
> +++ b/include/linux/regulator/consumer.h
> @@ -74,6 +74,10 @@
> * the most noisy and may not be able to h
Hi Mark,
On Mon, Oct 24, 2016 at 7:43 PM, Mark Brown wrote:
> On Mon, Oct 24, 2016 at 06:46:26PM +0200, ahas...@baylibre.com wrote:
>> From: Axel Haslam
>>
>> Some regulator supplies have an over-current pin that is
>> activated when the hw detects an over current condition.
>> When this happens
* Bin Liu [160916 07:04]:
> Hi,
>
> On Wed, Sep 14, 2016 at 11:10:19AM -0700, Tony Lindgren wrote:
> > Commit a83e17d0f73b ("usb: musb: Improve PM runtime and phy handling
> > for 2430 glue layer") moved PHY enable/disable calls to happen from
> > omap2430_musb_enable/disable(). That broke enumer
Hi,
* Tony Lindgren [161021 00:18]:
> * Ladislav Michl [161020 12:37]:
> > [ 186.457519] musb-hdrc musb-hdrc.0.auto: VBUS_ERROR in a_wait_bcon (90,
> > >
> > And that's the end, since now it does not react on hub plug/unplug.
> >
> > Also all that VBUS_ERROR conditions are strange as hub is
On Mon, Oct 24, 2016 at 7:53 PM, Mark Brown wrote:
> On Mon, Oct 24, 2016 at 06:46:26PM +0200, ahas...@baylibre.com wrote:
>
>> + if (ret) {
>> + pr_err("Failed to request irq: %d\n", ret);
>
> dev_err()
>
>> +++ b/include/linux/regulator/consumer.h
>> @@ -74,6 +74,
On Mon, Oct 24, 2016 at 08:11:40PM +0200, Axel Haslam wrote:
> On Mon, Oct 24, 2016 at 7:53 PM, Mark Brown wrote:
> > does it make sense to report this as a mode, we don't report other error
> > conditions as modes but instead use REGULATOR_STATUS_ with the
> > get_status() operation?
> I used m
On Mon, Oct 24, 2016 at 12:35:11PM +0300, Felipe Balbi wrote:
>
> Hi,
>
> Bin Liu writes:
> > Hi,
> >
> > I run into a link state problem when dwc3 is in supper-speed device
> > mode.
> >
> > Modprobe g_zero, link state is U3 (checked in DSTS).
> >
> > After dwc3 is enumerated by the host, the t
This is a parch to the emxx_udc.c file that remove the
'usb_device_descriptor' structure because it is not used in the current
file or in other one.
Signed-off-by: Mihaela Muraru
---
drivers/staging/emxx_udc/emxx_udc.c | 19 ---
1 file changed, 19 deletions(-)
diff --git a/drive
On 10/24/2016 11:46 AM, ahas...@baylibre.com wrote:
From: Manjunath Goudar
Separate the Davinci OHCI host controller driver from ohci-hcd
host code so that it can be built as a separate driver module.
This work is part of enabling multi-platform kernels on ARM;
it would be nice to have in 3.11.
On 10/24/2016 11:46 AM, ahas...@baylibre.com wrote:
From: Axel Haslam
This adds the usb (ohci) device node for the da850 soc.
Also it enables it for the lcdk board
Signed-off-by: Axel Haslam
---
arch/arm/boot/dts/da850-lcdk.dts | 8
arch/arm/boot/dts/da850.dtsi | 8
2 f
On 10/24/2016 11:46 AM, ahas...@baylibre.com wrote:
From: Axel Haslam
This adds the compatible string to the ohci driver
to be able to probe from DT
Signed-off-by: Axel Haslam
---
drivers/usb/host/ohci-da8xx.c | 8
1 file changed, 8 insertions(+)
diff --git a/drivers/usb/host/ohci-
On 10/24/2016 11:46 AM, ahas...@baylibre.com wrote:
From: Axel Haslam
This patch documents the device tree bindings required for
the ohci controller found in TI da8xx family of SoC's
Signed-off-by: Axel Haslam
---
.../devicetree/bindings/usb/ohci-da8xx.txt | 39 ++
On 10/24/2016 11:46 AM, ahas...@baylibre.com wrote:
From: Axel Haslam
> static const struct ohci_driver_overrides da8xx_overrides __initconst = {
- .reset = ohci_da8xx_reset
+ .reset = ohci_da8xx_reset,
+ .extra_priv_size = sizeof(struct da8xx_ohci_hcd),
ni
On Mon, Oct 24, 2016 at 12:48:24PM -0700, Stephen Boyd wrote:
> Quoting Chen-Yu Tsai (2016-10-24 05:19:05)
> > Hi,
> >
> > On Tue, Oct 18, 2016 at 9:56 AM, Stephen Boyd
> > wrote:
> > > The ULPI bus can be built as a module, and it will soon be
> > > calling these functions when it supports prob
On 10/23/2016 2:33 AM, ayaka wrote:
>
>
> On 10/22/2016 03:27 AM, John Youn wrote:
>> On 10/20/2016 11:38 AM, Randy Li wrote:
>>> On the rk3288 USB host-only port (the one that's not the OTG-enabled
>>> port) the PHY can get into a bad state when a wakeup is asserted (not
>>> just a wakeup from f
On 10/24/2016 11:46 AM, ahas...@baylibre.com wrote:
From: Axel Haslam
Currently, the da8xx ohci driver uses a set of gpios and callbacks in
board files to handle vbus and overcurrent irqs form the power supply.
However, this does not play nice when moving to a DT based boot were
we wont have bo
On 10/24/2016 11:46 AM, ahas...@baylibre.com wrote:
From: Axel Haslam
While probing ochi phy with usb20 phy as a parent clock for usb11_phy,
the usb20_phy clock enable would time out. This is because the usb20
module clock needs to enabled while trying to lock the usb20_phy PLL.
Call clk enabl
Add Documentation/usb/usb3-debug-port.txt. 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.txt | 89 +++
1 file changed, 89 insertions(+)
create mode 100644 Doc
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 requ
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 ini
This patch add dbc debug device support in 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 a/drivers/usb/serial/usb_debug.c b/drivers/usb/serial/us
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
a
On Tue, Oct 25, 2016 at 12:32:41PM +0800, Lu Baolu wrote:
> 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 p
On Mon, Oct 24, 2016 at 10:56:45PM +0300, Mihaela Muraru wrote:
> This is a parch to the emxx_udc.c file that remove the
> 'usb_device_descriptor' structure because it is not used in the current
> file or in other one.
>
> Signed-off-by: Mihaela Muraru
> ---
> drivers/staging/emxx_udc/emxx_udc.c
Hi,
On 10/25/2016 02:36 PM, Greg Kroah-Hartman wrote:
> On Tue, Oct 25, 2016 at 12:32:41PM +0800, Lu Baolu wrote:
>> 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 dev
On 24.10.2016 17:52, Babu Moger wrote:
On 10/24/2016 5:54 AM, Yoshihiro Shimoda wrote:
Hi,
From: Mathias Nyman
Sent: Monday, October 24, 2016 6:58 PM
On 22.10.2016 01:25, Babu Moger wrote:
Never seen XHCI auto handoff working on TI and RENESAS cards.
Eventually, we force handoff. This code
65 matches
Mail list logo