From: Enrico Mioso
This driver supports devices using the NCM protocol as an encapsulation layer
for other protocols, like the E3131 Huawei 3G modem. This drivers approach was
heavily inspired by the qmi_wwan/cdc_mbim approach & code model.
Signed-off-by: Enrico Mioso
Signed-off-by: Bjørn Mork
Enrico has been kind enough to let me repost his driver with the changes
requested by Oliver Neukum during the last review of this series.
The changes I have made from Enricos original v5 series to this version
are:
v6:
- fix to avoid corrupting drvstate->pmcount
- fix error return value from h
From: Enrico Mioso
Remove device IDs of NCM-like (but not NCM-conformant) devices, that are
handled by the huawwei_cdc_ncm driver now.
Signed-off-by: Enrico Mioso
Signed-off-by: Bjørn Mork
---
drivers/net/usb/cdc_ncm.c | 11 ---
1 file changed, 11 deletions(-)
diff --git a/drivers/
From: Enrico Mioso
Some drivers implementing NCM-like protocols, may re-use those functions, as is
the case in the huawei_cdc_ncm driver.
Export them via EXPORT_SYMBOL_GPL, in accordance with how other functions have
been exported.
Signed-off-by: Enrico Mioso
Signed-off-by: Bjørn Mork
---
dri
Joe Perches writes:
> You did most all the multi-line statement
> alignment perfectly but missed a couple.
Damn! OK, that will teach me to do "checkpatch --strict" before
submitting.
> Maybe in a follow-on patch.
Yes, I'll fix this when I get around to the next series for this driver.
Thanks.
This patch removes dependency on Freescale USB UTG Transceiver
driver and makes OTG FSM implementation selectable.
Signed-off-by: Anton Tikhomirov
---
drivers/usb/phy/Kconfig | 10 +-
drivers/usb/phy/Makefile |4 ++--
2 files changed, 11 insertions(+), 3 deletions(-)
diff --git a
OTG Final State Machine calls functions which may sleep.
For example, start_gadget callback implementation can use
usb_gadget_vbus_connect(), whose context: can sleep.
If so, mutex should be used instead of spinlock.
Signed-off-by: Anton Tikhomirov
---
drivers/usb/phy/phy-fsl-usb.c |7 +++---
Other USB drivers may want to use OTG final state machine
implementation, so make this header available for them.
Signed-off-by: Anton Tikhomirov
---
drivers/usb/phy/phy-fsl-usb.h |1 -
drivers/usb/phy/phy-fsm-usb.c |2 -
drivers/usb/phy/phy-fsm-usb.h | 236 -
On Fri, 2013-11-01 at 12:35 +0100, Bjørn Mork wrote:
> So I believe we should do the update unconditionally, and but skip
> usb_autopm_put_interface if the get failed. Accordingly, these
> functions should always return 0 (not that there is anything currently
> checking the return anyway).
>
> I
Hello Maintainers:
Please help check this patch, when you have time.
Thanks.
On 10/23/2013 05:55 PM, Chen Gang wrote:
> When CONFIG_NOP_USB_XCEIV is as 'm', usb_nop_xceiv_register() will be
> exported when the related module is loaded. So for built-in source
> code, still need use the empty one.
On Sun, Nov 03, 2013 at 11:09:50PM +0100, Colin Leitner wrote:
> This patch fixes the CS5 setting on the PL2303 USB-to-serial devices. CS5 has
> a
> value of 0 and the CSIZE setting has been skipped altogether by the enclosing
> if. Tested on 3.11.6 and the scope shows the correct output after the
Hi Kishon,
> From: Kishon Vijay Abraham I [mailto:kis...@ti.com]
> Sent: Monday, November 04, 2013 7:55 AM
>
> Hi Vivek,
>
> On Thursday 31 October 2013 01:15 PM, Vivek Gautam wrote:
> > Add a new driver for the USB 3.0 PHY on Exynos5 series of SoCs.
> > The new driver uses the generic PHY frame
Replace the array of pointers to transfer descriptors with
the transfer descriptors themselves.
This saves a kzalloc() call on every transfer and some memory
indirections.
The only possible downside is for isochronous tranfers with 64 td
when the allocate is 8+4096 bytes (on 64bit systems) so req
In many cases the constant 1 is used for values that eventually
get written to the hardware ring. Replace all of these with the
symbolic constant TRB_CYCLE.
This makes it clear that the ring->cycle_state value is used when
writing to the actual ring itself.
Always use ^= TRB_CYCLE to invert the b
If there are setup requests not directed to an endpont or an interface,
current config's setup() has been attempted so far.
This patch, in case the above fails, adds code which tries the setup() of
configuration's function if there is only one function in the configuration.
This behavior is requir
Add support for using the loopback USB function in gadgets composed with
configfs.
Signed-off-by: Andrzej Pietrasiewicz
Signed-off-by: Kyungmin Park
---
.../ABI/testing/configfs-usb-gadget-loopback |8 ++
drivers/usb/gadget/Kconfig | 12 ++
drivers/usb/gadget
alloc_ep_req() is a function repeated in several modules.
Make a common implementation and use it.
Signed-off-by: Andrzej Pietrasiewicz
Signed-off-by: Kyungmin Park
---
drivers/usb/gadget/Makefile |2 +-
drivers/usb/gadget/f_hid.c| 18 +-
drivers/usb/gadget/f
Add support for using the sourcesink function in gadgets composed with
configfs.
Signed-off-by: Andrzej Pietrasiewicz
Signed-off-by: Kyungmin Park
---
.../ABI/testing/configfs-usb-gadget-sourcesink | 12 +
drivers/usb/gadget/Kconfig |7 +-
drivers/usb/gadget/f_
This series aims at integrating configfs into gadget zero, the way
it has been done for acm, ncm, ecm, eem, ecm subset, rndis, obex, phonet,
mass_storage and FunctionFS. It contains everything that is required to provide
the
equivalent of g_zero.ko with configfs.
BACKWARD COMPATIBILITY
=
Hi Matt,
Thank you for the library:
http://thread.gmane.org/gmane.linux.kernel/1556137
I'd like to make some comments you might want to consider.
I don't like too much the idea of hardcoding the set of available functions.
When new functions' conversions to use configfs are available (or comp
Hi, greg
I have used the minicom program which calls the open system call in
blocking mode to access the usb device, and it seems there is no
problem with it. So, the only thing I can suspect is that there is a
bug in "open" system call implementation. Do you know which directory
containing the so
Hi Kishon,
On Monday 04 of November 2013 12:24:42 Kishon Vijay Abraham I wrote:
> Hi Vivek,
>
> On Thursday 31 October 2013 01:15 PM, Vivek Gautam wrote:
> > Add a new driver for the USB 3.0 PHY on Exynos5 series of SoCs.
> > The new driver uses the generic PHY framework and will interact
> > wit
Hi,
> -Original Message-
> From: Felipe Balbi [mailto:ba...@ti.com]
> Sent: Thursday, October 31, 2013 4:23 PM
> To: Krzysztof Opasiak
> Cc: ba...@ti.com; linux-usb@vger.kernel.org; 'Matt Porter'
> Subject: Re: Gadget tool proposition
>
> Hi,
>
> On Thu, Oct 31, 2013 at 01:35:45PM +0100,
Hi,
> -Original Message-
> From: 'Matt Porter' [mailto:matt.por...@linaro.org]
> Sent: Saturday, November 02, 2013 6:59 PM
> To: Krzysztof Opasiak
> Cc: ba...@ti.com; linux-usb@vger.kernel.org
> Subject: Re: Gadget tool proposition
>
> On Thu, Oct 31, 2013 at 01:35:45PM +0100, Krzysztof O
A: No.
Q: Should I include quotations after my reply?
http://daringfireball.net/2007/07/on_top
On Mon, Nov 04, 2013 at 07:58:42PM +0800, ys6 land wrote:
> Hi, greg
>
> I have used the minicom program which calls the open system call in
> blocking mode to access the usb device, and it seems ther
Legacy gadgets supporting mass storage (g_mass_storage, g_acm_ms, g_multi)
all depend on BLOCK.
Make the standalone compilation of f_mass_storage (without any legacy
gadget) dependent no BLOCK, too.
Signed-off-by: Andrzej Pietrasiewicz
Signed-off-by: Kyungmin Park
---
drivers/usb/gadget/Kconfi
Interface 1 on this device isn't for option to bind to otherwise an oops
on usb_wwan with log flooding will happen:
tty_release: ttyUSB1: read/write wait queue active!
And it doesn't seem to respond to QMI if it's added to qmi_wwan so don't
add it there.
Signed-off-by: Gustavo Zacarias
---
dri
Hi guys,
This is my first post to this list, so let me quickly introduce myself.
I'm a software engineer for Ettus Research (National Instruments).
One of our new products [1] is a USB 3.0 (using Cypress FX3) based SDR
that currently ships
with a libusb based open source driver integrated in our
On Monday 04 November 2013 05:56 PM, Tomasz Figa wrote:
Hi Kishon,
On Monday 04 of November 2013 12:24:42 Kishon Vijay Abraham I wrote:
Hi Vivek,
On Thursday 31 October 2013 01:15 PM, Vivek Gautam wrote:
Add a new driver for the USB 3.0 PHY on Exynos5 series of SoCs.
The new driver uses the g
Hi,
On Monday 04 November 2013 03:45 PM, Kamil Debski wrote:
Hi Kishon,
From: Kishon Vijay Abraham I [mailto:kis...@ti.com]
Sent: Monday, November 04, 2013 7:55 AM
Hi Vivek,
On Thursday 31 October 2013 01:15 PM, Vivek Gautam wrote:
Add a new driver for the USB 3.0 PHY on Exynos5 series of S
In Test 10 of usbtest module, it queues multiple control messages and
thereby tests control message queuing, protocol stalls, short reads, and
fault handling. And this patch add a test case to support queue BOS control
request for USB 3.0 SPEC.
Signed-off-by: Huang Rui
---
drivers/usb/misc/usbte
On Mon, Nov 04, 2013 at 02:06:33PM +0100, Moritz Fischer wrote:
> Hi guys,
>
> This is my first post to this list, so let me quickly introduce myself.
> I'm a software engineer for Ettus Research (National Instruments).
>
> One of our new products [1] is a USB 3.0 (using Cypress FX3) based SDR
>
Hi,
> -Original Message-
> From: Andrzej Pietrasiewicz [mailto:andrze...@samsung.com]
> Sent: Monday, November 04, 2013 12:52 PM
> To: matt.por...@linaro.org
> Cc: jeng...@inai.de; linux-usb@vger.kernel.org; Marek Szyprowski;
> kyungmin.p...@samsung.com; Krzysztof Opasiak
> Subject: about
On 18/10/2013 21:26, Boris BREZILLON :
The AT91 PMC (Power Management Controller) provides a USB clock used by
the different USB controllers (ehci, ohci and udc).
The atmel-ehci driver must configure the usb clock rate to 48Mhz in order
to get a fully functionnal USB host controller.
This configu
Change-Id: I787380dda981c7cee6508a4ff566d7ca9fb273cf
Signed-off-by: Stanislaw Wadas
---
src/gadget.c | 12 +++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/src/gadget.c b/src/gadget.c
index faed675..ff4f3d5 100644
--- a/src/gadget.c
+++ b/src/gadget.c
@@ -93,6 +93,11 @
In reference to the message sent by Andrzej Pietrasiewicz
(about libusbg (formerly libgadget)) I would like to propose
some changes to libusbg.
Best Regards
Stanislaw Wadas
Samsung R&D Institute Poland
Samsung Electronics
s.wa...@samsung.com
--
To unsubscribe from this list: send the line "uns
mkdir() function are now called after successfull function
creation.
Added inline to gadget_write_string().
256 hard coded value has been replaced by two defined
constants MAX_LENGHT and MAX_PATH_LENGHT
Change-Id: Ifcfaf9cf95da6558c176ce3367cd553cea54e871
Signed-off-by: Stanislaw Wadas
---
inclu
W dniu 04.11.2013 14:55, Stanislaw Wadas pisze:
mkdir() function are now called after successfull function
creation.
Added inline to gadget_write_string().
256 hard coded value has been replaced by two defined
constants MAX_LENGHT and MAX_PATH_LENGHT
LENGHT -> LENGTH
Change-Id: Ifcfaf9cf95da
On Sat, 2013-11-02 at 19:17 +0530, Govindarajulu Varadarajan wrote:
> Signed-off-by: Govindarajulu Varadarajan
[]
> diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
[]
> @@ -3719,7 +3719,7 @@ sub process {
> # check for needless "if () fn()" uses
> if ($prevline =~ /\bif\s
On Mon, Nov 4, 2013 at 2:21 PM, Greg KH wrote:
> Where specifically in the kernel? Busywaiting for data transferrs to
> complete, or doing something else? Are you keeping the pipeline full to
> the device? You should be able to hit USB "line speed" from userspace
> if you just are reading/writ
On Sun, 3 Nov 2013, Peter Chen wrote:
> > > diff --git a/drivers/usb/host/ehci-fsl.c b/drivers/usb/host/ehci-fsl.c
> > > index a06d501..bf405fd 100644
> > > --- a/drivers/usb/host/ehci-fsl.c
> > > +++ b/drivers/usb/host/ehci-fsl.c
> > > @@ -139,6 +139,7 @@ static int usb_hcd_fsl_probe(const struct
On Mon, 4 Nov 2013, Luke-Jr wrote:
> On Tuesday, October 29, 2013 2:39:14 PM Alan Stern wrote:
> > On Mon, 28 Oct 2013, Luke-Jr wrote:
> > > https://bugzilla.kernel.org/show_bug.cgi?id=63961
> > >
> > > Kernel version 3.10.15
> > >
> > > [1774470.503558] hub 2-1.3:1.0: hub_port_status failed (er
mkdir() function are now called after successfull function
creation.
Added inline to gadget_write_string().
256 hard coded value has been replaced by two defined
constants MAX_LENGTH and MAX_PATH_LENGTH
Change-Id: Ifcfaf9cf95da6558c176ce3367cd553cea54e871
Signed-off-by: Stanislaw Wadas
---
inclu
Change-Id: I787380dda981c7cee6508a4ff566d7ca9fb273cf
Signed-off-by: Stanislaw Wadas
---
src/gadget.c | 12 +++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/src/gadget.c b/src/gadget.c
index faed675..ff4f3d5 100644
--- a/src/gadget.c
+++ b/src/gadget.c
@@ -93,6 +93,11 @
On 04.11.2013 15:10, Andrzej Pietrasiewicz wrote:
W dniu 04.11.2013 14:55, Stanislaw Wadas pisze:
mkdir() function are now called after successfull function
creation.
Added inline to gadget_write_string().
256 hard coded value has been replaced by two defined
constants MAX_LENGHT and MAX_PATH_LE
On Mon, 4 Nov 2013, Moritz Fischer wrote:
> Hi guys,
>
> This is my first post to this list, so let me quickly introduce myself.
> I'm a software engineer for Ettus Research (National Instruments).
>
> One of our new products [1] is a USB 3.0 (using Cypress FX3) based SDR
> that currently ships
On Monday, November 04, 2013 3:07:18 PM Alan Stern wrote:
> On Mon, 4 Nov 2013, Luke-Jr wrote:
> > On Tuesday, October 29, 2013 2:39:14 PM Alan Stern wrote:
> > > On Mon, 28 Oct 2013, Luke-Jr wrote:
> > > > https://bugzilla.kernel.org/show_bug.cgi?id=63961
> > > >
> > > > Kernel version 3.10.15
>
Updating the TRB_CYCLE bit in the first trb has to be done after all the
subsequent
trb have been written. The code to do this was overly complicated.
When initially writing the start_trb invert its TRB_CYCLE bit.
In giveback_first_trb() invert the TRB_CYCLE bit again.
Tested with a USB keyboar
On Fri, Nov 1, 2013 at 5:04 PM, Alan Stern wrote:
> On Fri, 1 Nov 2013, Cliff Brake wrote:
>
>> On Thu, Oct 31, 2013 at 2:25 PM, Alan Stern
>> wrote:
>>
>> >> > What host controller driver are you using?
>> >>
>> >> Its the USB EHCI host in the TI DM3730, so it uses the
>> >> drivers/usb/host/eh
On Mon, 4 Nov 2013, Luke-Jr wrote:
> Perhaps I phrased that wrong: I suspect this is a hardware issue or firmware
> bug, triggering bad error handling in Linux. After upgrading to 3.12, Linux
> indeed survives the hub being plugged in, and the hub is usable, but I still
> see various errors in
On Mon, Nov 04, 2013 at 04:09:39PM +0100, Stanislaw Wadas wrote:
> Change-Id: I787380dda981c7cee6508a4ff566d7ca9fb273cf
> Signed-off-by: Stanislaw Wadas
Need a commit log entry for this one.
Can you please follow kernel conventions when posting/reposting?
Submit the updated series with a versio
On Monday, November 04, 2013 4:22:04 PM Alan Stern wrote:
> On Mon, 4 Nov 2013, Luke-Jr wrote:
> > Perhaps I phrased that wrong: I suspect this is a hardware issue or
> > firmware bug, triggering bad error handling in Linux. After upgrading to
> > 3.12, Linux indeed survives the hub being plugged i
On Mon, Nov 04, 2013 at 02:55:46PM +0100, Stanislaw Wadas wrote:
> In reference to the message sent by Andrzej Pietrasiewicz
> (about libusbg (formerly libgadget)) I would like to propose
> some changes to libusbg.
Along the lines in my other reply, it would be preferred if you could
send this typ
Mass storage gadget returns DELAYED_STATUS in stead of
USB_GADGET_DELAYED_STATUS while handling bulk reset request. Since
peripheral driver uses USB_GADGET_DELAYED_STATUS for delayed status
handling, therefore replace DELAYED_STATUS by USB_GADGET_DELAYED_STATUS
in mass storage driver.
Since, DELAY
Hi
I'm attaching dmesg with old_scheme_first=1 and
CONFIG_USB_STORAGE_DEBUG enabled. I compiled code with
old_scheme_first set to 1. I see that it doesn't do get descriptor
early in the loop so it doesn't run into khubd time out. But as I
mentioned earlier usb-storage runs into some sort of error
On Mon, 4 Nov 2013, Cliff Brake wrote:
> > As far as I can tell, the big blockage occurs when the machine has to
> > analyze an input report from which it extracts 767 fields and ends up
> > calling hid_process_event about 2300 times. Since each call takes
> > around 60-80 microseconds, you end u
On Sat, Nov 02, 2013 at 04:18:05AM +0800, Paul Zimmerman wrote:
> > From: Alan Stern
> > Sent: Friday, November 01, 2013 7:09 AM
> >
> > Now DELAYED_STATUS isn't used anywhere. You should add the following
> > hunk to this patch:
> >
> > Index: usb-3.12/drivers/usb/gadget/storage_common.c
> > ==
2013/11/4 Stanislaw Wadas:
> @@ -127,6 +132,7 @@ static void gadget_write_buf(char *path, char *name, char
> *file, char *buf)
> {
> char p[MAX_LENGHT];
> FILE *fp;
> + int ret;
this new variable isn't used in the hunk that follows:
> sprintf(p, "%s/%s/%s", path,
On 10/30/2013 03:38 PM, Bin Liu wrote:
> Only start the otg_timer in dual role mode; otherwise in peripheral mode
> when musb is disconnected from the host port, otg_timer starts and
> continuously toggles the session, which causes VBUS pulse.
Hmm. Okay, so one piece of the pulsing should be gone
On Mon, 4 Nov 2013, Luke-Jr wrote:
> On Monday, November 04, 2013 4:22:04 PM Alan Stern wrote:
> > On Mon, 4 Nov 2013, Luke-Jr wrote:
> > > Perhaps I phrased that wrong: I suspect this is a hardware issue or
> > > firmware bug, triggering bad error handling in Linux. After upgrading to
> > > 3.12,
On Mon, 4 Nov 2013, Prasad Koya wrote:
> Hi
>
> I'm attaching dmesg with old_scheme_first=1 and
> CONFIG_USB_STORAGE_DEBUG enabled. I compiled code with
> old_scheme_first set to 1. I see that it doesn't do get descriptor
> early in the loop so it doesn't run into khubd time out. But as I
> menti
On Mon, 4 Nov 2013, Alan Stern wrote:
> On Mon, 4 Nov 2013, Prasad Koya wrote:
>
> > Hi
> >
> > I'm attaching dmesg with old_scheme_first=1 and
> > CONFIG_USB_STORAGE_DEBUG enabled. I compiled code with
> > old_scheme_first set to 1. I see that it doesn't do get descriptor
> > early in the loop
* Dirk Gouders | 2013-11-01 00:39:46 [+0100]:
>This patch sets choice_values' visibility that depend on symbols set
>to 'm' to 'n' if the corresponding choice is set to 'y'. This makes
>them disappear from the choice list and will also cause the
>choice_values' value set to 'n' in sym_calc_value(
Sebastian,
On Mon, Nov 4, 2013 at 11:13 AM, Sebastian Andrzej Siewior
wrote:
> On 10/30/2013 03:38 PM, Bin Liu wrote:
>> Only start the otg_timer in dual role mode; otherwise in peripheral mode
>> when musb is disconnected from the host port, otg_timer starts and
>> continuously toggles the sessi
Sebastian,
On Mon, Nov 4, 2013 at 11:40 AM, Bin Liu wrote:
> Sebastian,
>
> On Mon, Nov 4, 2013 at 11:13 AM, Sebastian Andrzej Siewior
> wrote:
>> On 10/30/2013 03:38 PM, Bin Liu wrote:
>>> Only start the otg_timer in dual role mode; otherwise in peripheral mode
>>> when musb is disconnected fro
On 11/04/2013 06:43 PM, Bin Liu wrote:
> Sebastian,
Hi Bin,
> Sorry, please ignore my message above. I misinterpreted your response.
> Yeah, probably not easy to get rid of starting otg_timer in
> dsps_interrupt(), otg mode still needs it.
Yes. It may work with the try_idle() thingy that we have
This patch fixes the CS5 setting on the PL2303 USB-to-serial devices. CS5 has a
value of 0 and the CSIZE setting has been skipped altogether by the enclosing
if. Tested on 3.11.6 and the scope shows the correct output after the fix has
been applied.
Tagged to be added to stable, because it fixes a
Hello.
On 11/04/2013 04:01 PM, Gustavo Zacarias wrote:
Interface 1 on this device isn't for option to bind to otherwise an oops
on usb_wwan with log flooding will happen:
tty_release: ttyUSB1: read/write wait queue active!
And it doesn't seem to respond to QMI if it's added to qmi_wwan so
Hello.
On 11/04/2013 04:55 PM, Stanislaw Wadas wrote:
Change-Id: I787380dda981c7cee6508a4ff566d7ca9fb273cf
This line shouldn't be present in the upstream patches.
Signed-off-by: Stanislaw Wadas
---
src/gadget.c | 12 +++-
1 file changed, 11 insertions(+), 1 deletion(-)
d
Hi Alan,
Appreciate your comments. Please, see my reply.
On 10/30/2013 10:35 AM, Alan Stern wrote:
On Wed, 30 Oct 2013, David Cohen wrote:
Check gadget.quirk_ep_out_aligned_size to decide if buffer size requires
to be aligned to maxpacketsize of an out endpoint. ffs_epfile_io() needs
to pad e
On Mon, Nov 04, 2013 at 07:40:43PM +0100, Colin Leitner wrote:
> This patch fixes the CS5 setting on the PL2303 USB-to-serial devices. CS5 has
> a
> value of 0 and the CSIZE setting has been skipped altogether by the enclosing
> if. Tested on 3.11.6 and the scope shows the correct output after the
From: Govindarajulu Varadarajan
Date: Sat, 2 Nov 2013 19:17:43 +0530
> @@ -1030,10 +1030,8 @@ static void ni65_xmit_intr(struct net_device *dev,int
> csr0)
> }
>
> #ifdef XMT_VIA_SKB
> - if(p->tmd_skb[p->tmdlast]) {
> - dev_kfree_skb_irq(p->tmd_
On Fri, 2013-11-01 at 13:53 +0100, Bjørn Mork wrote:
> This reverts commit 7b0c5f21f348a66de495868b8df0284e8dfd6bbf.
>
> It's not easy to create a driver for all the various firmware
> bugs out there.
>
> This change caused regressions for a number of devices, which
> started to fail link detecti
Sebastian, All,
On 2013-11-04 18:27 +0100, Sebastian Andrzej Siewior spake thusly:
> * Dirk Gouders | 2013-11-01 00:39:46 [+0100]:
>
> >This patch sets choice_values' visibility that depend on symbols set
> >to 'm' to 'n' if the corresponding choice is set to 'y'. This makes
> >them disappear fr
From: Bjørn Mork
Date: Fri, 1 Nov 2013 14:18:51 +0100
> This series fixes three problems Oliver pointed out during the
> review of the new huawei_cdc_ncm driver:
> http://patchwork.ozlabs.org/patch/278903/
>
> That innocent driver only used cdc_mbim as a blueprint, and
> all the blame should re
From: hayeswang
Date: Thu, 31 Oct 2013 13:52:38 +0800
> From: David Miller [mailto:da...@davemloft.net]
> Sent: Thursday, October 31, 2013 5:05 AM
>>
>> From: Hayes Wang
>> Date: Wed, 30 Oct 2013 15:13:39 +0800
> [...]
>> Basically, your driver will now queue up to 1,000 packets onto
>> this t
On Wed, Oct 23 2013, Andrzej Pietrasiewicz wrote:
> This is required in order to integrate configfs support.
> f_fs needs to be a separately compiled module and so it needs to use the new
> interface.
>
> Signed-off-by: Andrzej Pietrasiewicz
> Signed-off-by: Kyungmin Park
Acked-by: Michal Nazare
On Wed, Oct 23 2013, Andrzej Pietrasiewicz wrote:
> Prepare for configfs integration. Use the new interface so that f_fs can be
> made a module.
>
> Signed-off-by: Andrzej Pietrasiewicz
> Signed-off-by: Kyungmin Park
> ---
> drivers/usb/gadget/Kconfig |1 +
> drivers/usb/gadget/g_ffs.c | 13
On Wed, Oct 23 2013, Andrzej Pietrasiewicz wrote:
> There are no old function interface users left, so the old interface can
> be removed.
>
> Signed-off-by: Andrzej Pietrasiewicz
> Signed-off-by: Kyungmin Park
Acked-by: Michal Nazarewicz
> ---
> drivers/usb/gadget/f_fs.c | 148
> +
On Wed, Oct 23 2013, Andrzej Pietrasiewicz wrote:
> Add support for using FunctionFS in configfs-based USB gadgets.
>
> Signed-off-by: Andrzej Pietrasiewicz
> Signed-off-by: Kyungmin Park
Acked-by: Michal Nazarewicz
--
Best regards, _ _
.o. | Liege
On Mon, Nov 04, 2013 at 02:55:48PM +0100, Stanislaw Wadas wrote:
> Change-Id: I787380dda981c7cee6508a4ff566d7ca9fb273cf
> Signed-off-by: Stanislaw Wadas
> ---
> src/gadget.c | 12 +++-
> 1 file changed, 11 insertions(+), 1 deletion(-)
>
> diff --git a/src/gadget.c b/src/gadget.c
> inde
This patch moves all bitflags to the end of usb_gadget struct in order
to improve readability.
Signed-off-by: David Cohen
---
include/linux/usb/gadget.h | 19 ++-
1 file changed, 10 insertions(+), 9 deletions(-)
diff --git a/include/linux/usb/gadget.h b/include/linux/usb/gadget.
Due to USB controllers may have different restrictions, usb gadget layer
needs to provide a generic way to inform gadget functions to complain
with non-standard requirements.
This patch adds 'quirk_ep_out_aligned_size' field to struct usb_gadget
to inform when controller's epout requires buffer si
DWC3 requires epout to have buffer size aligned to MaxPacketSize value.
This patch adds necessary quirk for it.
Signed-off-by: David Cohen
---
drivers/usb/dwc3/gadget.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/drivers/usb/dwc3/gadget.c b/drivers/usb/dwc3/gadget.c
index 5452c0fce
Check gadget.quirk_ep_out_aligned_size to decide if buffer size requires
to be aligned to maxpacketsize of an out endpoint. ffs_epfile_io() needs
to pad epout buffer to match above condition if quirk is found.
Signed-off-by: David Cohen
---
drivers/usb/gadget/f_fs.c | 22 ++
Hi,
These patches are a proposal to add gadget quirks in an immediate objective to
adapt f_fs when using DWC3 controller. But the quirk solution is generic and
can be used by other controllers to adapt gadget functions to their
non-standard restrictions.
This change is necessary to make Android's
DWC3 requires epout to have buffer size aligned to MaxPacketSize value.
This patch sets necessary quirk for it.
Signed-off-by: David Cohen
---
Changes from v4 to v4.1:
- just updated patch's subject. No actual code changed.
drivers/usb/dwc3/gadget.c | 6 ++
1 file changed, 6 insertions(+)
On Mon, Nov 4, 2013 at 11:51 AM, Alan Stern wrote:
> On Mon, 4 Nov 2013, Cliff Brake wrote:
>> We have the same system running on a older PXA270 version of the
>> product (vs the current TI DM3730). It has an older OHCI 12Mbit USB
>> host controller (vs the current TI EHCI controller). We have
Hi Felipe & Shawn,
The serial adds power management support for MXS PHY, it includes:
- Add three common PHY APIs, .set_wakeup, .notify_suspend, notify_resume.
- Related above API implementation at mxs phy driver
- misc changes for mxs phy to support low power mode and wakeup.
My github tree: ht
Some PHY bugs are fixed by IC logic, but these bits are not
enabled by default, so we enable them at driver.
Signed-off-by: Peter Chen
---
drivers/usb/phy/phy-mxs-usb.c | 32 ++--
1 files changed, 30 insertions(+), 2 deletions(-)
diff --git a/drivers/usb/phy/phy-mx
The mxs-phy has several bugs and features at different
versions, the driver code can get it through of_device_id.data.
Signed-off-by: Peter Chen
---
drivers/usb/phy/phy-mxs-usb.c | 59 ++--
1 files changed, 50 insertions(+), 9 deletions(-)
diff --git a/driv
Add anatop phandle which is used to access anatop registers to
control PHY's power and other USB operations.
Signed-off-by: Peter Chen
---
Documentation/devicetree/bindings/usb/mxs-phy.txt |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/Documentation/devicetree/bindings
It is needed by imx6 SoC serial, but not for imx23 and imx28.
Signed-off-by: Peter Chen
---
drivers/usb/phy/phy-mxs-usb.c | 15 +++
1 files changed, 15 insertions(+), 0 deletions(-)
diff --git a/drivers/usb/phy/phy-mxs-usb.c b/drivers/usb/phy/phy-mxs-usb.c
index 472fe36..8cdfbf1 1
Implementation of notify_suspend and notify_resume will be different
according to mxs_phy_platform_flag->flags.
Signed-off-by: Peter Chen
---
drivers/usb/phy/phy-mxs-usb.c | 54 +---
1 files changed, 50 insertions(+), 4 deletions(-)
diff --git a/drivers/usb
When we need the PHY can be waken up by external signals,
we can call this API. Besides, we call mxs_phy_disconnect_line
at this API to close the connection between USB PHY and
controller, after that, the line state from controller is SE0.
Once the PHY is out of power, without calling mxs_phy_disco
Add anatop phandle for usbphy
Signed-off-by: Peter Chen
---
arch/arm/boot/dts/imx6qdl.dtsi |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/arch/arm/boot/dts/imx6qdl.dtsi b/arch/arm/boot/dts/imx6qdl.dtsi
index 226ce75..bb79678 100644
--- a/arch/arm/boot/dts/imx6qdl.dtsi
We need this to keep PHY's power on or off during the system
suspend mode. If we need to enable USB wakeup, then we
must keep PHY's power being on during the system suspend mode.
Otherwise, we need to keep PHY's power being off to save power.
Signed-off-by: Peter Chen
---
drivers/usb/phy/phy-mxs
With the auto setting, the PHY's clock and power can be
recovered correctly from low power mode, it is ganranteed by IC logic.
Signed-off-by: Peter Chen
---
drivers/usb/phy/phy-mxs-usb.c | 20 +---
1 files changed, 17 insertions(+), 3 deletions(-)
diff --git a/drivers/usb/phy/
This API is used to set wakeup enable at PHY registers, in that
case, the PHY can be waken up from suspend due to external events,
like vbus change, dp/dm change and id change.
Signed-off-by: Peter Chen
---
include/linux/usb/phy.h | 16
1 files changed, 16 insertions(+), 0 del
Hi Greg,
This serial adds power management (system & runtime) for chipidea core.
With this, the chipidea controller can be at low power mode when it is not in
use, and the chipidea controller can be the system wakeup source.
It needs to depend on my patch[1], since [1]-"Add power management suppor
1 - 100 of 131 matches
Mail list logo