Lothar Waßmann | 30 Jun 13:17 2014
Picon

[PATCH 0/2] BUGFIX: usb: musb: dsps: fix the base address for accessing the mode register

The first patch cleans up the coding style of the register accessor
functions which made my eyes sore.

The second patch makes the function added in
commit 943c13971c08 "usb: musb: dsps: implement ->set_mode()"
actually functional by using the correct base address for the register accesses.

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@...
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Roger Quadros | 30 Jun 13:00 2014
Picon

[PATCH 0/3] PHY: ti-pipe3: Manage 3.3V PHY regulator

Hi,

On some SoCs e.g. J6 the 3.3V supply to the USB2 PHY can be
powered down when the PHY is not in use. Add regulator
management code to control this power line.

cheers,
-roger
---

Roger Quadros (3):
  phy: omap-usb2: Manage PHY 3.3V supply regulator
  phy: omap-usb2: Add PHY regulator to DT binding documentation
  ARM: dts: dra7-evm: Add regulator information to USB2 PHYs

 Documentation/devicetree/bindings/phy/ti-phy.txt |  1 +
 arch/arm/boot/dts/dra7-evm.dts                   |  8 ++++++++
 drivers/phy/phy-omap-usb2.c                      | 25 ++++++++++++++++++++++++
 include/linux/phy/omap_usb.h                     |  1 +
 4 files changed, 35 insertions(+)

--

-- 
1.8.3.2

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@...
More majordomo info at  http://vger.kernel.org/majordomo-info.html

(Continue reading)

Sachin Kamat | 30 Jun 11:03 2014

[PATCH 1/1] usb: dwc3: Kconfig: Fix dependency for Exynos DWC3

Make the config depend on ARCH_EXYNOS5 instead of ARCH_EXYNOS
as this IP is available only on Exynos5 platforms.

Signed-off-by: Sachin Kamat <sachin.kamat@...>
---
 drivers/usb/dwc3/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/usb/dwc3/Kconfig b/drivers/usb/dwc3/Kconfig
index 261c3b428220..24a4f8ed9fd1 100644
--- a/drivers/usb/dwc3/Kconfig
+++ b/drivers/usb/dwc3/Kconfig
 <at>  <at>  -55,7 +55,7  <at>  <at>  config USB_DWC3_OMAP

 config USB_DWC3_EXYNOS
 	tristate "Samsung Exynos Platform"
-	depends on ARCH_EXYNOS || COMPILE_TEST
+	depends on ARCH_EXYNOS5 || COMPILE_TEST
 	default USB_DWC3
 	help
 	  Recent Exynos5 SoCs ship with one DesignWare Core USB3 IP inside,
--

-- 
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@...
More majordomo info at  http://vger.kernel.org/majordomo-info.html

(Continue reading)

Peter Chen | 30 Jun 06:15 2014

[PATCH 0/1] Chipidea fix for v3.16

Hi Greg,

This bug is found during the USB Certification test, and the
fix is needed for stable tree, thanks.

Peter Chen (1):
  usb: chipidea: udc: delete td from req's td list at ep_dequeue

 drivers/usb/chipidea/udc.c |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

--

-- 
1.7.8

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@...
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Colin King | 29 Jun 23:42 2014

[PATCH] usb: usb3503: return correct error return on failure

From: Colin Ian King <colin.king@...>

Fix warning: drivers/usb/misc/usb3503.c:195:11: warning: 'err'
  may be used uninitialized in this function [-Wmaybe-uninitialized]

err is not initialized, the error return should be PTR_ERR(clk)

Signed-off-by: Colin Ian King <colin.king@...>
---
 drivers/usb/misc/usb3503.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/usb/misc/usb3503.c b/drivers/usb/misc/usb3503.c
index f43c619..c0c898d 100644
--- a/drivers/usb/misc/usb3503.c
+++ b/drivers/usb/misc/usb3503.c
 <at>  <at>  -192,7 +192,8  <at>  <at>  static int usb3503_probe(struct usb3503 *hub)

 		clk = devm_clk_get(dev, "refclk");
 		if (IS_ERR(clk) && PTR_ERR(clk) != -ENOENT) {
-			dev_err(dev, "unable to request refclk (%d)\n", err);
+			dev_err(dev, "unable to request refclk (%ld)\n",
+				PTR_ERR(clk));
 			return PTR_ERR(clk);
 		}

--

-- 
2.0.0

--
(Continue reading)

grantksupport | 29 Jun 22:41 2014

Kernel 3.15.2-1.gfb7c781 + USB3 (xhci_hcd) card throws CALL TRACE, completes boot

Hi,

I'd recently reported an issue with kernel 3.14.4-1 'vs' USB3 -- call
trace & no boot.

A resolution was found, with patches

 Re: Fwd: xHCI regression for VIA USB 3.0 controller in
 handle_cmd_completion
 http://www.spinics.net/lists/linux-usb/msg108520.html

I reported the problem to my distro, pointed at the patches from
upstream, and a test build was done.  INstalling that seemed to have
resolved the problem -- in the 'test' repo.

