The devices running at SuperSpeedPlus speed are also LPM capable.
Apply usb3 hardware LPM attributes to those devices as well.
Signed-off-by: Lu Baolu
---
drivers/usb/core/sysfs.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/usb/core/sysfs.c b/drivers/usb/core/sy
On Thu, Oct 12, 2017 at 10:56 PM, Martin Blumenstingl
wrote:
> Hi Arnd,
>
> thank you for reviewing this patch!
>
> On Mon, Oct 9, 2017 at 12:24 PM, Arnd Bergmann wrote:
>> On Sun, Oct 8, 2017 at 11:17 PM, Martin Blumenstingl
>> wrote:
>>> A USB root-hub may have several PHYs which need to be co
On Thu, Oct 12, 2017 at 11:34:52AM +0200, Greg Kroah-Hartman wrote:
> On Thu, Oct 12, 2017 at 10:54:21AM +0200, Johan Hovold wrote:
> > Make sure to kill the interrupt-in URB after a failed open request.
> > Apart from saving power (and avoiding stale input after a later
> > successful open), this
On Thu, Oct 12, 2017 at 05:48:19PM +0200, Greg Kroah-Hartman wrote:
> On Thu, Oct 12, 2017 at 05:22:28PM +0200, Johan Hovold wrote:
> > Drop the usb-serial-core USB driver that was registered at module init
> > but then never used.
> >
> > This was a remnant dating back to 2004 (!) when this struc
Hi Robin,
On 2017-10-11 15:56, Robin Murphy wrote:
xHCI requires that data buffers do not cross 64KB boundaries (and are
thus at most 64KB long as well) - whilst xhci_queue_{bulk,isoc}_tx()
already split their input buffers into individual TRBs as necessary,
it's still a good idea to advertise t
There are mcu_bus and dma_bus clocks needed to be controlled by
driver on some SoCs, so add them as optional ones
Signed-off-by: Chunfeng Yun
---
drivers/usb/host/xhci-mtk.c | 79 ---
drivers/usb/host/xhci-mtk.h |2 ++
2 files changed, 62 insertions(
This patch uses the simpler dma_set_mask_and_coherent() instead of
doing these as separate steps
Signed-off-by: Chunfeng Yun
---
drivers/usb/host/xhci-mtk.c |7 +--
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/drivers/usb/host/xhci-mtk.c b/drivers/usb/host/xhci-mtk.c
inde
The wakeup debounce clocks for each ports in fact are not
needed, so remove them.
Signed-off-by: Chunfeng Yun
---
drivers/usb/host/xhci-mtk.c | 33 -
drivers/usb/host/xhci-mtk.h |2 --
2 files changed, 35 deletions(-)
diff --git a/drivers/usb/host/xhci-mtk.
This is useful to find out the root cause when the Super Speed doesn't
work. Such as when the T-PHY is switched to PCIe or SATA, and affects
Super Speed function, the check will fail.
Signed-off-by: Chunfeng Yun
---
drivers/usb/host/xhci-mtk.c |4
1 file changed, 4 insertions(+)
diff -
Remove dummy clocks for usb wakeup and add optional ones for
MCU_BUS_CK and DMA_BUS_CK.
Signed-off-by: Chunfeng Yun
Acked-by: Rob Herring
---
.../devicetree/bindings/usb/mediatek,mtk-xhci.txt | 18 --
1 file changed, 8 insertions(+), 10 deletions(-)
diff --git a/Documentatio
Make use of ports count from xhci but not from ippc in
xhci_mtk_sch_init()
Signed-off-by: Chunfeng Yun
---
drivers/usb/host/xhci-mtk-sch.c |3 ++-
drivers/usb/host/xhci-mtk.c |3 ---
2 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/drivers/usb/host/xhci-mtk-sch.c b/driv
Add a new optional property to disable u3ports
Signed-off-by: Chunfeng Yun
---
.../devicetree/bindings/usb/mediatek,mtk-xhci.txt |2 ++
1 file changed, 2 insertions(+)
diff --git a/Documentation/devicetree/bindings/usb/mediatek,mtk-xhci.txt
b/Documentation/devicetree/bindings/usb/mediatek
Due to all MediaTek SoCs with xHCI host controller use this
driver, remove limitation for specific SoCs
Signed-off-by: Chunfeng Yun
---
drivers/usb/host/Kconfig |4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/usb/host/Kconfig b/drivers/usb/host/Kconfig
index fa
Add support to disable specific usb3 ports, it's useful when
usb3 phy is shared with PCIe or SATA, because we should disable
the corresponding usb3 port if the phy is used by PCIe or SATA.
Sometimes it's helpful to analyse and solve problems.
Signed-off-by: Chunfeng Yun
---
drivers/usb/host/xhci
Remove dummy clocks for usb wakeup and add optional ones for
mcu_bus and dma_bus bus.
Signed-off-by: Chunfeng Yun
---
.../devicetree/bindings/usb/mediatek,mtu3.txt | 10 --
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/Documentation/devicetree/bindings/usb/mediatek
Add a new optional property to disable u3ports
Signed-off-by: Chunfeng Yun
---
.../devicetree/bindings/usb/mediatek,mtu3.txt |2 ++
1 file changed, 2 insertions(+)
diff --git a/Documentation/devicetree/bindings/usb/mediatek,mtu3.txt
b/Documentation/devicetree/bindings/usb/mediatek,mtu
Remove optional pinctrls due to using FORCE/RG_IDDIG to implement
manual switch function.
Signed-off-by: Chunfeng Yun
---
.../devicetree/bindings/usb/mediatek,mtu3.txt |7 ---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/Documentation/devicetree/bindings/usb/mediate
When set otg_sel(SSUSB_U2_PORT_OTG_SEL) for u2port which supports
dual-role mode, the controller will automatically switch mode
between host and device according to IDDIG signal. But if the
u2port only supports device mode, and no IDDIG pin is provided,
setting otg_sel may cause failure of detectio
Support SuperSpeedPlus for usb3.1 device IP
Signed-off-by: Chunfeng Yun
---
drivers/usb/mtu3/mtu3.h|1 +
drivers/usb/mtu3/mtu3_core.c | 14 +++---
drivers/usb/mtu3/mtu3_gadget.c |3 ++-
drivers/usb/mtu3/mtu3_gadget_ep0.c | 16
drivers/us
add support for 36-bit DMA address
Signed-off-by: Chunfeng Yun
---
drivers/usb/mtu3/mtu3.h | 17 ++-
drivers/usb/mtu3/mtu3_core.c| 34 -
drivers/usb/mtu3/mtu3_hw_regs.h | 10
drivers/usb/mtu3/mtu3_qmu.c | 102 ---
4
In order to keep manual DRD switch independent on IDDIG interrupt,
make use of FORCE/RG_IDDIG instead of IDDIG EINT interrupt to
implement manual DRD switch function.
Signed-off-by: Chunfeng Yun
---
drivers/usb/mtu3/mtu3.h | 18
drivers/usb/mtu3/mtu3_dr.c | 61 +
Treat dr_mode of USB_DR_MODE_UNKNOWN as USB_DR_MODE_OTG to
enhance functional robustness.
Signed-off-by: Chunfeng Yun
---
drivers/usb/mtu3/mtu3_plat.c |6 ++
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/drivers/usb/mtu3/mtu3_plat.c b/drivers/usb/mtu3/mtu3_plat.c
index 7c
When dr_mode is set as USB_DR_MODE_HOST, it's better to try to
get optional vbus, this can increase flexibility, although we
can set vbus as always on for regulator or put it in host driver
to turn it on.
Signed-off-by: Chunfeng Yun
---
drivers/usb/mtu3/mtu3_plat.c |8
1 file change
When failing to get IRQ number, platform_get_irq() may return
-EPROBE_DEFER, but we ignore it and always return -ENODEV,
so fix it.
Signed-off-by: Chunfeng Yun
---
drivers/usb/mtu3/mtu3_core.c |4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/usb/mtu3/mtu3_core.c
There are mcu_bus and dma_bus clocks needed to be turned on/off by
driver on some SoCs, so add them as optional ones
Signed-off-by: Chunfeng Yun
---
drivers/usb/mtu3/mtu3.h |5 ++
drivers/usb/mtu3/mtu3_plat.c | 121 --
2 files changed, 86 inserti
The wakeup debounce clocks for each ports in fact are not
needed, so remove them.
Signed-off-by: Chunfeng Yun
---
drivers/usb/mtu3/mtu3.h |4 ---
drivers/usb/mtu3/mtu3_host.c | 57 +++---
2 files changed, 4 insertions(+), 57 deletions(-)
diff --git
Add support to disable specific usb3 ports, it's useful when
usb3 phy is shared with PCIe or SATA, because we should disable
the corresponding usb3 port if the phy is used by PCIe or SATA.
Signed-off-by: Chunfeng Yun
---
drivers/usb/mtu3/mtu3.h |3 +++
drivers/usb/mtu3/mtu3_host.c | 1
On 13.10.2017 11:26, Chunfeng Yun wrote:
Due to all MediaTek SoCs with xHCI host controller use this
driver, remove limitation for specific SoCs
Signed-off-by: Chunfeng Yun
---
xHCI parts of series look good to me, If Rob Herring agrees with the
dt changes I can send it forward
-Mathias
--
Hi Marek,
On 13/10/17 09:15, Marek Szyprowski wrote:
> Hi Robin,
>
> On 2017-10-11 15:56, Robin Murphy wrote:
>> xHCI requires that data buffers do not cross 64KB boundaries (and are
>> thus at most 64KB long as well) - whilst xhci_queue_{bulk,isoc}_tx()
>> already split their input buffers into
Hello, Mathias! Did you get a chance to look into this bug?
2017-07-20 19:15 GMT+03:00 Yaroslav Isakov :
> Yes, I can definitely test the patch
>
> 2017-07-20 19:16 GMT+03:00 Mathias Nyman :
>> On 20.07.2017 18:07, Yaroslav Isakov wrote:
>>>
>>> Here it is
>>>
>>> 2017-07-20 18:06 GMT+03:00 Mathia
On 10/13/2017 10:26 AM, Chunfeng Yun wrote:
The wakeup debounce clocks for each ports in fact are not
needed, so remove them.
Signed-off-by: Chunfeng Yun
---
Reviewed-by: Matthias Brugger
drivers/usb/host/xhci-mtk.c | 33 -
drivers/usb/host/xhci-mtk.h
On 10/13/2017 10:26 AM, Chunfeng Yun wrote:
There are mcu_bus and dma_bus clocks needed to be controlled by
driver on some SoCs, so add them as optional ones
Signed-off-by: Chunfeng Yun
---
Reviewed-by: Matthias Brugger
drivers/usb/host/xhci-mtk.c | 79 +++
On 10/13/2017 10:26 AM, Chunfeng Yun wrote:
Remove dummy clocks for usb wakeup and add optional ones for
MCU_BUS_CK and DMA_BUS_CK.
Signed-off-by: Chunfeng Yun
Acked-by: Rob Herring
---
Reviewed-by:
.../devicetree/bindings/usb/mediatek,mtk-xhci.txt | 18 --
1 file
On Thu, 12 Oct 2017, Martin Blumenstingl wrote:
> Hi Alan,
>
> On Mon, Oct 9, 2017 at 7:18 PM, Alan Stern wrote:
> > On Sun, 8 Oct 2017, Martin Blumenstingl wrote:
> >
> >> This integrates the PHY roothub wrapper into the core hcd
> >> infrastructure. Multiple PHYs which are part of the roothub
On Thu, 12 Oct 2017, Martin Blumenstingl wrote:
> Hi Alan,
>
> On Thu, Oct 12, 2017 at 11:17 PM, Alan Stern
> wrote:
> > On Thu, 12 Oct 2017, Martin Blumenstingl wrote:
> >
> >> I haven't tested the described use-case. however, this patch is not
> >> supposed to change the binding for actual de
On Fri, 13 Oct 2017, Daniel Drake wrote:
> When going into S3 suspend, the Acer TravelMate P648-M and P648-G3
> laptops immediately wake up 3-4 seconds later for no obvious reason.
>
> Unbinding the integrated Huawei 4G LTE modem before suspend avoids
> the issue, even though we are not using the
Am Freitag, den 18.08.2017, 18:32 +0200 schrieb Lucas Stach:
> If the clock handle is given in the DT, it means the clock is
> required
> for proper operation of the PHY. In that case a failure to obtain the
> clock must be propagated to stop the driver from probing. This fixes
> working with clock
On Fri, Oct 06, 2017 at 05:49:34PM +0100, Biju Das wrote:
> This patch adds support for r8a7743/5 SoCs. The Renesas RZ/G1[ME]
> (R8A7743/5) usbhs is identical to the R-Car Gen2 family.
>
> No driver change is needed due to the fallback compatible value
> "renesas,rcar-gen2-usbhs".
> Adding the SoC
Hi Bhumika,
[auto build test WARNING on balbi-usb/next]
[also build test WARNING on v4.14-rc4 next-20171013]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system]
url:
https://github.com/0day-ci/linux/commits/Bhumika-Goyal/usb-gadget-configfs
unsubscripted
--
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 http://vger.kernel.org/majordomo-info.html
40 matches
Mail list logo