David Mosberger | 29 Apr 06:14 2014
Picon

[PATCH v5 1/1] Add support for using a MAX3421E chip as a host driver.

Signed-off-by: David Mosberger <davidm-haPfTeumbwasTnJN9+BGXg <at> public.gmane.org>
---
 drivers/usb/Makefile                      |    1 +
 drivers/usb/host/Kconfig                  |   11 +
 drivers/usb/host/Makefile                 |    1 +
 drivers/usb/host/max3421-hcd.c            | 1937 +++++++++++++++++++++++++++++
 include/linux/platform_data/max3421-hcd.h |   23 +
 5 files changed, 1973 insertions(+)
 create mode 100644 drivers/usb/host/max3421-hcd.c
 create mode 100644 include/linux/platform_data/max3421-hcd.h

diff --git a/drivers/usb/Makefile b/drivers/usb/Makefile
index 1ae2bf3..9bb6721 100644
--- a/drivers/usb/Makefile
+++ b/drivers/usb/Makefile
 <at>  <at>  -28,6 +28,7  <at>  <at>  obj-$(CONFIG_USB_IMX21_HCD)	+= host/
 obj-$(CONFIG_USB_FSL_MPH_DR_OF)	+= host/
 obj-$(CONFIG_USB_FUSBH200_HCD)	+= host/
 obj-$(CONFIG_USB_FOTG210_HCD)	+= host/
+obj-$(CONFIG_USB_MAX3421_HCD)	+= host/
 
 obj-$(CONFIG_USB_C67X00_HCD)	+= c67x00/
 
diff --git a/drivers/usb/host/Kconfig b/drivers/usb/host/Kconfig
index 3d9e540..81ad340 100644
--- a/drivers/usb/host/Kconfig
+++ b/drivers/usb/host/Kconfig
 <at>  <at>  -343,6 +343,17  <at>  <at>  config USB_FOTG210_HCD
 	  To compile this driver as a module, choose M here: the
 	  module will be called fotg210-hcd.
(Continue reading)

David Mosberger | 29 Apr 06:12 2014
Picon

[PATCH v5 0/1] Add support for using a MAX3421E chip as a host driver.

This patch incorporates Greg KH's feedback for v4 of the patch and
fixes a bug.  Specifically:

+ Now compiles cleanly on 64-bit arches.
+ Now also depends on SPI subsystem.
+ Uses usb_urb_dir_in/usb_urb_dir_out instead of usb_pipein/usb_pipeout,
  respectively, since the latter do not always correctly identify the
  transfer-direction for control pipes, where the direction is determined
  based on the contents of the control-packet.

David Mosberger (1):
  Add support for using a MAX3421E chip as a host driver.

 drivers/usb/Makefile                      |    1 +
 drivers/usb/host/Kconfig                  |   11 +
 drivers/usb/host/Makefile                 |    1 +
 drivers/usb/host/max3421-hcd.c            | 1937 +++++++++++++++++++++++++++++
 include/linux/platform_data/max3421-hcd.h |   23 +
 5 files changed, 1973 insertions(+)
 create mode 100644 drivers/usb/host/max3421-hcd.c
 create mode 100644 include/linux/platform_data/max3421-hcd.h

--

-- 
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)

Fabio Estevam | 29 Apr 05:49 2014
Picon

[PATCH] usb: dwc2: Remove '0x' notation when using %pad format

From: Fabio Estevam <fabio.estevam@...>

%pad notation automatically prints in hexadecimal format (with '0x'), so remove
the unneeded '0x' to avoid a '0x0x' string.

Signed-off-by: Fabio Estevam <fabio.estevam@...>
---
 drivers/usb/dwc2/gadget.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/usb/dwc2/gadget.c b/drivers/usb/dwc2/gadget.c