But, when the patche was supposedly included in kernel version upgrades
from upstream, this was declared as (possibly/

Unfortunately, the problem returned with these update 3.15.1 kernels.

Finally, an upgrade to today 3.15.2-1 incrementally improves again, and
gets the system to boot AND the card to function, BUT the CALL TRACE is
still present

 Bug 878489 - Kernel:Stable (3.15.2-1.gfb7c781) + USB3 (xhci_hcd) card
 throws CALL TRACE, completes boot
 https://bugzilla.novell.com/show_bug.cgi?id=878489

So, the system's healther, but not healthy.

(Continue reading)

Robert Jarzmik | 29 Jun 16:01 2014
Picon

[PATCH v3 1/4] usb: gadget: pxa27x_udc: prepare and unprepare the clock

Add clock prepare and unprepare as required by clock framework.

Signed-off-by: Robert Jarzmik <robert.jarzmik@...>
---
 drivers/usb/gadget/pxa27x_udc.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/drivers/usb/gadget/pxa27x_udc.c b/drivers/usb/gadget/pxa27x_udc.c
index cdf4d67..597d39f 100644
--- a/drivers/usb/gadget/pxa27x_udc.c
+++ b/drivers/usb/gadget/pxa27x_udc.c
 <at>  <at>  -2446,6 +2446,9  <at>  <at>  static int pxa_udc_probe(struct platform_device *pdev)
 		retval = PTR_ERR(udc->clk);
 		goto err_clk;
 	}
+	retval = clk_prepare(udc->clk);
+	if (retval)
+		goto err_clk_prepare;

 	retval = -ENOMEM;
 	udc->regs = ioremap(regs->start, resource_size(regs));
 <at>  <at>  -2483,6 +2486,8  <at>  <at>  err_add_udc:
 err_irq:
 	iounmap(udc->regs);
 err_map:
+	clk_unprepare(udc->clk);
+err_clk_prepare:
 	clk_put(udc->clk);
 	udc->clk = NULL;
 err_clk:
(Continue reading)

Himangi Saraogi | 29 Jun 09:07 2014
Picon

[PATCH] USB: oxu210hp-hcd.c: use devm_ functions

This patch introduces the use of devm_ioremap_resource instead of
request_mem_region and ioremap. The error handling on
platform_get_resource and the error message for ioremap are removed. The
function devm_kzalloc replaces memory allocation by unmanaged kzalloc. The
function calls to free the allocated memory in the probe and remove
functions are done away with. Some labels are removed and a label error
is added to make is less specific to the context. The debug message is
removed as devm_ioremap generates debug messages of its own.

Signed-off-by: Himangi Saraogi <himangi774@...>
Acked-by: Julia Lawall <julia.lawall@...>
---
 drivers/usb/host/oxu210hp-hcd.c | 48 ++++++++---------------------------------
 1 file changed, 9 insertions(+), 39 deletions(-)

diff --git a/drivers/usb/host/oxu210hp-hcd.c b/drivers/usb/host/oxu210hp-hcd.c
index e07248b..da5fb0e 100644
--- a/drivers/usb/host/oxu210hp-hcd.c
+++ b/drivers/usb/host/oxu210hp-hcd.c
 <at>  <at>  -3826,49 +3826,36  <at>  <at>  static int oxu_drv_probe(struct platform_device *pdev)
 	dev_dbg(&pdev->dev, "IRQ resource %d\n", irq);

 	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
-	if (!res) {
-		dev_err(&pdev->dev, "no registers address! Check %s setup!\n",
-			dev_name(&pdev->dev));
-		return -ENODEV;
+	base = devm_ioremap_resource(&pdev->dev, res);
+	if (IS_ERR(base)) {
+		ret = PTR_ERR(base);
(Continue reading)

Peter Hans | 27 Jun 21:48 2014

Please reply

Dear

Here is a pdf attachment of my proposal to you. Please read and reply,
I would be grateful.

Peter Hans wrote:
Attachment (Good day.pdf): application/pdf, 112 KiB
Grant | 27 Jun 18:31 2014
Picon

Jetson TK1 USB support?

The following wiki page indicates that USB3 is not working on the Jetson TK1:

http://elinux.org/Tegra/Boards/NVIDIA_Jetson_TK1

Does that mean USB is not working at all or should USB2 work?  I would
have thought USB2 would still work but I think I tried disabling
xhci_hcd and enabling ehci_hcd/ohci_hcd on my USB3 laptop and it
didn't work.

http://www.newegg.com/Product/Product.aspx?Item=N82E16813190005

- Grant
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@...
More majordomo info at  http://vger.kernel.org/majordomo-info.html

dinguyen | 27 Jun 17:09 2014

[PATCH] usb: dwc2: fix sparse warning in platform.c

From: Dinh Nguyen <dinguyen@...>

This patch fixes this sparse warning:

drivers/usb/dwc2/platform.c:168:25: warning: incorrect type in argument 1 (different address spaces)
drivers/usb/dwc2/platform.c:168:25:    expected void const *ptr
drivers/usb/dwc2/platform.c:168:25:    got void [noderef] <asn:2>*regs
drivers/usb/dwc2/platform.c:169:37: warning: incorrect type in argument 1 (different address spaces)
drivers/usb/dwc2/platform.c:169:37:    expected void const *ptr
drivers/usb/dwc2/platform.c:169:37:    got void [noderef] <asn:2>*regs

Signed-off-by: Dinh Nguyen <dinguyen@...>
---
 drivers/usb/dwc2/platform.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/usb/dwc2/platform.c b/drivers/usb/dwc2/platform.c
index a10e7a3..443c321 100644
--- a/drivers/usb/dwc2/platform.c
+++ b/drivers/usb/dwc2/platform.c
 <at>  <at>  -165,8 +165,8  <at>  <at>  static int dwc2_driver_probe(struct platform_device *dev)

 	res = platform_get_resource(dev, IORESOURCE_MEM, 0);
 	hsotg->regs = devm_ioremap_resource(&dev->dev, res);
-	if (IS_ERR(hsotg->regs))
-		return PTR_ERR(hsotg->regs);
+	if (!hsotg->regs)
+		return -ENOMEM;

 	dev_dbg(&dev->dev, "mapped PA %08lx to VA %p\n",
(Continue reading)


Gmane