Facilitate getting required 3.3V and 1.0V VDD supply for
OHCI controller on Exynos.
With patches for regulators' nodes merged in 3.15:
c8c253f ARM: dts: Add regulator entries to smdk5420
275dcd2 ARM: dts: add max77686 pmic node for smdk5250,
certain perripherals will now need to ensure that,
they
Facilitate getting required 3.3V and 1.0V VDD supply for
DWC3 controller on Exynos.
With patches for regulators' nodes merged in 3.15:
c8c253f ARM: dts: Add regulator entries to smdk5420
275dcd2 ARM: dts: add max77686 pmic node for smdk5250,
certain perripherals will now need to ensure that,
they
Facilitate getting required 3.3V and 1.0V VDD supply for
EHCI controller on Exynos.
With patches for regulators' nodes merged in 3.15:
c8c253f ARM: dts: Add regulator entries to smdk5420
275dcd2 ARM: dts: add max77686 pmic node for smdk5250,
certain perripherals will now need to ensure that,
they
From: Li Jun
This patch exports symbol of otg_statemachine for kernel module
can use it.
Signed-off-by: Li Jun
diff --git a/drivers/usb/phy/phy-fsm-usb.c b/drivers/usb/phy/phy-fsm-usb.c
index c47e5a6..a62d8c8 100644
--- a/drivers/usb/phy/phy-fsm-usb.c
+++ b/drivers/usb/phy/phy-fsm-usb.c
@@ -36
On Sun, Apr 20, 2014 at 09:57:03PM +0530, Punnaiah Choudary Kalluri wrote:
> Zynq soc contains a dual role usb controller and this IP is from synopsys. We
> observed that there is driver available for this controller from freescale and
> decided to reuse this driver for zynq use.
>
> Here is the l
Hi Greg,
Here's my first pull request. All patches soaked for a long time and
have passed my 300 randconfigs without issues.
Please consider merging this to your usb-linus branch.
The following changes since commit c9eaa447e77efe77b7fa4c953bd62de8297fd6c5:
Linux 3.15-rc1 (2014-04-13 14:18:35
On Sun, 20 Apr 2014, Peter Münster wrote:
> On Fri, Apr 18 2014, Alan Stern wrote:
>
> > Below is a first simple attempt, let's call it fix1. This should be
> > applied to the kernel you have been using, with diag1 but without any
> > of the diag3* patches. What happens with fix1 and with the mou
Move mode (Host, Peripheral, OTG) initialization
to its own function in order to decrease the size
of our probe() routine.
Signed-off-by: Felipe Balbi
---
drivers/usb/dwc3/core.c | 133
1 file changed, 67 insertions(+), 66 deletions(-)
diff --git
so it seems like DWC3 IP doesn't clear stalls
automatically when we disable an endpoint, because
of that, we _must_ make sure stalls are cleared
before clearing the proper bit in DALEPENA register.
Cc: # v3.4+
Reported-by: Johannes Stezenbach
Signed-off-by: Felipe Balbi
---
drivers/usb/dwc3/ga
our probe() routine is too large and we can
easily refactor PHY-related code out to another
function to make it slightly less painful to read.
Signed-off-by: Felipe Balbi
---
drivers/usb/dwc3/core.c | 120 ++--
1 file changed, 66 insertions(+), 54 dele
by removing the _relaxed suffix, we can build
this driver in other architectures.
Signed-off-by: Felipe Balbi
---
drivers/usb/phy/phy-mv-u3d-usb.c | 20 ++--
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/drivers/usb/phy/phy-mv-u3d-usb.c b/drivers/usb/phy/phy-mv-
no functional changes, just renaming the function
in order to make it slightly clearer what it should
be used for, also matching the driver name.
Signed-off-by: Felipe Balbi
---
arch/arm/mach-omap2/usb-host.c| 8 +++---
drivers/usb/dwc3/dwc3-exynos.c| 6 ++---
drivers/usb/dwc3/
when checking if our generic PHY is enabled,
it's a lot easier to use IS_ENABLED() instead
of manually checking for it. While at that, also
remove the bogus defined(MODULE) at the end of
the line.
Signed-off-by: Felipe Balbi
---
include/linux/usb/usb_phy_generic.h | 2 +-
1 file changed, 1 inser
This patch is in preparation to supporting
calling those functions multiple times.
Signed-off-by: Felipe Balbi
---
drivers/usb/musb/am35x.c| 4 ++--
drivers/usb/musb/blackfin.c | 6 +++---
drivers/usb/musb/da8xx.c| 4 ++--
drivers/usb/musb/davinci.c | 4 ++--
drivers/usb/musb/tusb6010.c
now that all functions match the driver name,
the only missing piece is to rename the header
file itself.
Signed-off-by: Felipe Balbi
---
arch/arm/mach-omap2/board-omap3beagle.c | 1 -
arch/arm/mach-omap2/usb-host.c | 2 +-
drivers/usb/dwc3/dwc3
We only support GPL drivers in the USB Gadget Framework,
it sounds correct to make all exported symbols GPL too.
Signed-off-by: Felipe Balbi
---
drivers/usb/gadget/configfs.c | 2 +-
drivers/usb/gadget/f_fs.c | 6 ++---
drivers/usb/gadget/f_rndis.c| 2 +-
drivers/usb/g
it's now very easy to return a platform_device pointer
and have the caller pass it as argument when calling
usb_phy_generic_unregister().
Signed-off-by: Felipe Balbi
---
drivers/usb/musb/am35x.c| 12 +---
drivers/usb/musb/blackfin.c | 10 --
drivers/usb/musb/d
Hi folks,
I have been playing with following patches today and
I think they're ready to be queued up for v3.16 but
I wanted to get some comments/test results before
I apply them to my 'next' branch.
Changes since v1:
- modify arch/arm/mach-omap2/usb-host.c and
board-omap3b
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 04/15/2014 07:21 PM, Felipe Balbi wrote:
> On Wed, Apr 02, 2014 at 03:21:44PM +0200, Daniel Mack wrote:
>> On 04/02/2014 02:12 PM, Sergei Shtylyov wrote:
>>> On 02-04-2014 15:58, Daniel Mack wrote:
+static inline void musb_platform_reset(struct
Hi,
On Fri, Apr 18, 2014 at 07:34:08PM +0530, sundeep subbaraya wrote:
> >> in ep_queue driver starts dma transfer from/to IP buffer to/from req->buf.
> >> If transfer is completed then request is not added to ep request queue
> >> and returns from ep_queue.
> >> If transfer is not completed (a
On Mon, Apr 21, 2014 at 06:07:50PM +0200, Daniel Mack wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> On 04/15/2014 07:21 PM, Felipe Balbi wrote:
> > On Wed, Apr 02, 2014 at 03:21:44PM +0200, Daniel Mack wrote:
> >> On 04/02/2014 02:12 PM, Sergei Shtylyov wrote:
> >>> On 02-04-2014 15
Hi,
On Fri, Apr 04, 2014 at 03:18:11PM -0700, Tim Bird wrote:
> Select the secondary PHY using the TCSR register, if phy-num=1
> in the DTS (or phy_number is set in the platform data). The
> SOC has 2 PHYs which can be used with the OTG port, and this
> code allows configuring the correct one.
>
On Mon, 21 Apr 2014, Felipe Balbi wrote:
> Hi,
>
> On Fri, Apr 18, 2014 at 07:34:08PM +0530, sundeep subbaraya wrote:
>
>
>
> > >> in ep_queue driver starts dma transfer from/to IP buffer to/from
> > >> req->buf.
> > >> If transfer is completed then request is not added to ep request queue
>
Hello,
I have the following behavior:
When booting, USB3 disk FREECOM is not recognized. PCI USB3 card
correctly recognized: 02:00.0 USB controller: Renesas Technology Corp.
uPD720202 USB 3.0 Host Controller (rev 02)
When disconnected and reconnected, USB3 disk is correctly recognized.
This is ob
On Mon, Apr 21, 2014 at 9:14 AM, Felipe Balbi wrote:
> Hi,
>
> On Fri, Apr 04, 2014 at 03:18:11PM -0700, Tim Bird wrote:
>> Select the secondary PHY using the TCSR register, if phy-num=1
>> in the DTS (or phy_number is set in the platform data). The
>> SOC has 2 PHYs which can be used with the OT
On Mon, Apr 21, 2014 at 10:03:28AM -0700, Tim Bird wrote:
> On Mon, Apr 21, 2014 at 9:14 AM, Felipe Balbi wrote:
> > Hi,
> >
> > On Fri, Apr 04, 2014 at 03:18:11PM -0700, Tim Bird wrote:
> >> Select the secondary PHY using the TCSR register, if phy-num=1
> >> in the DTS (or phy_number is set in th
On Mon, Apr 21, 2014 at 10:56:47AM -0500, Felipe Balbi wrote:
> We only support GPL drivers in the USB Gadget Framework,
> it sounds correct to make all exported symbols GPL too.
>
> Signed-off-by: Felipe Balbi
Acked-by: Greg Kroah-Hartman
--
To unsubscribe from this list: send the line "unsubs
On Mon, Apr 21, 2014 at 12:04:44PM -0700, Greg KH wrote:
> On Mon, Apr 21, 2014 at 10:56:45AM -0500, Felipe Balbi wrote:
> > by removing the _relaxed suffix, we can build
> > this driver in other architectures.
>
> Odd, why was the _relaxed variants used here at all? Someone trying to
> optimize
On Mon, Apr 21, 2014 at 10:56:45AM -0500, Felipe Balbi wrote:
> by removing the _relaxed suffix, we can build
> this driver in other architectures.
Odd, why was the _relaxed variants used here at all? Someone trying to
optimize something ahead of time?
greg k-h
--
To unsubscribe from this list:
On Thu, Apr 10, 2014 at 6:54 PM, Vivek Gautam wrote:
> Add support to consume phy provided by Generic phy framework.
> Keeping the support for older usb-phy intact right now, in order
> to prevent any functionality break in absence of relevant
> device tree side change for ohci-exynos.
> Once we m
Hi,
On Wed, Apr 02, 2014 at 10:37:58AM -0500, Felipe Balbi wrote:
> Hi,
>
> I've been toying with the idea of implementing USB2 test mode support to
> xhci-hub.c *but* the thing isn't straight forward in xHCI as it is in
> dwc3 peripheral side.
>
> Here are the questions:
>
> 1) How to figure o
On Mon, 21 Apr 2014, Felipe Balbi wrote:
> Hi,
>
> On Wed, Apr 02, 2014 at 10:37:58AM -0500, Felipe Balbi wrote:
> > Hi,
> >
> > I've been toying with the idea of implementing USB2 test mode support to
> > xhci-hub.c *but* the thing isn't straight forward in xHCI as it is in
> > dwc3 peripheral
Mathias:
I noticed a couple of things wrong in xhci_queue_isoc_tx_prepare().
One of them isn't too serious: The code checks in several places
whether the device is running at low speed. This is useless, because
USB does not support isochronous transfers at low speed.
More importantly, the ro
On Mon, Apr 21, 2014 at 07:17:58PM +0800, Li Jun wrote:
> From: Li Jun
>
> This patch exports symbol of otg_statemachine for kernel module
> can use it.
>
> Signed-off-by: Li Jun
>
> diff --git a/drivers/usb/phy/phy-fsm-usb.c b/drivers/usb/phy/phy-fsm-usb.c
> index c47e5a6..a62d8c8 100644
> --
From: Li Jun
This patch adds a file chipidea.txt for how to demo chipidea usb OTG HNP and SRP
functions via sysfs input files, any other possible information should be
documented for chipidea usb driver in future can be added into this file.
Signed-off-by: Li Jun
---
Documentation/usb/chipidea
From: Li Jun
This patchset adds USB OTG HNP and SRP support on chipidea usb driver,
existing OTG port role swtich function by ID pin status kept unchanged,
based on that, if select CONFIG_USB_OTG_FSM, OTG HNP and SRP will be
supported.
Reference to:
"On-The-Go and Embedded Host Supplement to the
Add OTG HNP and SRP operation functions implementation:
- charge vbus
- drive vbus
- connection signaling
- drive sof
- start data pulse
- add fsm timer
- delete fsm timer
- start host
- start gadget
Signed-off-by: Li Jun
---
drivers/usb/chipidea/bits.h|9 ++
drivers/usb/chipidea/ci.h
Leave vbus on/off hanlded by OTG fsm if in OTG mode.
Signed-off-by: Li Jun
---
drivers/usb/chipidea/host.c | 10 +++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/drivers/usb/chipidea/host.c b/drivers/usb/chipidea/host.c
index a8ac6c1..ffb4168 100644
--- a/drivers/usb/ch
From: Li Jun
This patch adds sysfs interface description for chipidea USB OTG HNP and SRP.
Signed-off-by: Li Jun
---
.../ABI/testing/sysfs-platform-chipidea-usb-otg| 56
1 file changed, 56 insertions(+)
diff --git a/Documentation/ABI/testing/sysfs-platform-chipidea-
From: Li Jun
This patch adds sys input to control and show OTG fsm inputs by application,
user can do host and preipheral role switch by change these inputs.
Signed-off-by: Li Jun
---
drivers/usb/chipidea/otg.c |2 +
drivers/usb/chipidea/otg_fsm.c | 173 +++
From: Li Jun
USB OTG interrupt handling and fsm transitions according to USB OTG
and EH 2.0.
Signed-off-by: Li Jun
---
drivers/usb/chipidea/core.c| 24 +++-
drivers/usb/chipidea/otg.c |9 +-
drivers/usb/chipidea/otg_fsm.c | 243
drivers/u
From: Li Jun
This patch exports symbol of otg_statemachine for kernel module
can use it.
Signed-off-by: Li Jun
---
drivers/usb/phy/phy-fsm-usb.c |1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/usb/phy/phy-fsm-usb.c b/drivers/usb/phy/phy-fsm-usb.c
index c47e5a6..a62d8c8 100644
--
Init otg_port number of otg capable host to be 1 at host start.
Signed-off-by: Li Jun
---
drivers/usb/chipidea/host.c | 11 +--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/drivers/usb/chipidea/host.c b/drivers/usb/chipidea/host.c
index ffb4168..a93d950 100644
--- a/dr
Add b_hnp_enable request handling and enable gadget->is_otg
Acked-by: Peter Chen
Signed-off-by: Li Jun
---
drivers/usb/chipidea/udc.c | 11 ++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/drivers/usb/chipidea/udc.c b/drivers/usb/chipidea/udc.c
index f58857d..cba7fd6
From: Li Jun
This patch adds a debug file for OTG vairables show.
Signed-off-by: Li Jun
---
drivers/usb/chipidea/debug.c | 84 ++
1 file changed, 84 insertions(+)
diff --git a/drivers/usb/chipidea/debug.c b/drivers/usb/chipidea/debug.c
index 5b890c1..
This patch adds OTG fsm related initialization when do otg init,
add a seperate file for OTG fsm related utilities.
Signed-off-by: Li Jun
---
drivers/usb/chipidea/Makefile |1 +
drivers/usb/chipidea/ci.h | 17 +++
drivers/usb/chipidea/otg.c |4 +++
drivers/usb/chipide
From: Li Jun
This patch adds OTG fsm timers initialization, which use controller's 1ms
interrupt as timeout counter, also adds some local timers which are not
in otg_fsm_timer list.
Signed-off-by: Li Jun
---
drivers/usb/chipidea/bits.h|1 +
drivers/usb/chipidea/otg_fsm.c | 189 +++
On Wednesday, April 16, 2014 11:49 PM, Vivek Gautam wrote:
> On Wed, Apr 16, 2014 at 7:14 PM, Tomasz Figa wrote:
> > On 15.04.2014 08:09, Vivek Gautam wrote:
> >> On Thu, Apr 10, 2014 at 5:09 PM, Vivek Gautam wrote:
> >>> On Wed, Apr 9, 2014 at 7:03 PM, Tomasz Figa wrote:
> On 09.04.2014 13:
Hi Jingoo,
On Tue, Apr 22, 2014 at 7:48 AM, Jingoo Han wrote:
> On Wednesday, April 16, 2014 11:49 PM, Vivek Gautam wrote:
>> On Wed, Apr 16, 2014 at 7:14 PM, Tomasz Figa wrote:
>> > On 15.04.2014 08:09, Vivek Gautam wrote:
>> >> On Thu, Apr 10, 2014 at 5:09 PM, Vivek Gautam wrote:
>> >>> On We
These patches provides support of LPM capability to the dwc3 xhci
hosts. Patches have been tested on STih407 by Aymen Bouattay.
Changes Since RFC:
-- All dwc3 platform are enabled for USB3 lpm.
-- Ux timeout calculation and tier policy check as per Mathias's comment
-- A new patch added for allowi
All dwc3 based xhci host controller supports USB3.0 LPM functionality.
Therefore enable quirk flag to support it for dwc3 xhci host driver.
Signed-off-by: Pratyush Anand
Tested-by: Aymen Bouattay
---
drivers/usb/dwc3/host.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/usb/dwc3/ho
To use auto U0-U1/U2 transition by xhci platform device add
(en/dis)able_usb3_lpm_timeout function to the xhci_plat_xhci_driver struct.
Signed-off-by: Pratyush Anand
Tested-by: Aymen Bouattay
---
drivers/usb/host/xhci-plat.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/usb/hos
As best case, a host controller should support U0 to U1 switching for
the devices connected below any tier of hub level supported by usb
specification. Therefore xhci_check_tier_policy should always return
success as default implementation.
A host should be able to issue LGO_Ux after the timeout c
When a USB device is disconnected, usb_unbind_interface is called, which
tries to enable and disable LPM. usb_enable_lpm also try to send a
control command SET SEL to the device.
Since device is already disconnected, therefore it does not make sense
to execute usb_(en/dis)able_lpm.
This patch retur
On Tue, Apr 22, 2014 at 09:57:29AM +0530, Pratyush Anand wrote:
> All dwc3 based xhci host controller supports USB3.0 LPM functionality.
> Therefore enable quirk flag to support it for dwc3 xhci host driver.
>
> Signed-off-by: Pratyush Anand
> Tested-by: Aymen Bouattay
> ---
> drivers/usb/dwc3/
On Tue, Apr 22, 2014 at 08:45:24AM +0800, Li Jun wrote:
> From: Li Jun
>
> This patch exports symbol of otg_statemachine for kernel module
> can use it.
>
> Signed-off-by: Li Jun
> ---
> drivers/usb/phy/phy-fsm-usb.c |1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/usb/phy/
Hi,
On Wed, Mar 05, 2014 at 08:52:24AM +0800, Peter Chen wrote:
> We already have CONFIG_USB_OTG which can cover all CONFIG_USB_OTG_FSM
> does.
>
> Cc: Jun Li
> Cc: Anton Tikhomirov
> Signed-off-by: Peter Chen
> ---
> drivers/usb/phy/Kconfig | 11 +--
> drivers/usb/phy/Makefile |
On Mon, Apr 21, 2014 at 11:53:53PM -0500, Felipe Balbi wrote:
> Hi,
>
> On Wed, Mar 05, 2014 at 08:52:24AM +0800, Peter Chen wrote:
> > We already have CONFIG_USB_OTG which can cover all CONFIG_USB_OTG_FSM
> > does.
> >
> > Cc: Jun Li
> > Cc: Anton Tikhomirov
> > Signed-off-by: Peter Chen
> >
On Tue, Apr 22, 2014 at 12:43:55PM +0800, Felipe Balbi wrote:
> On Tue, Apr 22, 2014 at 09:57:29AM +0530, Pratyush Anand wrote:
> > All dwc3 based xhci host controller supports USB3.0 LPM functionality.
> > Therefore enable quirk flag to support it for dwc3 xhci host driver.
> >
> > Signed-off-by:
>
> On Tue, Apr 22, 2014 at 08:45:24AM +0800, Li Jun wrote:
> > From: Li Jun
> >
> > This patch exports symbol of otg_statemachine for kernel module can
> > use it.
> >
> > Signed-off-by: Li Jun
> > ---
> > drivers/usb/phy/phy-fsm-usb.c |1 +
> > 1 file changed, 1 insertion(+)
> >
> > dif
On 04/19/2014 12:52 PM, Aaro Koskinen wrote:
> Hi,
>
> On Mon, Apr 14, 2014 at 01:46:16PM +0200, Robert Baldyga wrote:
>> dev_info(&pdev->dev,
>> - "OMAP USB OTG controller rev %d.%d (%s, id=%d, vbus=%d)\n",
>> - (rev >> 4) & 0xf, rev & 0xf, config->extcon, otg_dev->id
> > On Wed, Mar 05, 2014 at 08:52:24AM +0800, Peter Chen wrote:
> > > We already have CONFIG_USB_OTG which can cover all
> > > CONFIG_USB_OTG_FSM does.
> > >
> > > Cc: Jun Li
> > > Cc: Anton Tikhomirov
> > > Signed-off-by: Peter Chen
> > > ---
> > > drivers/usb/phy/Kconfig | 11 +--
62 matches
Mail list logo