[PATCH 1/3] usb: ohci-exynos: Make provision for vdd regulators

2014-04-21 Thread Vivek Gautam
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

[PATCH 3/3] usb: dwc3-exynos: Make provision for vdd regulators

2014-04-21 Thread Vivek Gautam
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

[PATCH 2/3] usb: ehci-exynos: Make provision for vdd regulators

2014-04-21 Thread Vivek Gautam
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

[PATCH] usb: phy: otg-fsm: export symbol of otg_statemachine

2014-04-21 Thread Li Jun
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

Re: [RFC PATCH 0/2] usb: Reuse fsl driver code for synopsys usb controller

2014-04-21 Thread Felipe Balbi
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

usb fixes for v3.15-rc3

2014-04-21 Thread Felipe Balbi
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

Re: problem with resume after s2ram

2014-04-21 Thread Alan Stern
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

[PATCH 04/10] usb: dwc3: core: refactor mode initialization to its own function

2014-04-21 Thread Felipe Balbi
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

[PATCH 01/10] usb: dwc3: gadget: clear stall when disabling endpoint

2014-04-21 Thread Felipe Balbi
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

[PATCH 02/10] usb: dwc3: core: refactor PHY initialization

2014-04-21 Thread Felipe Balbi
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

[PATCH 03/10] usb: phy: mv-u3d: switch over to writel/readl

2014-04-21 Thread Felipe Balbi
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-

[PATCH 06/10] usb: phy: rename usb_nop_xceiv to usb_phy_generic

2014-04-21 Thread Felipe Balbi
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/

[PATCH 10/10] usb: phy: generic: switch over to IS_ENABLED()

2014-04-21 Thread Felipe Balbi
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

[PATCH 08/10] usb: musb: move usb_phy_generic_{un,}register calls to probe()/remove()

2014-04-21 Thread Felipe Balbi
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

[PATCH 07/10] usb: phy: rename to

2014-04-21 Thread Felipe Balbi
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

[PATCH 05/10] usb: gadget: only GPL drivers in the gadget and phy framework

2014-04-21 Thread Felipe Balbi
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

[PATCH 09/10] usb: phy: generic: allow multiples calls to usb_phy_generic_register()

2014-04-21 Thread Felipe Balbi
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

[PATCH 00/10] usb: generic cleanup patches

2014-04-21 Thread Felipe Balbi
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

Re: [PATCH 1/3] USB: musb: add reset hook to platform ops

2014-04-21 Thread Daniel Mack
-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

Re: [PATCH v2 2/2] usb: gadget: Add xilinx axi usb2 device support

2014-04-21 Thread Felipe Balbi
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

Re: [PATCH 1/3] USB: musb: add reset hook to platform ops

2014-04-21 Thread Felipe Balbi
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

Re: [PATCH] usb: phy: msm: Select secondary PHY via TCSR

2014-04-21 Thread Felipe Balbi
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. >

Re: [PATCH v2 2/2] usb: gadget: Add xilinx axi usb2 device support

2014-04-21 Thread Alan Stern
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 >

USB3 drive not detected at boot, but recognized when reconnected

2014-04-21 Thread Nicolas Moeri
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

Re: [PATCH] usb: phy: msm: Select secondary PHY via TCSR

2014-04-21 Thread Tim Bird
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

Re: [PATCH] usb: phy: msm: Select secondary PHY via TCSR

2014-04-21 Thread Felipe Balbi
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

Re: [PATCH 05/10] usb: gadget: only GPL drivers in the gadget and phy framework

2014-04-21 Thread Greg KH
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

Re: [PATCH 03/10] usb: phy: mv-u3d: switch over to writel/readl

2014-04-21 Thread Felipe Balbi
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

Re: [PATCH 03/10] usb: phy: mv-u3d: switch over to writel/readl

2014-04-21 Thread Greg KH
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:

Re: [PATCH] usb: ohci-exynos: Add facility to use phy provided by the generic phy framework

2014-04-21 Thread Vivek Gautam
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

Re: xHCI USB2 test modes

2014-04-21 Thread Felipe Balbi
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

Re: xHCI USB2 test modes

2014-04-21 Thread Alan Stern
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

Bugs in xhci-hcd isochronous support

