On Mon, Sep 22, 2014 at 10:39:18PM +0300, Octavian Purdila wrote:
> Currently the I/O buffer is allocated part of the device status
> structure, potentially sharing the same cache line with other members
> in this structure.
>
> Allocate the buffer separately, to avoid the I/O operations corruptin
On Tue, Sep 23, 2014 at 09:35:41AM +0200, Johan Hovold wrote:
> On Mon, Sep 22, 2014 at 10:39:18PM +0300, Octavian Purdila wrote:
> > Currently the I/O buffer is allocated part of the device status
> > structure, potentially sharing the same cache line with other members
> > in this structure.
> >
On Mon, Sep 22, 2014 at 10:39:18PM +0300, Octavian Purdila wrote:
> Currently the I/O buffer is allocated part of the device status
> structure, potentially sharing the same cache line with other members
> in this structure.
>
> Allocate the buffer separately, to avoid the I/O operations corruptin
netif_carrier_off would be called when autoresuming, even though
the cable is plugged. This causes some applications do relative
actions when detecting the carrier off. Keep the status of the
carrier, and let it be modified when the linking change occurs.
Signed-off-by: Hayes Wang
---
drivers/ne
Before using the PHY framework instead of the USB PHY one, we need to
move the OTG state into another place, since it won't be available when
USB PHY isn't used. This patch moves the OTG state into the OTG
structure, and makes all the needed modifications in the drivers
using the OTG state.
Signed
This patch prepares the introduction of the generic PHY support in the
USB OTG common functions. The USB PHY member of the OTG structure is
renamed to 'usb_phy' and modifications are done in all drivers accessing
it. Renaming this pointer will allow to keep the compatibility for USB
PHY drivers.
S
Move the usb_otg member from struct usb_phy to struct ci_hdrc. Rework
its initialization taking in account this modification.
Signed-off-by: Antoine Tenart
Acked-by: Peter Chen
---
drivers/usb/chipidea/ci.h | 1 +
drivers/usb/chipidea/debug.c | 2 +-
drivers/usb/chipidea/host.c| 5
This patch adds support of the PHY framework in OTG and keeps the USB
PHY compatibility. Here the only modification is to add PHY member in
the OTG structure, along with the USB PHY one.
Signed-off-by: Antoine Tenart
---
include/linux/usb/otg.h | 3 +++
1 file changed, 3 insertions(+)
diff --gi
This patch modify the generic code handling PHYs to allow them to be
supplied from the drivers. This adds checks to ensure no PHY was already
there when looking for one in the generic code. This also makes sure we
do not modify its state in the generic HCD functions, it was provided by
the driver.
This patch prepares the introduction of the generic PHY support in the
USB ChipIdea common functions. The USB PHY member of the ChipIdea
structure ('transceiver') is renamed to 'usb_phy', the 'phy' member of
the ChipIdea pdata structure is renamed to 'usb_phy' and modifications
are done in all driv
This patch adds support of the PHY framework for ChipIdea drivers.
Changes are done in both the ChipIdea common code and in the drivers
accessing the PHY. This is done by adding a new PHY member in
ChipIdea's structures and by taking care of it in the code.
Signed-off-by: Antoine Tenart
---
driv
Patches can also be found at:
git://git.free-electrons.com:users/antoine-tenart/linux.git usb-phy
The series applies on top of Sergei generic PHY support in HCD[1]
and on top of Peter Chen's ci-for-usb-next branch[2].
Thanks a lot!
Antoine
Changes since v5:
- rebased on the latest versi
> -Original Message-
> From: Tony Lindgren [mailto:t...@atomide.com]
> Sent: Monday, September 22, 2014 3:17 PM
> To: Krzysztof Opasiak
> Cc: 'Matt Porter'; linux-usb@vger.kernel.org; Stanislaw Wadas;
> Andrzej Pietrasiewicz; Marek Szyprowski; Karol Lewandowski;
> philippedesw...@gmail.com
Add a reset controller for Marvell Berlin SoCs which is used by the
USB PHYs drivers (for now).
Signed-off-by: Antoine Tenart
Signed-off-by: Sebastian Hesselbarth
Acked-by: Philipp Zabel
---
drivers/reset/Makefile | 1 +
drivers/reset/reset-berlin.c | 131 ++
From: Sebastian Hesselbarth
Enable usb1 on Google Chromecast which is connected to micro-USB
plug used for external power supply, too.
Signed-off-by: Sebastian Hesselbarth
Signed-off-by: Antoine Tenart
---
arch/arm/boot/dts/berlin2cd-google-chromecast.dts | 4
1 file changed, 4 insertion
From: Sebastian Hesselbarth
Adds nodes describing the Marvell Berlin BG2CD USB PHY and USB. The BG2CD
SoC has 2 USB ChipIdea controllers, with usb0 host-only and usb1 dual-role
capable.
Signed-off-by: Sebastian Hesselbarth
Signed-off-by: Antoine Tenart
---
arch/arm/boot/dts/berlin2cd.dtsi | 3
Enable the 2 available USB PHY and USB nodes on the Marvell Berlin BG2Q
DMP.
Signed-off-by: Antoine Tenart
---
arch/arm/boot/dts/berlin2q-marvell-dmp.dts | 53 ++
1 file changed, 53 insertions(+)
diff --git a/arch/arm/boot/dts/berlin2q-marvell-dmp.dts
b/arch/arm/boo
Document the bindings of the Marvell Berlin USB PHY driver.
Signed-off-by: Antoine Tenart
---
Documentation/devicetree/bindings/phy/berlin-usb-phy.txt | 16
1 file changed, 16 insertions(+)
create mode 100644 Documentation/devicetree/bindings/phy/berlin-usb-phy.txt
diff --git
Adds nodes describing the Marvell Berlin BG2Q USB PHY and USB. The BG2Q
SoC has 3 USB host controller, compatible with ChipIdea.
Signed-off-by: Antoine Tenart
---
arch/arm/boot/dts/berlin2q.dtsi | 52 +
1 file changed, 52 insertions(+)
diff --git a/arch/a
Add a USB2 ChipIdea driver for ci13xxx, with optional PHY, clock
and DMA mask, to support USB2 ChipIdea controllers that don't need
specific functions.
Tested on the Marvell Berlin SoCs USB controllers.
Signed-off-by: Antoine Tenart
---
drivers/usb/chipidea/Makefile | 1 +
drivers/usb/c
Add the driver driving the Marvell Berlin USB PHY. This allows to
initialize the PHY and to use it from the USB driver later.
Signed-off-by: Antoine Tenart
---
drivers/phy/Kconfig | 7 ++
drivers/phy/Makefile | 1 +
drivers/phy/phy-berlin-usb.c | 224
Document the USB2 ChipIdea driver (ci13xxx) bindings.
Signed-off-by: Antoine Tenart
---
.../devicetree/bindings/usb/ci-hdrc-usb2.txt | 22 ++
1 file changed, 22 insertions(+)
create mode 100644 Documentation/devicetree/bindings/usb/ci-hdrc-usb2.txt
diff --git a/Docume
The Marvell Berlin SoCs now has a reset controller. Add the needed
configuration.
Signed-off-by: Antoine Tenart
---
arch/arm/mach-berlin/Kconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/mach-berlin/Kconfig b/arch/arm/mach-berlin/Kconfig
index 24f85be71671..5803f773a065 1006
This series adds the support for ChipIdea USB2 (ci13xxx) controllers,
the USB PHYs of the Marvell Berlin SoCs and also adds a reset
controller for these SoCs.
The reset controller is used by the PHY driver and shares the
existing chip controller node with the clocks and one pin controller.
The Ma
The chip controller node now also describes the Marvell Berlin reset
controller. Add the required 'reset-cells' property.
Signed-off-by: Antoine Tenart
Acked-by: Philipp Zabel
---
arch/arm/boot/dts/berlin2.dtsi | 1 +
arch/arm/boot/dts/berlin2cd.dtsi | 1 +
arch/arm/boot/dts/berlin2q.dtsi |
Add the reset binding documentation to the SoC binding documentation as
the reset driver in Marvell Berlin SoC is part of the chip/system
control registers. This patch adds the required properties to configure
the reset controller.
Signed-off-by: Antoine Tenart
Acked-by: Philipp Zabel
---
Docum
On Tuesday 23 September 2014 12:28:03 Antoine Tenart wrote:
> + if (dev->of_node) {
> + ret = ci_hdrc_usb2_dt_probe(dev, ci_pdata);
> + if (ret)
> + goto clk_err;
> + } else {
> + ret = dma_set_mask_and_coherent(&pdev->dev,
On Mon, Sep 22, 2014 at 05:07:55PM +0530, Kishon Vijay Abraham I wrote:
> On Thursday 18 September 2014 03:55 PM, Heikki Krogerus wrote:
> > On Mon, Sep 15, 2014 at 03:35:08PM +0300, Heikki Krogerus wrote:
> >> On Fri, Sep 12, 2014 at 08:16:01PM +0530, Kishon Vijay Abraham I wrote:
> >>> Assume you
Hi,
On Tuesday 23 September 2014 04:23 PM, Heikki Krogerus wrote:
> On Mon, Sep 22, 2014 at 05:07:55PM +0530, Kishon Vijay Abraham I wrote:
>> On Thursday 18 September 2014 03:55 PM, Heikki Krogerus wrote:
>>> On Mon, Sep 15, 2014 at 03:35:08PM +0300, Heikki Krogerus wrote:
On Fri, Sep 12, 20
Hi,
There is apparently another SCM USB-SCSI converter with ID 04E6:000F. It is
listed along with 04E6:000B in the Windows INF file for the Startech ICUSBSCSI2
as "eUSB SCSI Adapter (Bus Powered)". The quirk allows devices with SCSI ID
other than 0 to be accessed.
Also make a couple of existin
On Tue, Sep 23, 2014 at 04:33:09PM +0530, Kishon Vijay Abraham I wrote:
> Hi,
>
> On Tuesday 23 September 2014 04:23 PM, Heikki Krogerus wrote:
> > On Mon, Sep 22, 2014 at 05:07:55PM +0530, Kishon Vijay Abraham I wrote:
> >> On Thursday 18 September 2014 03:55 PM, Heikki Krogerus wrote:
> >>> On M
Arnd,
On Tue, Sep 23, 2014 at 12:39:04PM +0200, Arnd Bergmann wrote:
> On Tuesday 23 September 2014 12:28:03 Antoine Tenart wrote:
> > + if (dev->of_node) {
> > + ret = ci_hdrc_usb2_dt_probe(dev, ci_pdata);
> > + if (ret)
> > + goto clk_err;
On Tue, Mar 18, 2014 at 09:29:00PM +0100, Krzysztof Opasiak wrote:
> Dear Matt,
>
> In this series of patch I have added remove gadget, config, function,
> binding functionality which was missing since introduction of library.
>
> I have also added remove strings functionality which allow to remo
On Tue, May 13, 2014 at 05:13:18PM +0300, Philippe De Swert wrote:
> This patch series fixes a number of issues found with coverity in libusbg
> A pull request has also be made:
> https://github.com/libusbg/libusbg/pull/4
>
> This is the second version where we use a different fix for the readlink
As most ASM1051 based devices, this one has unfixable issues with uas too.
Cc: sta...@vger.kernel.org # 3.16
Signed-off-by: Hans de Goede
---
drivers/usb/storage/unusual_uas.h | 8
1 file changed, 8 insertions(+)
diff --git a/drivers/usb/storage/unusual_uas.h
b/drivers/usb/storage/unu
On Wed, Jun 11, 2014 at 05:09:46PM +0200, Krzysztof Opasiak wrote:
> Dear Matt,
>
> Configuration of function fs based functions using config fs has been
> merged to linux kernel quite long ago. To keep libusbg up to date I
> have prepared patches that add support for functionfs function type.
>
On Fri, Aug 22, 2014 at 01:56:37PM +0200, Krzysztof Opasiak wrote:
> Dear Matt,
>
> This is a small series which fix usbg_set_function_attrs()
> which previously tried to set attributes which are read only
> on configfs.
>
> I have also went through code and marked attributes which should not
> c
On Mon, 22 Sep 2014, Scot Doyle wrote:
> According to commit 0cce2eda19923e5e5ccc8b042dec5af87b3ffad0
> USB: fix LANGID=0 regression
>
> usb devices are not required to report string descriptors. Since they are
> optional, log an info message instead of an error message. In addition,
> use a
* Krzysztof Opasiak [140923 03:22]:
> > -Original Message-
> > From: Tony Lindgren [mailto:t...@atomide.com]
> > Sent: Monday, September 22, 2014 3:17 PM
> > To: Krzysztof Opasiak
> > Cc: 'Matt Porter'; linux-usb@vger.kernel.org; Stanislaw Wadas;
> > Andrzej Pietrasiewicz; Marek Szyprowski
On Mon, Aug 25, 2014 at 10:54:51AM +0200, Krzysztof Opasiak wrote:
> Dear Matt,
>
> This quite big series adds new part of libusbg API which allows to
> import/export gadget/function/configuration from/to file.
>
> Motivation:
>
> Libusbg allows to create a binary file which set up custom
> gadg
Forgot about link:
1 - https://github.com/kopasiak/gt
> -Original Message-
> From: Tony Lindgren [mailto:t...@atomide.com]
> Sent: Tuesday, September 23, 2014 4:34 PM
> To: Krzysztof Opasiak
> Cc: 'Matt Porter'; linux-usb@vger.kernel.org; Stanislaw Wadas;
> Andrzej Pietrasiewicz; Marek Szy
On Mon, Aug 25, 2014 at 05:51:25PM +0200, Johan Hovold wrote:
> This is quirk is indeed needed to get the Elan Touchscreen found on some
> Samsung laptops to enumerate reliably.
[...]
> Johan Hovold (2):
> USB: core: add device-qualifier quirk
> USB: quirks: enable device-qualifier quirk for
> -Original Message-
> From: Tony Lindgren [mailto:t...@atomide.com]
> Sent: Tuesday, September 23, 2014 4:34 PM
> To: Krzysztof Opasiak
> Cc: 'Matt Porter'; linux-usb@vger.kernel.org; Stanislaw Wadas;
> Andrzej Pietrasiewicz; Marek Szyprowski; Karol Lewandowski;
> philippedesw...@gmail.c
* Krzysztof Opasiak [140923 07:48]:
> > From: Tony Lindgren [mailto:t...@atomide.com]
> >
> > Is there an example somewhere that completely clears any configured
> > gadget from /sys/config/?
> >
>
> Yes, please check my master branch.
>
> There is a set of functions: usbg_rm_*() which can be u
On Mon, Sep 22, 2014 at 09:28:26AM -0500, Felipe Balbi wrote:
> Hi,
>
> On Thu, Sep 18, 2014 at 09:31:32AM -0500, Felipe Balbi wrote:
> > This reverts commit f2267089ea17fa97b796b1b4247e3f8957655df3.
> >
> > That commit causes more problem than fixes. Firstly, kfree()
> > should be called after u
On Tue, Sep 23, 2014 at 04:56:24PM +0200, Johan Hovold wrote:
> On Mon, Aug 25, 2014 at 05:51:25PM +0200, Johan Hovold wrote:
> > This is quirk is indeed needed to get the Elan Touchscreen found on some
> > Samsung laptops to enumerate reliably.
>
> [...]
>
> > Johan Hovold (2):
> > USB: core:
On Tue, Sep 23, 2014 at 07:55:38AM -0700, Greg KH wrote:
> On Mon, Sep 22, 2014 at 09:28:26AM -0500, Felipe Balbi wrote:
> > Hi,
> >
> > On Thu, Sep 18, 2014 at 09:31:32AM -0500, Felipe Balbi wrote:
> > > This reverts commit f2267089ea17fa97b796b1b4247e3f8957655df3.
> > >
> > > That commit causes
On Tue, Sep 23, 2014 at 08:21:51AM -0700, Greg Kroah-Hartman wrote:
> On Tue, Sep 23, 2014 at 04:56:24PM +0200, Johan Hovold wrote:
> > On Mon, Aug 25, 2014 at 05:51:25PM +0200, Johan Hovold wrote:
> > > This is quirk is indeed needed to get the Elan Touchscreen found on some
> > > Samsung laptops
On Tue, Sep 23, 2014 at 12:21:01PM +0200, Krzysztof Opasiak wrote:
> > -Original Message-
> > From: Tony Lindgren [mailto:t...@atomide.com]
> > Sent: Monday, September 22, 2014 3:17 PM
> > To: Krzysztof Opasiak
> > Cc: 'Matt Porter'; linux-usb@vger.kernel.org; Stanislaw Wadas;
> > Andrzej P
On Tuesday 23 September 2014 15:36:45 Antoine Tenart wrote:
> On Tue, Sep 23, 2014 at 12:39:04PM +0200, Arnd Bergmann wrote:
> > On Tuesday 23 September 2014 12:28:03 Antoine Tenart wrote:
> > > + if (dev->of_node) {
> > > + ret = ci_hdrc_usb2_dt_probe(dev, ci_pdata);
> > > +
HI,
On Tue, Sep 23, 2014 at 06:44:40PM +0200, Arnd Bergmann wrote:
> On Tuesday 23 September 2014 15:36:45 Antoine Tenart wrote:
> > On Tue, Sep 23, 2014 at 12:39:04PM +0200, Arnd Bergmann wrote:
> > > On Tuesday 23 September 2014 12:28:03 Antoine Tenart wrote:
> > > > + if (dev->of_node) {
On Tuesday 23 September 2014 11:55:15 Felipe Balbi wrote:
> On Tue, Sep 23, 2014 at 06:44:40PM +0200, Arnd Bergmann wrote:
> > On Tuesday 23 September 2014 15:36:45 Antoine Tenart wrote:
> > > On Tue, Sep 23, 2014 at 12:39:04PM +0200, Arnd Bergmann wrote:
> > > > On Tuesday 23 September 2014 12:28:
Hi,
On Tue, Sep 23, 2014 at 07:37:25PM +0200, Arnd Bergmann wrote:
> On Tuesday 23 September 2014 11:55:15 Felipe Balbi wrote:
> > On Tue, Sep 23, 2014 at 06:44:40PM +0200, Arnd Bergmann wrote:
> > > On Tuesday 23 September 2014 15:36:45 Antoine Tenart wrote:
> > > > On Tue, Sep 23, 2014 at 12:39:
On Tue, 23 Sep 2014, Alan Stern wrote:
> -ENODATA doesn't mean the string was unavailable. It means that the
> second byte of the reply was different from USB_DT_STRING, i.e., the
> reply was malformed.
Thank you for the correction!
> And down here is where you should call either dev_info() or d
According to commit 0cce2eda19923e5e5ccc8b042dec5af87b3ffad0
USB: fix LANGID=0 regression
usb devices are not required to report string descriptors. Since they are
optional, log an info message instead of an error message.
Signed-off-by: Scot Doyle
---
drivers/usb/core/message.c | 8 ++-
Hi,
my RDF-8 card reader does not establish a super-speed connection when connected
to an U3S6 USB3.0 port. It only manages high-speed:
[0.894119] xhci_hcd :05:00.0: xHCI Host Controller
[0.894126] xhci_hcd :05:00.0: new USB bus registered, assigned bus
number 8
[0.894300] x
I'm running debian 7.
Linux foobar 3.2.0-4-amd64 #1 SMP Debian 3.2.60-1+deb7u3 x86_64 GNU/Linux.
I have a Passport drive which fails on the USB3 connector. It works
fine on USB2. It also works fine as USB3 on my Lenovo laptop.
The output of lspci -v & lsusb -v is at
http://outtopastureenterp
I'd like to change this error message:
[3.325837] usb 1-4: string descriptor 0 malformed (err = -61), defaulting
to 0x0409
into an error message followed by a debug message:
[3.324726] usb 1-4: malformed string descriptor; unknown language,
defaulting to English
[3.327514] usb 1-4: s
Hi Alan,
Need your help looking over this detail here. When I run g_mass_storage
with stall=0 everything works fine. As soon as I remove it, things go
bonkers.
Looking at the bulk-only spec, I see:
"6.7.2 Hi - Host expects to receive data from the device
[ ... ]
The specific device requirement
On Tue, Sep 23, 2014 at 07:37:25PM +0200, Arnd Bergmann wrote:
> On Tuesday 23 September 2014 11:55:15 Felipe Balbi wrote:
> > On Tue, Sep 23, 2014 at 06:44:40PM +0200, Arnd Bergmann wrote:
> > > On Tuesday 23 September 2014 15:36:45 Antoine Tenart wrote:
> > > > On Tue, Sep 23, 2014 at 12:39:04PM
Dear Felipe,
On Wed, Sep 17 2014, Felipe Balbi wrote:
> On Wed, Sep 17, 2014 at 09:21:11AM +0200, Michal Sojka wrote:
>> All USB peripheral controller drivers called completion routines
>> directly. This patch moves the completion call from drivers to
>> usb_gadget_giveback_request(), in order to
use the values for RNDIS over Ethernet as defined in
http://www.usb.org/developers/defined_class
(search for RDNIS):
- baseclass: 0xef (miscellaneous)
- subclass: 0x04
- protocol: 0x01
with this setings the file in Documentation/usb/linux.inf is
obsolete.
Signed-off-by: Heiko Schocher
---
Cc:
62 matches
Mail list logo