Hi all,
Here's a series of fixes to get MUSB PM runtime working again.
I can now test PM runtime with the 2430 glue layer with this set,
so adding PM runtime support for other glue layers should be
possible.
Regards,
Tony
Tony Lindgren (10):
usb: phy: Fix initial state for twl6030
usb
We may have drivers loaded but no configured gadgets
and MUSB may be in host mode. If gadgets are configured
during host mode, PM runtime will get confused.
Disconnect PM runtime from gadget state, and do it only
based on the cable.
Signed-off-by: Tony Lindgren <t...@atomide.com>
---
d
calls from the
glue layer, those will get removed in a later patch.
Signed-off-by: Tony Lindgren <t...@atomide.com>
---
drivers/usb/musb/musb_core.c | 25 ++---
drivers/usb/musb/omap2430.c | 10 --
2 files changed, 10 insertions(+), 25 deletions(-)
diff --git a/d
We need to check the state for the PHY with delayed_work so
as otherwise MUSB will get confused and idles immediately.
Signed-off-by: Tony Lindgren <t...@atomide.com>
---
drivers/usb/phy/phy-twl6030-usb.c | 17 +++--
1 file changed, 15 insertions(+), 2 deletions(-)
diff
We have remove() already calling shutdown(), so let's drop it
and move the code to remove().
Signed-off-by: Tony Lindgren <t...@atomide.com>
---
drivers/usb/musb/musb_core.c | 39 ++-
1 file changed, 14 insertions(+), 25 deletions(-)
diff --git a/drive
This simplifies things and allows idling both MUSB and PHY
when nothing is configured.
Let's also warn if PHY is not configured.
Signed-off-by: Tony Lindgren <t...@atomide.com>
---
drivers/usb/musb/omap2430.c | 35 +--
1 file changed, 21 insertions(
With the pull up being handled with delayed work, we can
now finally remove pm_runtime_set_irq_safe that blocks the
MUSB glue from idling.
Signed-off-by: Tony Lindgren <t...@atomide.com>
---
drivers/usb/musb/musb_core.c | 6 --
1 file changed, 6 deletions(-)
diff --git a/drivers/us
* Ivaylo Dimitrov [160426 09:46]:
>
>
> On 26.04.2016 18:03, Alan Stern wrote:
> >On Tue, 26 Apr 2016, Felipe Balbi wrote:
> >
> >>>Is there a reason why a process (pnatd in this particular case) doesn't
> >>>get killed on reboot?
> >>
> >>there might be, and that's
* Alan Stern [160330 12:26]:
> On Wed, 30 Mar 2016, Ivaylo Dimitrov wrote:
>
> > >>> seems to be created twice :). Maybe the problem is that the first time
> > >>> musb-hdrc is probed it fails with -EPROBE_DEFER, however that failure is
> > >>> after gadget drivers got
* Felipe Balbi [160204 04:19]:
> DWC3's tx-fifo-resize property has been deprecated
> because of it being unnecessary to any HW other than
> OMAP5 ES1.0.
OK, picking up this patch into omap-for-v4.6/dt thanks.
Tony
--
To unsubscribe from this list: send the line "unsubscribe
* Kishon Vijay Abraham I <kis...@ti.com> [160208 21:13]:
> Hi Tony,
>
> On Tuesday 09 February 2016 01:21 AM, Tony Lindgren wrote:
> > Hi Kishon,
> >
> > * Tony Lindgren <t...@atomide.com> [151130 21:40]:
> >> Hi,
> >>
> >> H
Hi Kishon,
* Tony Lindgren <t...@atomide.com> [151130 21:40]:
> Hi,
>
> Here are two fixes for rmmod and PM. These can be merged separately after
> the review from the MUSB related changes.
Looks like these two fixes never got merged. Care to merge
these for v4.5-rc cycle w
has type 'dma_addr_t {aka long long unsigned
> int}' [-Werror=format=]
> dev_dbg(musb->controller, "ep%i %s dma ch%i dma: %08x len: %u(%u)
> packet_sz: %i(%i)\n",
>
> This uses the %pad format string, which prints a dma_addr_t that
> gets passed by reference, which work
* Pali Rohár <pali.ro...@gmail.com> [160126 06:35]:
> On Thursday 21 January 2016 12:30:13 Tony Lindgren wrote:
> > * joerg Reisenweber <jo...@openmoko.org> [160121 11:35]:
> > > On Thu 21 January 2016 11:21:13 Tony Lindgren wrote:
> > > > Do you have som
* Andrzej Pietrasiewicz <andrze...@samsung.com> [160122 02:36]:
> Hi Tony,
>
> W dniu 15.01.2016 o 23:48, Tony Lindgren pisze:
> >Hi all,
> >
> >Looks like there's some issue with the USB gadgets and configfs.
> >
> >I'm seeing rmmod of the UDC dr
* joerg Reisenweber <jo...@openmoko.org> [160121 02:30]:
> On Thu 21 January 2016 09:40:07 Pali Rohár wrote:
> > On Tuesday 19 January 2016 12:33:15 Tony Lindgren wrote:
> > > Hi,
> > >
> > > * Pali Rohár <pali.ro...@gmail.com> [160109 07:16]:
>
* joerg Reisenweber <jo...@openmoko.org> [160121 10:45]:
> On Thu 21 January 2016 09:41:46 Tony Lindgren wrote:
> > Then for supporting the USB host mode.. We should add regulator support
> > to the USB PHY driver so if the ID pin is grounded, the PHY driver enables
&
* joerg Reisenweber <jo...@openmoko.org> [160121 11:35]:
> On Thu 21 January 2016 11:21:13 Tony Lindgren wrote:
> > Do you have some pointer
> > to the "certain resistor value on ID to GND" spec? Is it maybe part of
> > the carkit related parts of the USB
* Kishon Vijay Abraham I [151215 04:47]:
> On Tuesday 15 December 2015 05:25 PM, Arnd Bergmann wrote:
> >>>
> >>> Can you explain here what the conversion is good for? Why do you
> >>> prefer the syscon mapping over a high-level driver in this case?
> >>
> >> phy-omap-control
* Kishon Vijay Abraham I <kis...@ti.com> [151206 23:03]:
> On Tuesday 01 December 2015 11:07 AM, Tony Lindgren wrote:
> > We currently can't unload omap2430 MUSB platform glue driver module and
> > this cause issues for fixing the MUSB code further. The reason we can'
not enable pm runtime until we need to and the
parent has been initialized. Note that this does not fix the issue of
PM being broken for musb during runtime.
Signed-off-by: Tony Lindgren <t...@atomide.com>
---
drivers/usb/musb/musb_core.c | 7 ++-
1 file changed, 6 insertions(+), 1 de
ay Abraham I <kis...@ti.com>
Cc: NeilBrown <n...@brown.name>
Signed-off-by: Tony Lindgren <t...@atomide.com>
---
Probably best that Felipe merges this patch via the USB tree after
comments if that works for Kishon? I have another two fixes for the
phy-twl4030-usb.c coming
bi <ba...@ti.com>
Cc: Kishon Vijay Abraham I <kis...@ti.com>
Cc: NeilBrown <n...@brown.name>
Signed-off-by: Tony Lindgren <t...@atomide.com>
---
drivers/usb/musb/omap2430.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/usb/musb/omap2430.c b/drivers/usb/musb/omap
Hi,
Here are two patches to fix rmmod for musb omap2430. This makes any
further work on this driver a bit easier.
Regards,
Tony
Tony Lindgren (2):
usb: musb: core: Fix handling of the phy notifications
usb: musb: Fix unbalanced pm_runtime_enable
drivers/phy/phy-twl4030-usb.c | 32
of extra power compared to
running idle with the module loaded.
Cc: Bin Liu <b-...@ti.com>
Cc: Felipe Balbi <ba...@ti.com>
Cc: Kishon Vijay Abraham I <kis...@ti.com>
Cc: NeilBrown <n...@brown.name>
Signed-off-by: Tony Lindgren <t...@atomide.com>
---
drivers/phy/phy-twl40
Hi,
Here are two fixes for rmmod and PM. These can be merged separately after
the review from the MUSB related changes.
Regards,
Tony
Tony Lindgren (2):
phy: twl4030-usb: Relase usb phy on unload
phy: twl4030-usb: Fix unbalanced pm_runtime_enable on module reload
drivers/phy/phy-twl4030
]) from []
(musb_init_controller+0x194/0x878 [musb_hdrc])
Cc: Bin Liu <b-...@ti.com>
Cc: Felipe Balbi <ba...@ti.com>
Cc: Kishon Vijay Abraham I <kis...@ti.com>
Cc: NeilBrown <n...@brown.name>
Signed-off-by: Tony Lindgren <t...@atomide.com>
---
drivers/phy/phy-twl4030-
* Aaro Koskinen [151123 11:51]:
> Fail with error when no DMA controller is set.
>
> Signed-off-by: Aaro Koskinen
> ---
> drivers/usb/musb/musb_core.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/usb/musb/musb_core.c
* Felipe Balbi <ba...@ti.com> [151023 09:48]:
>
> Hi,
>
> Tony Lindgren <t...@atomide.com> writes:
> > From: Tony Lindgren <t...@atomide.com>
> > Date: Fri, 23 Oct 2015 09:03:22 -0700
> > Subject: [PATCH] usb: musb: omap2430: Fix regression
* Grygorii Strashko <grygorii.stras...@ti.com> [151023 05:50]:
> On 10/23/2015 02:01 AM, Tony Lindgren wrote:
> >* Tony Lindgren <t...@atomide.com> [151022 11:03]:
> >>* Tony Lindgren <t...@atomide.com> [151021 16:44]:
> >>>Hi all,
> >&g
* Alan Stern [151023 11:27]:
> On Fri, 23 Oct 2015, Grygorii Strashko wrote:
>
> > Reviewed-by: Grygorii Strashko
> >
> > It always fun when DD/PM core is updated to fix some driver/subsystem's
> > specific PM issue :(
> >
> > >
> > >> ---
* Rolf Peukert [151023 08:46]:
> To be able to call these four helper functions from a M-USB AM35x driver
> module, their name symbols need to be exported.
I'd rather get rid of this file completely.. How about just do a minimal
drivers/phy driver? Maybe take a look at the
* Tony Lindgren <t...@atomide.com> [151021 16:44]:
> Hi all,
>
> I noticed a regresssino in v4.3-rc series to day with MUSB gadgets
> and DMA. Doing a git bisect between v4.2..v4.3-rc1 on it pointed to:
>
> ddef08dd00f5 ("Driver core: wakeup the pare
* Tony Lindgren <t...@atomide.com> [151022 11:03]:
> * Tony Lindgren <t...@atomide.com> [151021 16:44]:
> > Hi all,
> >
> > I noticed a regresssino in v4.3-rc series to day with MUSB gadgets
> > and DMA. Doing a git bisect between v4.2..v4.3-rc1 on it poi
Hi all,
I noticed a regresssino in v4.3-rc series to day with MUSB gadgets
and DMA. Doing a git bisect between v4.2..v4.3-rc1 on it pointed to:
ddef08dd00f5 ("Driver core: wakeup the parent device before trying probe")
With the commit above reverted things work fine with DMA and USB gadgets.
* Kishon Vijay Abraham I kis...@ti.com [150819 23:38]:
Hi,
On Thursday 06 August 2015 02:17 PM, Tony Lindgren wrote:
* Kishon Vijay Abraham I kis...@ti.com [150805 07:10]:
On Wednesday 05 August 2015 01:31 PM, Tony Lindgren wrote:
We don't have syscon-otghs and to me it seems we need
* Kishon Vijay Abraham I kis...@ti.com [150805 07:28]:
Hi Roger,
On Wednesday 05 August 2015 01:38 PM, Roger Quadros wrote:
On 05/08/15 11:02, Roger Quadros wrote:
Kishon,
On 04/08/15 18:30, Kishon Vijay Abraham I wrote:
Add syscon-otghs property and remove the deprecated ctrl-module
* Kishon Vijay Abraham I kis...@ti.com [150805 07:10]:
On Wednesday 05 August 2015 01:31 PM, Tony Lindgren wrote:
We don't have syscon-otghs and to me it seems we need a PHY driver
as I pointed out at:
If *syscon-otghs* is not present, then it'll fall-back to using the
*ctrl-module
* Kishon Vijay Abraham I kis...@ti.com [150804 07:11]:
Deprecate using phy-omap-control driver to write to the mailbox register
and start using *syscon* framework to do the same.
..
@@ -512,6 +558,40 @@ static const struct musb_platform_ops omap2430_ops = {
static u64 omap2430_dmamask =
* Roger Quadros rog...@ti.com [150727 02:30]:
Tony,
On 21/07/15 13:54, Tony Lindgren wrote:
* Roger Quadros rog...@ti.com [150708 03:45]:
Hi,
Enables dual-role feaure on supported boards.
Depends on
[1] - core USB DRD support -
http://thread.gmane.org/gmane.linux.kernel
With recent changes to MUSB code, we can now now get rid of
the Kconfig choise for the DMA code and allow building in any
of the desired DMA code. This makes life easier for distros.
Signed-off-by: Tony Lindgren t...@atomide.com
---
This should be safe to dow now. Felipe, I've ran some
* Roger Quadros rog...@ti.com [150708 03:45]:
Hi,
Enables dual-role feaure on supported boards.
Depends on
[1] - core USB DRD support -
http://thread.gmane.org/gmane.linux.kernel/1991413
[2] - dwc3 DRD support -
http://thread.gmane.org/gmane.linux.usb.general/127890
Is this series
* Tom Mises tommi...@gmail.com [150701 11:24]:
On Mon, May 18, 2015 at 8:59 AM, Tony Lindgren t...@atomide.com wrote:
For the memcpy part with DMA this patch should help too:
[PATCH] dmaengine: omap-dma: Add support for memcpy
The patch should help, but not out of the box as far as I
* Kishon Vijay Abraham I kis...@ti.com [150623 05:02]:
Deprecate using phy-omap-control driver to write to the mailbox register
and start using *syscon* framework to do the same.
All this stuff needs to go to some generic syscon USB phy
driver. Let's not start adding phy specific stuff to a USB
* Kishon Vijay Abraham I kis...@ti.com [150623 05:02]:
--- a/arch/arm/boot/dts/omap4.dtsi
+++ b/arch/arm/boot/dts/omap4.dtsi
@@ -852,12 +852,6 @@
};
};
- omap_control_usbotg: control-phy@4a00233c {
- compatible =
* Kishon Vijay Abraham I kis...@ti.com [150624 04:23]:
On Wednesday 24 June 2015 04:11 PM, Tony Lindgren wrote:
* Kishon Vijay Abraham I kis...@ti.com [150623 05:02]:
--- a/arch/arm/boot/dts/omap4.dtsi
+++ b/arch/arm/boot/dts/omap4.dtsi
@@ -852,12 +852,6
* Roger Quadros rog...@ti.com [150624 04:58]:
On Wed, 24 Jun 2015 14:50:17 +0300
Roger Quadros rog...@ti.com wrote:
On Tue, 23 Jun 2015 17:28:53 +0530
Kishon Vijay Abraham I kis...@ti.com wrote:
Add new device tree node for the control module register space where
PCIe registers
* Roger Quadros rog...@ti.com [150624 05:21]:
On Wed, 24 Jun 2015 05:09:39 -0700
Tony Lindgren t...@atomide.com wrote:
My take is we should only use regmap for the scm_conf area
in general.
+1
should we get rid of dra7_ctrl_core and dra7_ctrl_general?
or move them to scm node
* Felipe Balbi ba...@ti.com [150526 09:15]:
On Tue, May 26, 2015 at 09:00:15AM -0700, Tony Lindgren wrote:
* Ben Hutchings b...@decadent.org.uk [150523 20:29]:
Currently we always assign one of the two common implementations of
ep_offset and ep_select operations, overwriting any platform
-by: Ben Hutchings b...@decadent.org.uk
---
This is untested; I just spotted this while backporting Tony's work on
multiplatform support.
Good catch, works for me:
Tested-by: Tony Lindgren t...@atomide.com
drivers/usb/musb/musb_core.c | 14 +++---
1 file changed, 7 insertions(+), 7
Hi all,
Here are few patches that allow building in all the MUSB DMA
drivers for distros. This also allows us to get rid of most
of the ifdefs, and also simplifies the musb_host_rx monster
function a bit.
Regards,
Tony
Tony Lindgren (12):
usb: musb: Fix up DMA related macros
usb: musb: Set
We can remove the ifdefs by setting up helper functions for
mentor DMA and cppi/tusb DMA.
Note that I've kept the existing formatting as otherwise this
patch becomes pretty much unreadable.
Signed-off-by: Tony Lindgren t...@atomide.com
---
drivers/usb/musb/musb_host.c | 61
Set up function pointers for DMA so get closer to
being able to build in all the DMA engines.
Signed-off-by: Tony Lindgren t...@atomide.com
---
drivers/usb/musb/am35x.c | 4
drivers/usb/musb/blackfin.c | 4
drivers/usb/musb/cppi_dma.c | 9 ++---
drivers/usb
.
This patches fixes the dependencies by adding
USB_SUPPORT as a dependency and make both drivers
select USB_PHY (which cannot be selected through
menuconfig).
Note that this fixes some linking breakages when
building with randconfig.
Cc: Tony Lindgren t...@atomide.com
Makes sense to me:
Acked
* Andrew Morton a...@linux-foundation.org [150401 14:36]:
On Wed, 18 Mar 2015 15:48:02 -0700 Tony Lindgren t...@atomide.com wrote:
Looks like dm81xx can only do 32-bit fifo reads like am35x. Let's set
up musb-dsps with a custom read_fifo function based on the compatible
flag
: Bin Liu binml...@gmail.com
Cc: Brian Hutchinson b.hutch...@gmail.com
Cc: George Cherian george.cher...@ti.com
Cc: Sergei Shtylyov sergei.shtyl...@cogentembedded.com
Signed-off-by: Tony Lindgren t...@atomide.com
---
drivers/usb/musb/musb_dsps.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion
* Matthijs van Duin matthijsvand...@gmail.com [150314 14:04]:
On 13 March 2015 at 20:30, Tony Lindgren t...@atomide.com wrote:
Hmm OK have to check that. It could also be that dm816x documentation
is copy-paste from da850 or am3517 and the PHY got changed in the
hardware as the registers
* Roger Quadros rog...@ti.com [150126 04:19]:
This driver is needed for USB cable type detection on dra7-evm,
dra72-evm and am57xx-beagle-x15.
Signed-off-by: Roger Quadros rog...@ti.com
Applying this into omap-for-v4.1/defconfig. I think it's all
queued up after this, please check and repost
this one then.
On 9 March 2015 at 22:41, Tony Lindgren t...@atomide.com wrote:
Note that we still are missing basic support for dm814x in mainline,
I'm planning to tackle that at some point but I don't know when I'm
going to get to it..
Do ping me if you have questions. While I still don't
* Kishon Vijay Abraham I kis...@ti.com [150311 02:58]:
Hi Tony,
On Tuesday 10 March 2015 02:21 AM, Tony Lindgren wrote:
Add a minimal driver for dm816x USB. Otherwise we can just use
the existing musb_am335x and musb_dsps on dm816x.
If we can use an existing driver, I'd prefer that.
Hmm
* Rusty Russell ru...@rustcorp.com.au [150311 18:15]:
Tony Lindgren t...@atomide.com writes:
* Paul Bolle pebo...@tiscali.nl [150311 04:16]:
Oh, it should be just GPL v2 like most of the kernel. Probably copied
the header from some other phy driver, will update that instead.
Well, all my
* Felipe Balbi ba...@ti.com [150311 08:20]:
musb shouldn't have of_node and phy phandle is passed
to dsps device, not musb's.
Reported-by: Tony Lindgren t...@atomide.com
Signed-off-by: Felipe Balbi ba...@ti.com
---
drivers/usb/musb/musb_dsps.c | 2 +-
1 file changed, 1 insertion(+), 1
* Tony Lindgren t...@atomide.com [150311 08:48]:
* Felipe Balbi ba...@ti.com [150311 08:20]:
musb shouldn't have of_node and phy phandle is passed
to dsps device, not musb's.
Reported-by: Tony Lindgren t...@atomide.com
Oops, sorry wrong patch, looks like you already have it
in the patch I
* Paul Bolle pebo...@tiscali.nl [150311 04:16]:
On Mon, 2015-03-09 at 13:51 -0700, Tony Lindgren wrote:
--- /dev/null
+++ b/drivers/phy/phy-dm816x-usb.c
@@ -0,0 +1,295 @@
+/*
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU
* Felipe Balbi ba...@ti.com [150309 14:21]:
On Mon, Mar 09, 2015 at 04:17:29PM -0500, Bin Liu wrote:
On Mon, Mar 9, 2015 at 4:13 PM, Felipe Balbi ba...@ti.com wrote:
On Mon, Mar 09, 2015 at 04:11:28PM -0500, Bin Liu wrote:
Hi,
On Mon, Mar 9, 2015 at 3:51 PM, Tony Lindgren t
* Bin Liu binml...@gmail.com [150309 14:35]:
On Mon, Mar 9, 2015 at 4:26 PM, Tony Lindgren t...@atomide.com wrote:
* Felipe Balbi ba...@ti.com [150309 14:21]:
On Mon, Mar 09, 2015 at 04:17:29PM -0500, Bin Liu wrote:
On Mon, Mar 9, 2015 at 4:13 PM, Felipe Balbi ba...@ti.com wrote
Add a minimal driver for dm816x USB. Otherwise we can just use
the existing musb_am335x and musb_dsps on dm816x.
Cc: Brian Hutchinson b.hutch...@gmail.com
Cc: Felipe Balbi ba...@ti.com
Signed-off-by: Tony Lindgren t...@atomide.com
--- /dev/null
+++ b/Documentation/devicetree/bindings/phy/dm816x
* Bin Liu binml...@gmail.com [150309 14:17]:
On Mon, Mar 9, 2015 at 4:13 PM, Felipe Balbi ba...@ti.com wrote:
On Mon, Mar 09, 2015 at 04:11:28PM -0500, Bin Liu wrote:
Hi,
On Mon, Mar 9, 2015 at 3:51 PM, Tony Lindgren t...@atomide.com wrote:
Add a minimal driver for dm816x USB
usages of this flag.
Signed-off-by: Valentin Rothberg valentinrothb...@gmail.com
Acked-by: Tony Lindgren t...@atomide.com
--
To unsubscribe from this list: send the line unsubscribe linux-usb in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org
:
Acked-by: Tony Lindgren t...@atomide.com
[1]: https://lkml.org/lkml/2015/2/12/495
[2]: https://lkml.org/lkml/2015/2/16/337
[3]: https://lkml.org/lkml/2015/2/24/609
[4]: https://lkml.org/lkml/2015/2/26/387
Robert ABEL (9):
ARM OMAP2+ GPMC: don't undef DEBUG
ARM OMAP2+ GPMC: add bus
* Robert Abel ra...@cit-ec.uni-bielefeld.de [150303 05:03]:
Hi Roger,
On Tue, Mar 3, 2015 at 1:55 PM, Roger Quadros rog...@ti.com wrote:
I'm OK with this version.
Tony, after you ACK these I will queue them for v4.1.
Please use v4 of my patches. The DTS output has been changed and the
* Sergei Shtylyov sergei.shtyl...@cogentembedded.com [150227 06:27]:
Hello.
On 2/27/2015 5:17 PM, Robert Abel wrote:
Documentation/kernel-doc-nano-HOWTO.txt requires colons after the
parameter names, doesn't it?
Jesus Christ, you guys are killing me...
I've already spent way more
* George Cherian george.cher...@ti.com [150208 22:02]:
Hi Tony,
On 02/06/2015 10:53 PM, Tony Lindgren wrote:
* George Cherian george.cher...@ti.com [150206 05:05]:
Hi Tony,
You also need to add similar things in dsps_musb_reset();
Otherwise you might not recover from a BABBLE condition
* Bin Liu binml...@gmail.com [150206 10:21]:
Tony,
On Fri, Feb 6, 2015 at 11:23 AM, Tony Lindgren t...@atomide.com wrote:
* George Cherian george.cher...@ti.com [150206 05:05]:
Hi Tony,
You also need to add similar things in dsps_musb_reset();
Otherwise you might not recover from
on MUSB?
Regards,
Tony
8 --
From: Tony Lindgren t...@atomide.com
Date: Wed, 4 Feb 2015 06:28:49 -0800
Subject: [PATCH] usb: musb: Fix getting a generic phy for musb_dsps
We still have a combination of legacy phys and generic phys in
use so we need to support both types of phy
* Felipe Balbi ba...@ti.com [150205 10:12]:
On Thu, Feb 05, 2015 at 08:35:12AM -0800, Tony Lindgren wrote:
The value for the multipoint dts property is ignored when parsing with
of_property_read_bool, so we currently have multipoint always set as 1
even if value 0 is specified in the dts
as otherwise MUSB will fail to work
on devices with Mentor configuration that does not support multipoint.
Cc: Brian Hutchinson b.hutch...@gmail.com
Signed-off-by: Tony Lindgren t...@atomide.com
---
drivers/usb/musb/musb_dsps.c | 7 +--
drivers/usb/musb/omap2430.c | 7 +--
2 files changed, 10
Hi,
Here are two fixes, the first one probably should be Cc stable.
Regards,
Tony
Tony Lindgren (2):
usb: musb: Fix use for of_property_read_bool for disabled multipoint
usb: musb: Fix getting a generic phy for musb_dsps
drivers/usb/musb/musb_dsps.c | 24
We still have a combination of legacy phys and generic phys in
use so we need to support both types of phy for musb_dsps.c.
Cc: Brian Hutchinson b.hutch...@gmail.com
Signed-off-by: Tony Lindgren t...@atomide.com
---
drivers/usb/musb/musb_dsps.c | 17 +
1 file changed, 17
* Roger Quadros rog...@ti.com [150129 03:34]:
On 28/01/15 19:09, Tony Lindgren wrote:
* Roger Quadros rog...@ti.com [150128 04:15]:
On 28/01/15 04:19, Chanwoo Choi wrote:
I still fail to understand that we need to call disable_irq() in
.suspend() and
enable_irq() in .resume()
can
* Roger Quadros rog...@ti.com [150128 04:15]:
On 28/01/15 04:19, Chanwoo Choi wrote:
I still fail to understand that we need to call disable_irq() in
.suspend() and
enable_irq() in .resume()
can you point me to any other drivers doing so?
You can refer the suspend function in
* Tony Lindgren t...@atomide.com [150119 10:52]:
* Roger Quadros rog...@ti.com [150119 09:55]:
Both are needed for USB cable type detection on dra7-evm.
Signed-off-by: Roger Quadros rog...@ti.com
---
arch/arm/configs/omap2plus_defconfig | 2 ++
1 file changed, 2 insertions
* Roger Quadros rog...@ti.com [150119 09:55]:
Both are needed for USB cable type detection on dra7-evm.
Signed-off-by: Roger Quadros rog...@ti.com
---
arch/arm/configs/omap2plus_defconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/configs/omap2plus_defconfig
: Linus Walleij linus.wall...@linaro.org
Reported-by: Jim Davis jim.ep...@gmail.com
Signed-off-by: Tony Lindgren t...@atomide.com
---
Felipe, this is against current linux next for v3.19
--- a/drivers/usb/musb/Kconfig
+++ b/drivers/usb/musb/Kconfig
@@ -72,6 +72,8 @@ config USB_MUSB_DA8XX
config
a build regression.
Fix that here
Oops sorry about the typo. I did not have blackin compilers here
either.
Regards,
Tony
Cc: Tony Lindgren t...@atomide.com
Reported-by: Fengguang Wu fengguang...@intel.com
Signed-off-by: Felipe Balbi ba...@ti.com
---
drivers/usb/musb/blackfin.c | 2 +-
1
This removes the ifdef clutter a bit and saves few lines.
It also makes it easier to detect the remaining places
where we have conditional building of code done based
on if defined for things like DMA.
Signed-off-by: Tony Lindgren t...@atomide.com
---
drivers/usb/musb/musb_core.c | 2
Change to use new IO access. This allows us to build in multiple
MUSB glue layers.
Cc: Fabio Baltieri fabio.balti...@linaro.org
Cc: Lee Jones lee.jo...@linaro.org
Cc: Linus Walleij linus.wall...@linaro.org
Signed-off-by: Tony Lindgren t...@atomide.com
---
drivers/usb/musb/am35x.c | 3
-in.
Note that this series still does not sort out the DMA related issues,
I have a series in works for that too. But that will take some more
debugging.
So far this has been tested to work on omap3, am335x and tusb6010.
Regards,
Tony
Tony Lindgren (8):
usb: musb: Add function pointers for IO
There's no reason any longer to keep it as a choice now that
the IO access has been fixed.
Signed-off-by: Tony Lindgren t...@atomide.com
---
drivers/usb/musb/Kconfig | 5 +
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/drivers/usb/musb/Kconfig b/drivers/usb/musb/Kconfig
index
-by: Tony Lindgren t...@atomide.com
---
drivers/usb/musb/am35x.c | 1 +
drivers/usb/musb/da8xx.c | 1 +
drivers/usb/musb/jz4740.c| 1 +
drivers/usb/musb/musb_core.c | 38 +-
drivers/usb/musb/musb_core.h | 37
Populate new IO functions for blackfin
Cc: Bryan Wu coolo...@gmail.com
Signed-off-by: Tony Lindgren t...@atomide.com
---
drivers/usb/musb/blackfin.c | 43 +++
1 file changed, 43 insertions(+)
diff --git a/drivers/usb/musb/blackfin.c b/drivers/usb/musb
Let's populate the new IO functions for tusb6010 but not use
them yet.
Signed-off-by: Tony Lindgren t...@atomide.com
---
drivers/usb/musb/tusb6010.c | 41 +
1 file changed, 41 insertions(+)
diff --git a/drivers/usb/musb/tusb6010.c b/drivers/usb/musb
* Felipe Balbi ba...@ti.com [141124 09:40]:
Hi,
I'm caught up with my linux-usb queue and I'm right now running my
randbuild tests. I know Tony Lindgren has some pretty important cleanup
work coming for MUSB, so I'll wait until the end of the day for that.
Tony, if you can't manage
-off-by: Tony Lindgren t...@atomide.com
---
drivers/usb/musb/blackfin.c | 1 +
drivers/usb/musb/da8xx.c | 1 +
drivers/usb/musb/jz4740.c| 1 +
drivers/usb/musb/musb_core.c | 21 ++---
drivers/usb/musb/ux500.c | 1 +
5 files changed, 10 insertions(+), 15 deletions
to use the current ops as that's really
platform_data and and set as a const.
This should allow eventually adding function pointers also
for the DMA code to struct musb_io, but that's a whole
different set of patches. For now, let's just fix the PIO
access.
Signed-off-by: Tony Lindgren t
* Felipe Balbi ba...@ti.com [141124 11:13]:
On Mon, Nov 24, 2014 at 11:05:02AM -0800, Tony Lindgren wrote:
@@ -312,10 +345,40 @@ void musb_read_fifo(struct musb_hw_ep *hw_ep, u16
len, u8 *dst)
ioread8_rep(fifo, dst, len);
}
}
-#endif
-#endif /* normal PIO
* Apelete Seketeli apel...@seketeli.net [141124 15:40]:
Hi Tony,
Thanks for the patch.
On Mon, Nov-24-2014 at 11:05:03 AM -0800, Tony Lindgren wrote:
This allows the endpoints to work when multiple MUSB glue
layers are built in.
Applied on top of 3.18-rc6 mainline and tested
* Enric Balletbo Serra eballe...@gmail.com [141119 03:14]:
2014-11-18 16:42 GMT+01:00 Tony Lindgren t...@atomide.com:
Checked again, and no luck. It's very weird because from the OTG point
of view, OTG is exactly the same between Beagleboard-XM and IGEPv2.
Can you confirm that you're using
* Enric Balletbo Serra eballe...@gmail.com [141118 01:04]:
Hi Tony,
2014-11-17 19:04 GMT+01:00 Tony Lindgren t...@atomide.com:
Just tested v3.18-rc5 with beagleboard xm, and the host mode
enumerates the devices, then may fail with insufficient bus power
at least for the WLAN device I
* Enric Balletbo Serra eballe...@gmail.com [141117 07:15]:
Hi all,
I'm trying to use the USB OTG driver of OMAP3 processor in HOST mode
when it's configured in dual role mode (CONFIG_USB_MUSB_DUAL_ROLE=y)
The test case that I'm trying to solve is as follows.
1) Boot the board.
2) Put
401 - 500 of 647 matches
Mail list logo