2014-04-21 Thread Alan Stern
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

Re: [PATCH] usb: phy: otg-fsm: export symbol of otg_statemachine

2014-04-21 Thread Peter Chen
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 > --

[PATCH v12 12/12] Documentation: usb: add chipidea.txt for how to demo usb OTG HNP and SRP

2014-04-21 Thread Li Jun
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

[PATCH v12 00/12] Add USB OTG HNP and SRP support on Chipidea usb driver

2014-04-21 Thread Li Jun
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

[PATCH v12 06/12] usb: chipidea: add OTG fsm operation functions implemenation.

2014-04-21 Thread Li Jun
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

[PATCH v12 03/12] usb: chipidea: host: vbus control change for OTG HNP.

2014-04-21 Thread Li Jun
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

[PATCH v12 11/12] Documentation: ABI: usb: sysfs Description for chipidea USB OTG HNP and SRP

2014-04-21 Thread Li Jun
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-

[PATCH v12 09/12] usb: chipidea: add sys inputs for OTG fsm input.

2014-04-21 Thread Li Jun
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 +++

[PATCH v12 08/12] usb: chipidea: OTG HNP and SRP fsm implementation.

2014-04-21 Thread Li Jun
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

[PATCH v12 01/12] usb: phy: otg-fsm: export symbol of otg_statemachine

2014-04-21 Thread Li Jun
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 --

[PATCH v12 04/12] usb: chipidea: host: init otg port number.

2014-04-21 Thread Li Jun
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

[PATCH v12 05/12] usb: chipidea: udc: driver update for OTG HNP.

2014-04-21 Thread Li Jun
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

[PATCH v12 10/12] usb: chipidea: debug: add debug file for OTG variables

2014-04-21 Thread Li Jun
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..

[PATCH v12 02/12] usb: chipidea: usb OTG fsm initialization.

2014-04-21 Thread Li Jun
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

[PATCH v12 07/12] usb: chipidea: OTG fsm timers initialization.

2014-04-21 Thread Li Jun
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 +++

Re: [PATCH V4 1/5] phy: Add new Exynos5 USB 3.0 PHY driver

2014-04-21 Thread Jingoo Han
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:

Re: [PATCH V4 1/5] phy: Add new Exynos5 USB 3.0 PHY driver

2014-04-21 Thread Vivek Gautam
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

[PATCH 0/4] Enable U1/U2 initiation from dwc3 xhci host

2014-04-21 Thread Pratyush Anand
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

[PATCH 3/4] dwc3: host: Set xhci lpm support quirk

2014-04-21 Thread Pratyush Anand
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

[PATCH 2/4] xhci: Platform: Add (en/dis)able_usb3_lpm_timeout

2014-04-21 Thread Pratyush Anand
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

[PATCH 1/4] xhci: A default implementation for Ux timeout calculation and tier policy check

2014-04-21 Thread Pratyush Anand
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

[PATCH 4/4] usb: allow lpm (en/dis)able only if device is atleast in default state

2014-04-21 Thread Pratyush Anand
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

Re: [PATCH 3/4] dwc3: host: Set xhci lpm support quirk

2014-04-21 Thread Felipe Balbi
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/

Re: [PATCH v12 01/12] usb: phy: otg-fsm: export symbol of otg_statemachine

2014-04-21 Thread Felipe Balbi
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/

Re: [RESEND PATCH 1/1] usb: phy: delete CONFIG_USB_OTG_FSM

2014-04-21 Thread Felipe Balbi
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 |

Re: [RESEND PATCH 1/1] usb: phy: delete CONFIG_USB_OTG_FSM

2014-04-21 Thread Felipe Balbi
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 > >

Re: [PATCH 3/4] dwc3: host: Set xhci lpm support quirk

2014-04-21 Thread Pratyush Anand
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:

RE: [PATCH v12 01/12] usb: phy: otg-fsm: export symbol of otg_statemachine

2014-04-21 Thread Peter Chen
> > 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

Re: [PATCH v2 05/13] extcon: extcon-class: improve extcon client API

2014-04-21 Thread Robert Baldyga
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

RE: [RESEND PATCH 1/1] usb: phy: delete CONFIG_USB_OTG_FSM

2014-04-21 Thread Peter Chen
> > 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 +--