Fix Internal error: : 808 [#1] ARM related to STS flag
* init the sts flag to 0 (missed)
* fix write the real bit not sts value
* Set PORTCS_STS and DEVLC_STS only if sts = 1
(prefered solution by Mr. Peter Chen, Maintainer of ChipIdea subsystem)
Signed-off-by: Chris Ruehl
---
drivers/usb/chip
usb: chipidea: Reallocate regmap only if lpm is detected
The regmap only needs to reallocate if the hw_read on the CAP register shows
lpm is used. Therefore the if() statement check the change.
Signed-off-by: Chris Ruehl
Acked-by: Peter Chen
---
drivers/usb/chipidea/core.c |7 ++-
1 fi
usb: chipidea: hw_phymode_configure moved before ci_usb_phy_init
hw_phymode_configure configures the PORTSC registers and allow the
following phy_inits to operate on the right parameters. This fix a problem
where the UPLI (ISP1504) could not detected, because the Viewport was not
available and read
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/
Add "fsl,imx6q-usbphy" for imx6dq and imx6dl, add
"fsl,imx6sl-usbphy" for imx6sl.
Signed-off-by: Peter Chen
---
Documentation/devicetree/bindings/usb/mxs-phy.txt |3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/Documentation/devicetree/bindings/usb/mxs-phy.txt
b/Docume
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 | 58 ++--
1 files changed, 49 insertions(+), 9 deletions(-)
diff --git a/driv
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 and bug fixes for mxs phy to support low power mode and wakeup.
It i
After clear portsc.phcd, PHY needs 200us stable time for switch
32K clock to AHB clock.
Signed-off-by: Peter Chen
---
drivers/usb/phy/phy-mxs-usb.c | 11 +++
1 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/drivers/usb/phy/phy-mxs-usb.c b/drivers/usb/phy/phy-mxs-usb.c
in
At very rare cases, the SoF will not send out after resume with
low speed connection. The workaround is do not power down
PWD.RXPWD1PT1 bit during the suspend.
Signed-off-by: Peter Chen
---
drivers/usb/phy/phy-mxs-usb.c | 47 -
1 files changed, 46 insert
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 | 20
1 files changed, 20 insertions(+), 0 deletions(-)
diff --git a/drivers/usb/phy/phy-mxs-usb.c b/dr
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 ++
arch/arm/boot/dts/imx6sl.dtsi |2 ++
2 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/arch/arm/boot/dts/imx6qdl.dtsi b/arch/arm/boot/dts/imx6qdl.dtsi
index 59154dc..4e74962 10
They are used to notify PHY that the controller enters suspend
or finishes resume.
Signed-off-by: Peter Chen
---
include/linux/usb/phy.h | 23 +++
1 files changed, 23 insertions(+), 0 deletions(-)
diff --git a/include/linux/usb/phy.h b/include/linux/usb/phy.h
index 6c0b1c5
It is used to access un-regulator registers according to
different controllers.
Signed-off-by: Peter Chen
---
drivers/usb/phy/phy-mxs-usb.c |8
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/drivers/usb/phy/phy-mxs-usb.c b/drivers/usb/phy/phy-mxs-usb.c
index 52e80d9.
We fix the problem that we only use the 1st controller's related
registers at mxs_phy_disconnect_line, but in fact, it needs to
access registers according to different PHYs.
Signed-off-by: Peter Chen
---
drivers/usb/phy/phy-mxs-usb.c | 89 +
1 files chan
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
We need to use controller id to access different register regions
for mxs phy.
Signed-off-by: Peter Chen
---
arch/arm/boot/dts/imx23.dtsi |1 +
arch/arm/boot/dts/imx28.dtsi |2 ++
arch/arm/boot/dts/imx6qdl.dtsi |2 ++
arch/arm/boot/dts/imx6sl.dtsi |2 ++
4 files changed, 7 i
Implementation of notify_suspend and notify_resume will be different
according to mxs_phy_data->flags.
Signed-off-by: Peter Chen
---
drivers/usb/phy/phy-mxs-usb.c | 55 ++---
1 files changed, 51 insertions(+), 4 deletions(-)
diff --git a/drivers/usb/phy/phy
It is needed by imx6 SoC series, but not for imx23 and imx28.
Signed-off-by: Peter Chen
---
drivers/usb/phy/phy-mxs-usb.c | 23 +--
1 files changed, 21 insertions(+), 2 deletions(-)
diff --git a/drivers/usb/phy/phy-mxs-usb.c b/drivers/usb/phy/phy-mxs-usb.c
index 70b084d..d
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
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
On Mon, Dec 02, 2013 at 03:05:19PM +0800, Chris Ruehl wrote:
> @@ -154,6 +164,27 @@ int usb_phy_gen_create_phy(struct device *dev, struct
> usb_phy_gen_xceiv *nop,
> {
> int err;
>
> + if (nop->ulpi_vbus > 0) {
> + unsigned int flags = 0;
> +
> + if (nop->ulpi_
On 12/03/2013 08:37 AM, Peter Chen wrote:
> 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 | 20
> 1 files changed, 20 insertions(+), 0 delet
On 12/03/2013 08:37 AM, Peter Chen wrote:
> We fix the problem that we only use the 1st controller's related
> registers at mxs_phy_disconnect_line, but in fact, it needs to
> access registers according to different PHYs.
Are you fixing the code that has been added in this series before? If
so, pl
On 12/03/2013 08:36 AM, Peter Chen wrote:
> 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 | 58 ++--
> 1 files chan
>
> On 12/03/2013 08:37 AM, Peter Chen wrote:
> > 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 | 20
> > 1 files changed, 20 in
On Tue, Dec 03, 2013 at 09:38:20AM +0100, Marc Kleine-Budde wrote:
> On 12/03/2013 08:36 AM, Peter Chen wrote:
> > 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/
On Tue, Dec 03, 2013 at 09:34:09AM +0100, Marc Kleine-Budde wrote:
> On 12/03/2013 08:37 AM, Peter Chen wrote:
> > We fix the problem that we only use the 1st controller's related
> > registers at mxs_phy_disconnect_line, but in fact, it needs to
> > access registers according to different PHYs.
>
On 12/03/2013 09:38 AM, Peter Chen wrote:
>
>>
>> On 12/03/2013 08:37 AM, Peter Chen wrote:
>>> 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 | 20 +++
On Mon, 2013-12-02 at 13:19 +0100, David Cluytens wrote:
> From: David Cluytens
Please see the FAQ on submitting kernel patches in the Documentation
directory of the kernel. Your patches need a "Signed-off-by" line.
Regards
Oliver
--
To unsubscribe from this list: send
> On 12/03/2013 09:38 AM, Peter Chen wrote:
> >
> >>
> >> On 12/03/2013 08:37 AM, Peter Chen wrote:
> >>> 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/ph
On 12/03/2013 08:37 AM, Peter Chen wrote:
> At very rare cases, the SoF will not send out after resume with
> low speed connection. The workaround is do not power down
> PWD.RXPWD1PT1 bit during the suspend.
Is this also a fix for newly added code? If so please also squash.
> Signed-off-by: Peter
>
> On 12/03/2013 08:37 AM, Peter Chen wrote:
> > At very rare cases, the SoF will not send out after resume with
> > low speed connection. The workaround is do not power down
> > PWD.RXPWD1PT1 bit during the suspend.
>
> Is this also a fix for newly added code? If so please also squash.
>
N
On 12/03/2013 10:19 AM, Peter Chen wrote:
>> On 12/03/2013 08:37 AM, Peter Chen wrote:
>>> At very rare cases, the SoF will not send out after resume with
>>> low speed connection. The workaround is do not power down
>>> PWD.RXPWD1PT1 bit during the suspend.
>>
>> Is this also a fix for newly added
Hi Laurent,
On 12/03/2013 05:54 AM, Laurent Pinchart wrote:
> Hi Roger,
>
> On Monday 25 November 2013 15:55:45 Roger Quadros wrote:
>> Beagle (rev. C4) and Beagle-XM (all revs) need VAUX2 1.8V supply
>> for the USB PHY.
>>
>> As the generic PHY driver can't handle more than one supply
>> at the
On 12/02/2013 06:28 PM, David Laight wrote:
>> From: Roger Quadros [mailto:rog...@ti.com]
>> On 11/29/2013 03:17 PM, David Laight wrote:
> ...
+ timeout = jiffies + msecs_to_jiffies(100);
+ while (!(usbhs_read(omap->uhh_base, OMAP_UHH_SYSSTATUS)
+ & OMAP_UHH_SYSSTA
>
> On 12/03/2013 10:19 AM, Peter Chen wrote:
> >> On 12/03/2013 08:37 AM, Peter Chen wrote:
> >>> At very rare cases, the SoF will not send out after resume with
> >>> low speed connection. The workaround is do not power down
> >>> PWD.RXPWD1PT1 bit during the suspend.
> >>
> >> Is this also a
Hi,
On Tuesday 26 November 2013 03:02 AM, Felipe Balbi wrote:
> Hi,
>
> On Mon, Nov 11, 2013 at 08:06:12PM +0530, Kishon Vijay Abraham I wrote:
diff --git a/drivers/usb/dwc3/platform_data.h
b/drivers/usb/dwc3/platform_data.h
index 7db34f0..49ffa6d 100644
--- a/drivers/usb/dwc
On Tue, Dec 03, 2013 at 03:36:56PM +0800, Peter Chen wrote:
> 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 | 58 ++
Hi,
On Thu, Oct 17, 2013 at 09:54:26AM -0500, Felipe Balbi wrote:
> On Wed, Oct 16, 2013 at 04:27:26PM +0300, Roger Quadros wrote:
> > On 10/16/2013 04:10 PM, Kishon Vijay Abraham I wrote:
> > Do you know if there are users of dwc3 other than exynos5250 and omap5?
> > If not, we should get rid of
Hi Roger,
On Tuesday 03 December 2013 11:36:57 Roger Quadros wrote:
> On 12/03/2013 05:54 AM, Laurent Pinchart wrote:
> > Hi Roger,
> >
> > On Monday 25 November 2013 15:55:45 Roger Quadros wrote:
> >> Beagle (rev. C4) and Beagle-XM (all revs) need VAUX2 1.8V supply
> >> for the USB PHY.
> >>
>
On 12/03/2013 09:01 AM, Chris Ruehl wrote:
> usb: chipidea: Reallocate regmap only if lpm is detected
>
> The regmap only needs to reallocate if the hw_read on the CAP register shows
> lpm is used. Therefore the if() statement check the change.
>
> Signed-off-by: Chris Ruehl
> Acked-by: Peter Ch
Greg KH writes:
> From: Greg Kroah-Hartman
>
> Alexander isn't able to maintain the Chipidea code anymore, and as Peter
> has been acting as the de-facto maintainer anyway, make it official.
>
> Cc: Alexander Shishkin
> Cc: Peter Chen
> Signed-off-by: Greg Kroah-Hartman
Acked-by: Alexander S
Hi Kishon,
On Wed, Oct 16, 2013 at 01:24:12AM +0530, Kishon Vijay Abraham I wrote:
> + count = of_property_match_string(node, "phy-names", "usb2-phy");
> + if (count >= 0 || (pdata && pdata->usb2_generic_phy)) {
> + dwc->usb2_generic_phy = devm_phy_get(dev, "usb2-phy");
> +
Hello,
I am currently working on a project where we are building devices that
will be placed on moving objects (buses, trains, etc.). The devices
are routers (TP-Link WDR4300) based on the Atheros AR9344 SoC and
running OpenWrt with kernel 3.10.18. The purpose of these devices is
to measure the mo
From: David Cluytens
Signed-off-by: David Cluytens
---
drivers/usb/class/cdc-acm.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/usb/class/cdc-acm.c b/drivers/usb/class/cdc-acm.c
index 8ad4e94..e840431 100644
--- a/drivers/usb/class/cdc-acm.c
+++ b/drivers/usb/
On 12/03/2013 06:21 AM, Peter Chen wrote:
> On Mon, Dec 02, 2013 at 07:38:46PM -0800, Greg KH wrote:
>> On Tue, Dec 03, 2013 at 11:00:30AM +0800, Peter Chen wrote:
>>> On Mon, Dec 02, 2013 at 03:43:48PM -0800, Greg KH wrote:
From: Greg Kroah-Hartman
Alexander isn't able to maintain
On 12/03/2013 04:38 AM, Greg KH wrote:
> On Tue, Dec 03, 2013 at 11:00:30AM +0800, Peter Chen wrote:
>> On Mon, Dec 02, 2013 at 03:43:48PM -0800, Greg KH wrote:
>>> From: Greg Kroah-Hartman
>>>
>>> Alexander isn't able to maintain the Chipidea code anymore, and as Peter
>>> has been acting as the
Signed-off-by: David Cluytens
---
drivers/usb/class/cdc-acm.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/usb/class/cdc-acm.c b/drivers/usb/class/cdc-acm.c
index 3e7560f..e840431 100644
--- a/drivers/usb/class/cdc-acm.c
+++ b/drivers/usb/class/cdc-acm.c
@@ -1515,6 +1515,8 @@ sta
Hello.
On 03-12-2013 16:34, David Cluytens wrote:
From: David Cluytens
Signed-off-by: David Cluytens
---
drivers/usb/class/cdc-acm.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/usb/class/cdc-acm.c b/drivers/usb/class/cdc-acm.c
index 8ad4e94..e840431
> On 12/03/2013 06:21 AM, Peter Chen wrote:
> > On Mon, Dec 02, 2013 at 07:38:46PM -0800, Greg KH wrote:
> >> On Tue, Dec 03, 2013 at 11:00:30AM +0800, Peter Chen wrote:
> >>> On Mon, Dec 02, 2013 at 03:43:48PM -0800, Greg KH wrote:
> From: Greg Kroah-Hartman
>
> Alexander isn't a
> >
> > Signed-off-by: Chris Ruehl
> > Acked-by: Peter Chen
> > ---
> > drivers/usb/chipidea/core.c |7 ++-
> > 1 file changed, 6 insertions(+), 1 deletion(-)
> >
> > diff --git a/drivers/usb/chipidea/core.c b/drivers/usb/chipidea/core.c
> > index 5d8981c..9a5ef20 100644
> > --- a/dri
On 12/03/2013 02:54 PM, Peter Chen wrote:
>> Great! Do you have the names for those branches, yet? I'm especially
>> interested in branches for usb and usb-next, which will have only
>> "final" patches applied. So that these trees don't need to be rebased.
> I plan to create branch "ci-for-usb-nex
Replace clk_get calls by devm_clk_get calls.
Signed-off-by: Boris BREZILLON
Tested-by: Robert Nelson
---
drivers/usb/host/ohci-at91.c | 32
1 file changed, 8 insertions(+), 24 deletions(-)
diff --git a/drivers/usb/host/ohci-at91.c b/drivers/usb/host/ohci-at91
> > +
> > +static const struct mxs_phy_data imx23_phy_data = {
> > + .flags = MXS_PHY_ABNORAML_IN_SUSPEND | MXS_PHY_SENDING_SOF_TOO_FAST,
> > +};
>
> ABNORAML? -> ABNORMAL
>
My careless, will change. Thanks.
Peter
> > +
> > +static const struct mxs_phy_data imx6q_phy_data = {
> > + .fla
On 03/12/2013 15:07, Boris BREZILLON :
Replace the request_mem_region + ioremap calls by the
devm_request_and_ioremap call which does the same things but with device
managed resources.
Signed-off-by: Boris BREZILLON
Tested-by: Robert Nelson
Acked-by: Nicolas Ferre
---
drivers/usb/host/o
On 03/12/2013 15:07, Boris BREZILLON :
When using dt resources retrieval (interrupts and reg properties) there is
no predefined order for these resources in the platform dev resource
table.
Retrieve resources using the platform_get_resource function instead of
direct resource table entries to av
Hi,
On Tuesday 03 December 2013 05:29 PM, Heikki Krogerus wrote:
> Hi Kishon,
>
> On Wed, Oct 16, 2013 at 01:24:12AM +0530, Kishon Vijay Abraham I wrote:
>> +count = of_property_match_string(node, "phy-names", "usb2-phy");
>> +if (count >= 0 || (pdata && pdata->usb2_generic_phy)) {
>> +
On 03/12/2013 15:07, Boris BREZILLON :
Replace clk_get calls by devm_clk_get calls.
Signed-off-by: Boris BREZILLON
Tested-by: Robert Nelson
Acked-by: Nicolas Ferre
Thanks Boris for these fixes.
Alan, Greg, can you take the whole series as fixes for 3.13?
Thanks, best regards,
---
dri
There is a new funtion interface and g_ffs is the last gadget to use the old.
Signed-off-by: Andrzej Pietrasiewicz
Signed-off-by: Kyungmin Park
Acked-by: Michal Nazarewicz
---
drivers/usb/gadget/Kconfig |1 +
drivers/usb/gadget/g_ffs.c | 93 +---
2
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_subset.c | 60 +
drivers/usb/gadget/u_ether.h |
USB function's configfs config group is created in a generic way in
usb/gadget/configfs.c:function_make(), which in turn delegates actual
allocation and setup of the USB function instance to a particular
implementation, e.g. in f_acm.c. The said implementation does its job
in a parameter-less funct
There is a new interface of f_rndis and g_ffs is the last to use the old one.
Signed-off-by: Andrzej Pietrasiewicz
Signed-off-by: Kyungmin Park
Acked-by: Michal Nazarewicz
---
drivers/usb/gadget/Kconfig |1 +
drivers/usb/gadget/g_ffs.c | 105 +++-
2
A header file to be used by f_fs.c and g_ffs.c will be required when
f_fs.c is converted into a module.
Signed-off-by: Andrzej Pietrasiewicz
Signed-off-by: Kyungmin Park
Acked-by: Michal Nazarewicz
---
drivers/usb/gadget/f_fs.c |1 +
drivers/usb/gadget/g_ffs.c | 19 ++-
Add support for using FunctionFS in configfs-based USB gadgets.
Signed-off-by: Andrzej Pietrasiewicz
Signed-off-by: Kyungmin Park
Acked-by: Michal Nazarewicz
---
Documentation/ABI/testing/configfs-usb-gadget-ffs |9 +++
drivers/usb/gadget/Kconfig| 12 +++
drivers/
This series aims at integrating configfs into FunctionFS, the way
it has been done for acm, ncm, ecm, eem, ecm subset, rndis, obex, phonet
and mass_storage. It contains everything that is required to provide the
equivalent of g_ffs.ko with configfs.
Configfs support in FunctionFS has been awaited
There is a new function interface of f_subset and g_ffs is the last to use
the old one.
Signed-off-by: Andrzej Pietrasiewicz
Signed-off-by: Kyungmin Park
Acked-by: Michal Nazarewicz
---
drivers/usb/gadget/Kconfig |1 +
drivers/usb/gadget/g_ffs.c | 69 ++---
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 | 151 +++
2 files changed, 9
The use of variable length arrays in structs (VLAIS) in the Linux Kernel code
precludes the use of compilers which don't implement VLAIS (for instance the
Clang compiler). This alternate patch calculates offsets into the kmalloc-ed
memory buffer using macros. The previous patch required multiple km
There are no old function interface users left, so the old interface
can be removed.
Signed-off-by: Andrzej Pietrasiewicz
Signed-off-by: Kyungmim Park
Acked-by: Michal Nazarewicz
---
drivers/usb/gadget/f_ecm.c | 73 +-
drivers/usb/gadget/u_ether.h |
Since d6a0143985489e470a118605352f4b18df0ce142
usb: gadget: move the global the_dev variable to their users
"the_dev" variable can be used as a "setup done" flag; non-NULL
meaning "setup done", NULL meaning "setup not done". Moreover,
gether_cleanup() can be safely called with a NULL argument.
Cor
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
---
drivers/usb/gadget/Kconfig |3 +
drivers/usb/gadget/Makefile|2 +
This will be required in order to use the new function interface
(usb_get_function_instance/usb_put_function_instance)
Signed-off-by: Andrzej Pietrasiewicz
Signed-off-by: Kyunmgin Park
---
drivers/usb/gadget/f_fs.c | 238 ++-
drivers/usb/gadget/g_ffs.c
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 | 114
drivers/usb/gadget/u_fs.h
The rndis function's users use only the new interface, so the two modules
can be merged.
Signed-off-by: Andrzej Pietrasiewicz
Signed-off-by: Kyungmin Park
Acked-by: Michal Nazarewicz
---
drivers/usb/gadget/Kconfig |7 ---
drivers/usb/gadget/Makefile |4 +---
drivers/usb/gadget/f
On Tue, Dec 03, 2013 at 04:50:17PM +0800, zhang.ju...@zte.com.cn wrote:
>
> This was in html format, and line-wrapped, with no signed-off-by: line
> :(
And your responses are still in html, making the mailing list reject
them.
> Re:"with no signed-off-by: line:(", it means there are no signed-of
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_rndis.c | 72 +-
drivers/usb/gadget/u_ether.h |
On Tue, Dec 03, 2013 at 01:38:10PM +0100, Marc Kleine-Budde wrote:
> On 12/03/2013 04:38 AM, Greg KH wrote:
> > On Tue, Dec 03, 2013 at 11:00:30AM +0800, Peter Chen wrote:
> >> On Mon, Dec 02, 2013 at 03:43:48PM -0800, Greg KH wrote:
> >>> From: Greg Kroah-Hartman
> >>>
> >>> Alexander isn't able
Replace the request_mem_region + ioremap calls by the
devm_request_and_ioremap call which does the same things but with device
managed resources.
Signed-off-by: Boris BREZILLON
Tested-by: Robert Nelson
---
drivers/usb/host/ohci-at91.c | 24 +---
1 file changed, 5 insertion
In _ocp_softreset(), after _set_softreset() + write_sysconfig(),
the hwmod's sysc_cache will always contain SOFTRESET bit set
so all further writes to sysconfig using this cache will initiate
a repeated SOFTRESET e.g. enable_sysc(). This is true for OMAP3 like
platforms that have RESET_DONE status
Without this, the USB devices are sometimes not detected on OMAP4 Panda
with u-boot v2013.10.
Unlike what the comment states, errata i660 does not state that we
can't RESET the USB host module. Instead it states that RESET is the
only way to recover from a deadlock situation.
RESET ensures that t
>
> usb: chipidea: hw_phymode_configure moved before ci_usb_phy_init
usb: chipidea: put hw_phymode_configure before ci_usb_phy_init
Besides, a blank line is needed between your subject and commit log.
> hw_phymode_configure configures the PORTSC registers and allow the
> following phy_inits to
Hi,
This is a follow up solution to the original series in [1]
The first patch fixes the OMAP4 Panda USB detection problems on 3.13-rc1
with u-boot v2013.10.
The remaining 2 patches are required if SOFTRESET needs to be done for the
USB Host module on OMAP3 platforms.
Patch 2 fixes the hwmod RE
Unlike what the comment states, errata i660 does not state that we
can't RESET the USB host module. Instead it states that RESET is the
only way to recover from a deadlock situation.
RESET ensures that the module is in a known good state irrespective
of what bootloader does with the module, so it
On Tue, Nov 26, 2013 at 4:29 PM, Tejun Heo wrote:
> Hello,
>
> On Tue, Nov 26, 2013 at 04:12:41PM -0600, Josh Hunt wrote:
>> I should have clarified that I'm not using dm/md in my setup. I know
>> the modules are getting loaded in the log I attached, but root is not
>> a md/dm device.
>
> Can you
Kristian Evensen writes:
> We are currently facing a USB problem that we have not been able to
> solve. A USB ACK is not sent and the following messages appear in the
> kernel logs:
> Thu Nov 21 09:44:53 2013 kern.err kernel: [ 490.60] qmi_wwan
> 1-1.1.2:1.4: nonzero urb status received: -71
On 12/03/2013 03:21 PM, Greg KH wrote:
>>> Ugh, github, really? I'm not going to pull from a github tree, sorry.
>>> Can you apply for a kernel.org one?
>>
>> github can be used without all that fancy web-2.0 interface.
>
> I know, I use it all the time, even with that interface, that's not what
When using dt resources retrieval (interrupts and reg properties) there is
no predefined order for these resources in the platform dev resource
table.
Retrieve resources using the platform_get_resource function instead of
direct resource table entries to avoid resource type mismatch.
Signed-off-b
Hello,
This patch series fixes a bug detected in 3.13-rc1 caused by a wrong
assumption on platform device resources order in the platform device
resource table.
It also move the different driver resources (clks and iomem) retrieval
to the device managed versions (devm_ functions).
Best Regards,
Hei Bjørn,
On Tue, Dec 3, 2013 at 3:37 PM, Bjørn Mork wrote:
> The most likely cause of this is a modem firmware crash. I don't think
> there is much you can do about that, except trying to avoid the
> situations which causes the crash or getting another modem.
Ok, that is what I suspected, tha
Hello,
On Tue, Dec 03, 2013 at 08:28:43AM -0600, Josh Hunt wrote:
> You're right. Thanks for pointing this out. I did not realize there
> was a bug in the init script. The version of initramfs-tools I was
> using had the following bug:
> https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+b
On Mon, 2 Dec 2013, Sarah Sharp wrote:
> > Pleas check this, thi seems to be the exact same problem, but on ubuntu
> >
> > https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1254261
>
> There's many reasons why a USB device would not respond to device
> descriptor requests, and disconnect. Th
On Tue, 3 Dec 2013, yoma sophian wrote:
> > This isn't a race condition, because the driver does not terminate
> > isochronous URBs before they are scheduled to end.
> >
> > For example, suppose there was an isochronous URB that was scheduled to
> > transmit packets during microframes 100, 180, 26
On Tue, 3 Dec 2013, Nicolas Ferre wrote:
> On 03/12/2013 15:07, Boris BREZILLON :
> > Replace clk_get calls by devm_clk_get calls.
> >
> > Signed-off-by: Boris BREZILLON
> > Tested-by: Robert Nelson
>
> Acked-by: Nicolas Ferre
>
> Thanks Boris for these fixes.
>
> Alan, Greg, can you take th
On Tue, Dec 03 2013, Andrzej Pietrasiewicz wrote:
> This will be required in order to use the new function interface
> (usb_get_function_instance/usb_put_function_instance)
>
> Signed-off-by: Andrzej Pietrasiewicz
> Signed-off-by: Kyunmgin Park
Acked-by: Michal Nazarewicz
> ---
> drivers/usb/
On Tue, Dec 03 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
Acked-by: Michal Nazarewicz
OK, now there should by my acked-by for all the p
On Mon, 2013-12-02 at 21:46 -0800, 'Greg KH' wrote:
> On Mon, Nov 25, 2013 at 07:46:40PM -0800, Dmitry Kunilov wrote:
> > Hi Greg,
> >
> > All of them are the same model (AC2726), device ID is 19d2:fff1. Moving just
> > that one line fixes my problem.
>
> Given that fixing this would be good to h
Hello.
On 12/03/2013 05:07 PM, Boris BREZILLON wrote:
Replace clk_get calls by devm_clk_get calls.
Signed-off-by: Boris BREZILLON
Tested-by: Robert Nelson
---
drivers/usb/host/ohci-at91.c | 32
1 file changed, 8 insertions(+), 24 deletions(-)
diff -
Hello Sergei,
On 03/12/2013 19:01, Sergei Shtylyov wrote:
Hello.
On 12/03/2013 05:07 PM, Boris BREZILLON wrote:
Replace clk_get calls by devm_clk_get calls.
Signed-off-by: Boris BREZILLON
Tested-by: Robert Nelson
---
drivers/usb/host/ohci-at91.c | 32
When using dt resources retrieval (interrupts and reg properties) there is
no predefined order for these resources in the platform dev resources
table.
Retrieve resources using the platform_get_resource function instead of
direct resource table entries to avoid resource type mismatch.
Signed-off-
1 - 100 of 149 matches
Mail list logo