index 2057c38..f3c56a2 100644
--- a/drivers/usb/dwc2/gadget.c
+++ b/drivers/usb/dwc2/gadget.c
 <at>  <at>  -551,7 +551,7  <at>  <at>  static void s3c_hsotg_start_req(struct s3c_hsotg *hsotg,
 		ureq->length, ureq->actual);
 	if (0)
 		dev_dbg(hsotg->dev,
-			"REQ buf %p len %d dma 0x%pad noi=%d zp=%d snok=%d\n",
+			"REQ buf %p len %d dma %pad noi=%d zp=%d snok=%d\n",
 			ureq->buf, length, &ureq->dma,
 			ureq->no_interrupt, ureq->zero, ureq->short_not_ok);

 <at>  <at>  -620,7 +620,7  <at>  <at>  static void s3c_hsotg_start_req(struct s3c_hsotg *hsotg,
 		dma_reg = dir_in ? DIEPDMA(index) : DOEPDMA(index);
 		writel(ureq->dma, hsotg->regs + dma_reg);

-		dev_dbg(hsotg->dev, "%s: 0x%pad => 0x%08x\n",
+		dev_dbg(hsotg->dev, "%s: %pad => 0x%08x\n",
 			__func__, &ureq->dma, dma_reg);
(Continue reading)

Peter Chen | 29 Apr 04:05 2014

[PATCH 1/1] Doc: usb: chipidea: need to build both kernel Image and modules

When tried to enable OTG FSM, we need to rebuild both kernel Image
and modules, since there are some codes at gadget modules which are
controlled by related configurations.

Signed-off-by: Peter Chen <peter.chen@...>
---
 Documentation/usb/chipidea.txt |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Documentation/usb/chipidea.txt b/Documentation/usb/chipidea.txt
index 4c0e2ea..995c8bc 100644
--- a/Documentation/usb/chipidea.txt
+++ b/Documentation/usb/chipidea.txt
 <at>  <at>  -5,7 +5,7  <at>  <at>  with 2 Freescale i.MX6Q sabre SD boards.

 1.1 How to enable OTG FSM in menuconfig
 ---------------------------------------
-Select CONFIG_USB_OTG_FSM.
+Select CONFIG_USB_OTG_FSM, rebuild kernel Image and modules.
 If you want to check some internal variables for otg fsm,
 select CONFIG_USB_CHIPIDEA_DEBUG, there are 2 files which
 can show otg fsm variables and some controller registers value:
--

-- 
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

(Continue reading)

Peter Chen | 29 Apr 02:35 2014

[PATCH v2 0/2] Re-organize usb common

Hi Greg,

This patch set creates usb/common for usb common things, and moves
otg fsm implementation from usb/phy/ to usb/common/. I have a
discussion with Felipe about it at below link:
http://www.spinics.net/lists/linux-usb/msg106357.html

Thanks.

Changes for v2:
- Fix one typo Alan pointed.

Peter Chen (2):
  usb: move usb/usb-common.c to usb/common/usb-common.c
  usb: common: rename phy-fsm-usb.c to usb-otg-fsm.c

 drivers/usb/Makefile                               |    2 +-
 drivers/usb/common/Makefile                        |    6 ++++++
 drivers/usb/{ => common}/usb-common.c              |    0
 .../{phy/phy-fsm-usb.c => common/usb-otg-fsm.c}    |    0
 drivers/usb/core/Kconfig                           |    9 +++++++++
 drivers/usb/phy/Kconfig                            |    9 ---------
 drivers/usb/phy/Makefile                           |    1 -
 7 files changed, 16 insertions(+), 11 deletions(-)
 create mode 100644 drivers/usb/common/Makefile
 rename drivers/usb/{ => common}/usb-common.c (100%)
 rename drivers/usb/{phy/phy-fsm-usb.c => common/usb-otg-fsm.c} (100%)

--

-- 
1.7.8
(Continue reading)

Stephen Hemminger | 29 Apr 02:28 2014

Fw: [Bug 75001] New: belkin USB Ethernet adapter intermittent network issue


Begin forwarded message:

Date: Mon, 28 Apr 2014 11:06:24 -0700
From: "bugzilla-daemon@..." <bugzilla-daemon@...>
To: "stephen@..." <stephen@...>
Subject: [Bug 75001] New: belkin USB Ethernet adapter intermittent network issue

https://bugzilla.kernel.org/show_bug.cgi?id=75001

            Bug ID: 75001
           Summary: belkin USB Ethernet adapter intermittent network issue
           Product: Networking
           Version: 2.5
    Kernel Version: 3.0.94
          Hardware: ARM
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: high
          Priority: P1
         Component: Other
          Assignee: shemminger@...
          Reporter: nilesh.deshmukh@...
        Regression: No

I am working on the IMX21 processor on 3.0.94 kernel.
We are using the belkin F5D5050 USB Ethernet adapter for ethernet connectivity.
Pegasus driver of belkin adapter are in-build in kernel.

(Continue reading)

Dan Williams | 29 Apr 01:46 2014
Picon

[PATCH v8 00/18] port power control reworks

Changes since v7 [1]:
* Added patch 8 "usb: make usb_port flags atomic"

* Added patch 15 "usb: hub_handle_remote_wakeup() depends on
  CONFIG_PM_RUNTIME=y"

* Fixed patch 16 "usb: resume (wakeup) child device when port is powered
  on"
  - added USB_PORTDEV_WAKE flag to force usb_remote_wakeup() in
    hub_handle_remote_wakeup()

* Added a port_event() comment in patch 13 "usb: synchronize port
  poweroff and khubd"

* Reworked patch 12 "usb: refactor port handling in hub_events()" to
  avoid indentation churn and a cleanup to consolidate calls to
  usb_reset_device()

See a summary of the review state of the series below.

=====

This series addresses the following disconnect scenarios when attempting
to use port power-off.

1/ Superspeed devices downgrade to their hispeed connection when
   rx-detection fails on the superspeed pins.  Address this by
   preventing superspeed port poweroff/suspension until the peer port is
   suspended, and powering on the superspeed port before the hispeed
   port is resumed.  This depends on the ability to identify peer ports
(Continue reading)

Thomas Pugliese | 28 Apr 21:53 2014
Picon

[PATCH 0/3] uwb: formatting and compile warning fixes

This set contains a few fixes for formatting issues and compile warnings 
in UWB.  Some of the changes for lines over 80 chars required pulling 
deeply nested code into separate functions which makes that patch look 
more significant than it really is.

Thomas Pugliese (3):
  uwb: whitespace and line length cleanups
  uwb: comment typo fix
  uwb: fix variable set but not used warnings

 drivers/uwb/beacon.c |   3 -
 drivers/uwb/drp.c    | 294 +++++++++++++++++++++++++++++----------------------
 drivers/uwb/est.c    |   2 -
 drivers/uwb/ie-rcv.c |   2 -
 drivers/uwb/radio.c  |   2 +-
 5 files changed, 167 insertions(+), 136 deletions(-)

--

-- 
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

Daniele Forsi | 28 Apr 17:09 2014
Picon

[PATCH] Nokia 5300 should be treated as unusual dev

Signed-off-by: Daniele Forsi <dforsi@...>
---
This patch depends on the patch sent by Victor A. Santos
<victoraur.santos@...> on April 27th with commit
message "Nokia 305 should be treated as unusual dev".

 drivers/usb/storage/unusual_devs.h | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/drivers/usb/storage/unusual_devs.h b/drivers/usb/storage/unusual_devs.h
index 6eee0ce..174a447 100644
--- a/drivers/usb/storage/unusual_devs.h
+++ b/drivers/usb/storage/unusual_devs.h
 <at>  <at>  -234,6 +234,13  <at>  <at>  UNUSUAL_DEV(  0x0421, 0x0495, 0x0370, 0x0370,
 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
 		US_FL_MAX_SECTORS_64 ),

+/* Reported by Daniele Forsi <dforsi@...> */
+UNUSUAL_DEV(  0x0421, 0x04b9, 0x0350, 0x0350,
+		"Nokia",
+		"5300",
+		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
+		US_FL_MAX_SECTORS_64 ),
+
 /* Patch submitted by Victor A. Santos <victoraur.santos@...> */
 UNUSUAL_DEV(  0x0421, 0x05af, 0x0742, 0x0742,
 		"Nokia",
--

-- 
1.9.2

(Continue reading)

Roger Quadros | 28 Apr 16:01 2014
Picon

[PATCH v2 0/7] USB support for DRA7-evm

Hi,

This series enables the 2 USB ports on the DRA7-evm.

NOTE: USB1 port is hard coded to work in peripheral mode and USB2 port
in host mode. This is due to missing ID pin interrupt in pre ver.E boards.

USB1 port doesn't in peripheral mode out of the box due to missing VBUS detection
and mailbox write. To test this I had to do a manual write to enable VBUSVALID
in the USB_UTMI_OTG_STATUS register.
	omapconf set bit 0x48880084 1

USB2 port works well in host mode.

Patches are based on 3.15-rc3.

cheers,
-roger

Roger Quadros (7):
  ARM: dts: dra7-clock: Add "l3init_960m_gfclk" clock gate
  ARM: DRA7: hwmod: Add SYSCONFIG for usb_otg_ss
  phy: omap-usb2: Use generic clock names "wkupclk" and "refclk"
  ARM: dts: omap4+: Add clocks to USB2 PHY node
  phy: omap-usb2: Add clock names to Documentation binding
  ARM: dts: dra7: Add USB related nodes
  dts: dra7-evm: add USB support

 Documentation/devicetree/bindings/phy/ti-phy.txt |   7 ++
 arch/arm/boot/dts/dra7-evm.dts                   |  24 ++++
(Continue reading)

Ivan T. Ivanov | 28 Apr 15:34 2014

[PATCH v8 00/20] usb: phy: msm: Fixes, cleanups and DT support

From: "Ivan T. Ivanov" <iivanov@...>

Hi,

This is a new version of patches posted earlier[1].

Changes since v7

 - Use bulk regulator request function in patch #05
 - Fix errors in patch #20 commit message

[1] http://www.spinics.net/lists/linux-arm-msm/msg08997.html

Ivan T. Ivanov (18):
  usb: phy: msm: Make driver selectable on ARCH_QCOM
  usb: phy: msm: Remove __init macro from driver probe method
  usb: phy: msm: Move global regulators variables to driver state
  usb: phy: msm: Enable deferred driver probing
  usb: phy: msm: Migrate to Managed Device Resource allocation
  usb: phy: msm: Remove unnecessarily check for valid regulators.
  usb: phy: msm: Fix checkpatch.pl warnings
  usb: phy: msm: Replace custom enum usb_mode_type with enum usb_dr_mode
  usb: phy: msm: Remove unused pclk_src_name
  usb: phy: msm: Remove HSUSB prefix from regulator names
  usb: phy: msm: Properly check result from platform_get_irq()
  usb: phy: msm: Add device tree support and binding information
  usb: phy: msm: Use reset framework for LINK and PHY resets
  usb: phy: msm: Add support for secondary PHY control
  usb: phy: msm: Correct USB PHY Reset sequence for newer platform
  usb: phy: msm: Handle disconnect events
(Continue reading)


Gmane