[PATCH v7 0/8] Add tested id switch and vbus connect detect support for Chipidea

2013-02-04 Thread Peter Chen
Changes for v6: For Patch 8/8, we only need to set ci-driver to NULL when usb cable is not connected, for other changes, it will case some runtime pm unmatch and un-align with udc-core composite driver problems. Changes for v5: - Add Alex comments for init/destroy function [3/8] [4/8] - Remove

[PATCH v7 2/8] usb: chipidea: add otg file

2013-02-04 Thread Peter Chen
Implement struct usb_otg, In that way, calling otg_set_peripheral will not be failed at udc.c. Signed-off-by: Peter Chen peter.c...@freescale.com --- drivers/usb/chipidea/Makefile |2 +- drivers/usb/chipidea/ci.h |2 + drivers/usb/chipidea/otg.c| 60

[PATCH v7 3/8] usb: chipidea: add otg id switch and vbus connect/disconnect detect

2013-02-04 Thread Peter Chen
The main design flow is the same with msm otg driver, that is the id and vbus interrupt are handled at core driver, others are handled by individual drivers. - At former design, when switch usb role from device-host, it will call udc_stop, it will remove the gadget driver, so when switch role

[PATCH v7 4/8] usb: chipidea: consolidate kinds of APIs for both roles

2013-02-04 Thread Peter Chen
- Create/destroy the gadget at udc's init and destory function - start/stop API are used at otg id switch and probe routine - Defer some gadget operations at ci's delayed work queue Signed-off-by: Peter Chen peter.c...@freescale.com --- drivers/usb/chipidea/ci.h |1 -

[PATCH v7 5/8] usb: chipidea: udc: add pullup/pulldown dp at hw_device_state

2013-02-04 Thread Peter Chen
- During the connect/disconnect host, we need to pullup and pulldown dp - Make sure the dp is not pullup until the vbus is on when flag CI13XXX_PULLUP_ON_VBUS is set - Using hw_device_state when set run/stop bit Signed-off-by: Peter Chen peter.c...@freescale.com --- drivers/usb/chipidea/udc.c |

[PATCH v7 6/8] usb: chipidea: udc: retire the flag CI13_PULLUP_ON_VBUS

2013-02-04 Thread Peter Chen
(change CI13XXX to CI13 to avoid junk email check) Now, we have handled vbus session in core driver when the vbus interrupt occurs, so our pullup operations are all according to vbus. Of cource, the software can still call .pullup when device connects to host if it wants to connect/disconnect with

[PATCH v7 7/8] usb: chipidea: imx: add internal vbus regulator control

2013-02-04 Thread Peter Chen
- For host, the vbus should always be on. - For otg, the vbus is off defaultly, the vbus needs to be turned on/off when usb role switches. Signed-off-by: Peter Chen peter.c...@freescale.com --- drivers/usb/chipidea/ci.h |2 + drivers/usb/chipidea/ci13xxx_imx.c | 80

[PATCH v7 8/8] usb: chipidea: udc: fix the oops when plugs in usb cable after rmmod gadget

2013-02-04 Thread Peter Chen
When we rmmod gadget, the ci-driver needs to be cleared. Otherwise, we plug in usb cable again, the driver will consider gadget is there, in fact, it is removed. Below is the oops this patch fixes. root@freescale ~$ ci_hdrc ci_hdrc.0: Connected to host Unable to handle kernel paging request at

Re: [PATCH V3 3/5] usb: gadget/uvc: Port UVC webcam gadget to use videobuf2 framework

2013-02-04 Thread Michael Grzeschik
Hi Bhupesh, On Thu, Jan 17, 2013 at 04:23:51PM +0530, Bhupesh Sharma wrote: This patch reworks the videobuffer management logic present in the UVC webcam gadget and ports it to use the more apt videobuf2 framework for video buffer management. To support routing video data captured from a

Re: [PATCH v4 2/4] ARM: Exynos5250: Enabling ohci-exynos driver

2013-02-04 Thread Vivek Gautam
Hi Kukjin, On Fri, Feb 1, 2013 at 3:56 AM, Kukjin Kim kgene@samsung.com wrote: Tomasz Figa wrote: Hi Vivek, [...] + usb@1212 { + compatible = samsung,exynos4210-ohci; + reg = 0x1212 0x100; + interrupts = 0 71 0; For Samsung platforms we

Re: xhci streams bug

2013-02-04 Thread Gerd Hoffmann
On 01/31/13 15:34, Gerd Hoffmann wrote: [ all still in qemu, will cross-checking on real hardware ] Done now. Getting the same behavior with the TI demo board on a nec xhci controller (express card). cheers, Gerd -- To unsubscribe from this list: send the line unsubscribe linux-usb in the

[PATCH 6/9] USB chipidea: introduce dual role mode pdata flags

2013-02-04 Thread Sascha Hauer
Even if a chipidea core is otg capable the board may not. This allows to explicitly set the core to host/peripheral mode. Without these flags the driver falls back to the old behaviour. Signed-off-by: Sascha Hauer s.ha...@pengutronix.de --- drivers/usb/chipidea/core.c | 21

[PATCH v4] USB: add devicetree helpers for determining dr_mode and phy_type

2013-02-04 Thread Sascha Hauer
4th round of patches. Peter, I would be glad if you could test them before your holiday. I rebased your last round of Chipidea OTG patches onto this series which you can pull here: git://git.pengutronix.de/git/imx/linux-2.6.git tags/usb-chipidea-otg-for-next I couldn't really test the otg

[PATCH 4/9] USB: chipidea: ci13xxx-imx: create dynamic platformdata

2013-02-04 Thread Sascha Hauer
From: Michael Grzeschik m.grzesc...@pengutronix.de This patch removes the limitation of having only one instance of the ci13xxx-imx platformdata and makes different configurations possible. Signed-off-by: Michael Grzeschik m.grzesc...@pengutronix.de Signed-off-by: Marc Kleine-Budde

[PATCH 7/9] USB chipidea i.MX: introduce dr_mode property

2013-02-04 Thread Sascha Hauer
The dr_mode devicetree property allows to explicitly specify the host/peripheral/otg mode. This is necessary for boards without proper ID pin handling. Signed-off-by: Sascha Hauer s.ha...@pengutronix.de Reviewed-by: Peter Chen peter.c...@freescale.com ---

[PATCH 5/9] USB: chipidea: add PTW and PTS handling

2013-02-04 Thread Sascha Hauer
From: Michael Grzeschik m.grzesc...@pengutronix.de This patch makes it possible to configure the PTW and PTS bits inside the portsc register for host and device mode before the driver starts and the phy can be addressed as hardware implementation is designed. Signed-off-by: Michael Grzeschik

[PATCH 9/9] USB chipidea i.MX: use devm_usb_get_phy_by_phandle to get phy

2013-02-04 Thread Sascha Hauer
Signed-off-by: Sascha Hauer s.ha...@pengutronix.de --- drivers/usb/chipidea/ci13xxx_imx.c | 39 +--- 1 file changed, 18 insertions(+), 21 deletions(-) diff --git a/drivers/usb/chipidea/ci13xxx_imx.c b/drivers/usb/chipidea/ci13xxx_imx.c index b598bb8f..136869b

[PATCH 3/9] USB: add devicetree helpers for determining dr_mode and phy_type

2013-02-04 Thread Sascha Hauer
From: Michael Grzeschik m.grzesc...@pengutronix.de This adds two little devicetree helper functions for determining the dr_mode (host, peripheral, otg) and phy_type (utmi, ulpi,...) from the devicetree. Signed-off-by: Michael Grzeschik m.grzesc...@pengutronix.de Signed-off-by: Marc Kleine-Budde

[PATCH 2/9] USB: move bulk of otg/otg.c to phy/phy.c

2013-02-04 Thread Sascha Hauer
Most of otg/otg.c is not otg specific, but phy specific, so move it to the phy directory. Signed-off-by: Sascha Hauer s.ha...@pengutronix.de Reported-by: Kishon Vijay Abraham I kis...@ti.com Cc: Felipe Balbi ba...@ti.com --- drivers/usb/otg/otg.c| 427

Re: [PATCH 1/9] usb: otg: use try_module_get in all usb_get_phy functions and add missing module_put

2013-02-04 Thread Roger Quadros
On 02/04/2013 03:24 PM, Sascha Hauer wrote: From: Marc Kleine-Budde m...@pengutronix.de In patch 5d3c28b usb: otg: add device tree support to otg library devm_usb_get_phy_by_phandle() was added. It uses try_module_get() to lock the phy driver in memory. The corresponding module_put() is

Re: [PATCH 1/9] usb: otg: use try_module_get in all usb_get_phy functions and add missing module_put

2013-02-04 Thread Marc Kleine-Budde
On 02/04/2013 02:59 PM, Roger Quadros wrote: On 02/04/2013 03:24 PM, Sascha Hauer wrote: From: Marc Kleine-Budde m...@pengutronix.de In patch 5d3c28b usb: otg: add device tree support to otg library devm_usb_get_phy_by_phandle() was added. It uses try_module_get() to lock the phy driver in

[PATCH v2 09/31] USB: ehci-omap: Use devm_ioremap_resource()

2013-02-04 Thread Roger Quadros
Make use of devm_ioremap_resource() and correct comment. CC: Alan Stern st...@rowland.harvard.edu Signed-off-by: Roger Quadros rog...@ti.com --- drivers/usb/host/ehci-omap.c | 21 ++--- 1 files changed, 6 insertions(+), 15 deletions(-) diff --git a/drivers/usb/host/ehci-omap.c

Re: [PATCH 1/9] usb: otg: use try_module_get in all usb_get_phy functions and add missing module_put

2013-02-04 Thread Roger Quadros
On 02/04/2013 04:10 PM, Marc Kleine-Budde wrote: On 02/04/2013 02:59 PM, Roger Quadros wrote: On 02/04/2013 03:24 PM, Sascha Hauer wrote: From: Marc Kleine-Budde m...@pengutronix.de In patch 5d3c28b usb: otg: add device tree support to otg library devm_usb_get_phy_by_phandle() was added. It

[PATCH 31/31] USB: ehci-omap: Select NOP USB transceiver driver

2013-02-04 Thread Roger Quadros
In PHY mode we need to have the nop-usb-xceiv transceiver driver to operate, so select it in Kconfig. CC: Alan Stern st...@rowland.harvard.edu Signed-off-by: Roger Quadros rog...@ti.com --- drivers/usb/host/Kconfig |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git

Re: [PATCH] usb: gadget: remove inode.c

2013-02-04 Thread Michal Nazarewicz
On Thu, Jan 24 2013, Felipe Balbi wrote: the benefit is that we will be able to go ahed with configfs-based binding and will be able to drop duplicated gadget code between legacy (non-composite) and composite framework with the function drivers. I'm not sure whether keeping gadgetfs around is

Re: [PATCH] usb: gadget: remove inode.c

2013-02-04 Thread Felipe Balbi
Hi, On Mon, Feb 04, 2013 at 04:27:49PM +0100, Michal Nazarewicz wrote: On Thu, Jan 24 2013, Felipe Balbi wrote: the benefit is that we will be able to go ahed with configfs-based binding and will be able to drop duplicated gadget code between legacy (non-composite) and composite framework

Re: Linux USB file storage gadget with new UDC

2013-02-04 Thread Alan Stern
On Mon, 4 Feb 2013, victor yeo wrote: Thanks, i made a big progress. The udc driver is able to pass the ep1 data (CBW) to gadget driver, and gadget driver handles the data (which is SCSI Inquiry command), and udc driver is able to send out the reply and CSW to host. After that, in

Re: [PATCH v4 4/4] drivers: usb: start using the control module driver

2013-02-04 Thread Felipe Balbi
Hi, On Fri, Feb 01, 2013 at 11:14:24AM -0800, Tony Lindgren wrote: * Felipe Balbi ba...@ti.com [130125 02:30]: Hi, On Fri, Jan 25, 2013 at 03:54:00PM +0530, Kishon Vijay Abraham I wrote: Start using the control module driver for powering on the PHY and for writing to the mailbox

[PATCH 00/13] Device tree support for OMAP HS USB Host

2013-02-04 Thread Roger Quadros
how to do that as there is no way to provide a phandle to any of the OMAP generated clocks in the device tree. Suggestions welcome :). Based on linux-next:next-20130204 Depends on USB: omap-ehci: Move PHY management to PHY driver g...@github.com:rogerq/linux.git next-usbhost16

[PATCH 02/13] USB: phy: nop: Defer probe if device needs VCC/RESET

2013-02-04 Thread Roger Quadros
Add 2 flags, needs_vcc and needs_reset to platform data. If the flag is set and the regulator couldn't be found then we bail out with -EPROBE_DEFER. For device tree boot we depend on presensce of vcc-supply/ reset-supply properties to decide if we should bail out with -EPROBE_DEFER or just

[PATCH 01/13] usb: phy: nop: Add device tree support and binding information

2013-02-04 Thread Roger Quadros
The PHY clock, clock rate, VCC regulator and RESET regulator can now be provided via device tree. Signed-off-by: Roger Quadros rog...@ti.com --- .../devicetree/bindings/usb/usb-nop-xceiv.txt | 34 drivers/usb/otg/nop-usb-xceiv.c| 31

[PATCH 04/13] mfd: omap-usb-tll: Add device tree support

2013-02-04 Thread Roger Quadros
Enable this driver to probe in device tree boot. CC: Samuel Ortiz sa...@linux.intel.com Signed-off-by: Roger Quadros rog...@ti.com --- .../devicetree/bindings/mfd/omap-usb-tll.txt | 17 + drivers/mfd/omap-usb-tll.c |9 + 2 files

[PATCH 05/13] USB: ehci-omap: Get platform resources by index rather than by name

2013-02-04 Thread Roger Quadros
Since there is only one resource per type we don't really need to use resource name to obtain it. This also also makes it easier for device tree adaptation. Signed-off-by: Roger Quadros rog...@ti.com --- drivers/usb/host/ehci-omap.c |5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-)

[PATCH 03/13] mfd: omap-usb-tll: move configuration code to omap_tll_init()

2013-02-04 Thread Roger Quadros
This is because we want to get rid of platform_data usage from probe(). The only information we need is PORT_MODE, and this can be supplied to us by the user (i.e. omap-usb-host.c). We also move channel clock management from runtime PM handlers into omap_tll_enable/disable(). CC: Samuel Ortiz

[PATCH 06/13] USB: ohci-omap3: Get platform resources by index rather than by name

2013-02-04 Thread Roger Quadros
Since there is only one resource per type we don't really need to use resource name to obtain it. This also also makes it easier for device tree adaptation. Signed-off-by: Roger Quadros rog...@ti.com --- drivers/usb/host/ohci-omap3.c |5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-)

[PATCH 07/13] USB: ohci-omap3: Add device tree support and binding information

2013-02-04 Thread Roger Quadros
Allows the OHCI controller found in OMAP3 and later chips to be specified via device tree. Signed-off-by: Roger Quadros rog...@ti.com --- .../devicetree/bindings/usb/omap3-ohci.txt | 17 + drivers/usb/host/ohci-omap3.c | 19 +++ 2

[PATCH 09/13] mfd: omap-usb-host: Add device tree support and binding information

2013-02-04 Thread Roger Quadros
Allows the OMAP HS USB host controller to be specified via device tree. CC: Samuel Ortiz sa...@linux.intel.com Signed-off-by: Roger Quadros rog...@ti.com --- .../devicetree/bindings/mfd/omap-usb-host.txt | 68 drivers/mfd/omap-usb-host.c| 83

[PATCH 10/13] ARM: dts: OMAP4: Add HS USB Host IP nodes

2013-02-04 Thread Roger Quadros
Adds device nodes for HS USB Host module, TLL module, OHCI and EHCI controllers. Signed-off-by: Roger Quadros rog...@ti.com --- arch/arm/boot/dts/omap4.dtsi | 30 ++ 1 files changed, 30 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/omap4.dtsi

[PATCH 08/13] USB: ehci-omap: Add device tree support and binding information

2013-02-04 Thread Roger Quadros
Allows the OMAP EHCI controller to be specified via device tree. Signed-off-by: Roger Quadros rog...@ti.com --- .../devicetree/bindings/usb/omap-ehci.txt | 34 ++ drivers/usb/host/ehci-omap.c | 36 +++- 2 files changed, 69

[PATCH 12/13] ARM: dts: OMAP3: Add HS USB Host IP nodes

2013-02-04 Thread Roger Quadros
Adds device nodes for HS USB Host module, TLL module, OHCI and EHCI controllers. Signed-off-by: Roger Quadros rog...@ti.com --- arch/arm/boot/dts/omap3.dtsi | 31 +++ 1 files changed, 31 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/omap3.dtsi

[PATCH 13/13] ARM: dts: omap3-beagle: Add USB Host support

2013-02-04 Thread Roger Quadros
Provide RESET and Power regulators for the USB PHY, the USB Host port mode and the PHY device. Also provide pin multiplexer information for USB host pins. Signed-off-by: Roger Quadros rog...@ti.com --- arch/arm/boot/dts/omap3-beagle.dts | 71 1 files

[PATCH 11/13] ARM: dts: omap4-panda: Add USB Host support

2013-02-04 Thread Roger Quadros
Provide the RESET and Power regulators for the USB PHY, the USB Host port mode and the PHY device. Also provide pin multiplexer information for the USB host pins. Signed-off-by: Roger Quadros rog...@ti.com --- arch/arm/boot/dts/omap4-panda.dts | 55 + 1

[PATCH] xhci - correct comp_mode_recovery_timer on return from hibernate

2013-02-04 Thread Tony Camuso
Commit 71c731a was a workaround for systems using the SN65LVPE502CP, controller, but it introduced a bug where resume from hibernate would add the comp_mode_recovery_timer to the timer queue while it was already active when saved to disk on hibernate. This caused list_add corruption leading to a

Re: [PATCH] usb: gadget: remove inode.c

2013-02-04 Thread Michal Nazarewicz
On Thu, Jan 24 2013, Felipe Balbi wrote: Hmm, looks like there's no easy way out. Can we (easily) make a compatibility layer between the two ? What are the biggest differences ? Come to think of it, would it make sense to make it as a user space library preloaded when gadgetfs user space

Re: [PATCH v4 4/4] drivers: usb: start using the control module driver

2013-02-04 Thread Tony Lindgren
* Felipe Balbi ba...@ti.com [130204 07:57]: Hi, On Fri, Feb 01, 2013 at 11:14:24AM -0800, Tony Lindgren wrote: * Felipe Balbi ba...@ti.com [130125 02:30]: Hi, On Fri, Jan 25, 2013 at 03:54:00PM +0530, Kishon Vijay Abraham I wrote: Start using the control module driver for

Re: [PATCH V3 3/5] usb: gadget/uvc: Port UVC webcam gadget to use videobuf2 framework

2013-02-04 Thread Michael Grzeschik
Hi Bhupesh, On Thu, Jan 17, 2013 at 04:23:51PM +0530, Bhupesh Sharma wrote: This patch reworks the videobuffer management logic present in the UVC webcam gadget and ports it to use the more apt videobuf2 framework for video buffer management. To support routing video data captured from a

Re: [PATCH net] net: usbnet: fix tx_dropped statistics

2013-02-04 Thread David Miller
From: Bjørn Mork bj...@mork.no Date: Thu, 31 Jan 2013 19:36:05 +0100 It is normal for minidrivers accumulating frames to return NULL from their tx_fixup function. We do not want to count this as a drop, or log any debug messages. A different exit path is therefore chosen for such drivers,

Re: [PATCH 0/8] drivers/net: Remove unnecessary alloc/OOM messages

2013-02-04 Thread David Miller
From: Joe Perches j...@perches.com Date: Sun, 3 Feb 2013 19:28:07 -0800 Remove all the OOM messages that follow kernel alloc failures as there is already a generic equivalent to these messages in the mm subsystem. Joe Perches (8): caif: Remove unnecessary alloc/OOM messages can:

Re: [PATCH 1/2] USB: storage: Define a new macro for USB storage match rules

2013-02-04 Thread Greg KH
On Mon, Feb 04, 2013 at 03:14:46PM +0800, fangxiaozhi 00110321 wrote: +/* Define the device is matched with Vendor ID and interface descriptors */ +#define UNUSUAL_VENDOR_INTF(id_vendor, cl, sc, pr, \ + vendorName, productName, useProtocol, useTransport, \ +

Re: [RFC/PATCH 29/32] usb: gadget: pxa27x_udc: let udc-core manage gadget-dev

2013-02-04 Thread Felipe Balbi
On Mon, Jan 28, 2013 at 09:18:29PM +0100, Robert Jarzmik wrote: Felipe Balbi ba...@ti.com writes: By simply setting a flag, we can drop some boilerplate code. Signed-off-by: Felipe Balbi ba...@ti.com --- drivers/usb/gadget/pxa27x_udc.c | 9 + Acked-by: Robert Jarzmik

Re: [PATCH 31/31] USB: ehci-omap: Select NOP USB transceiver driver

2013-02-04 Thread Alan Stern
On Mon, 4 Feb 2013, Roger Quadros wrote: In PHY mode we need to have the nop-usb-xceiv transceiver driver to operate, so select it in Kconfig. CC: Alan Stern st...@rowland.harvard.edu Signed-off-by: Roger Quadros rog...@ti.com --- drivers/usb/host/Kconfig |1 + 1 files changed, 1

Re: [PATCH v2 09/31] USB: ehci-omap: Use devm_ioremap_resource()

2013-02-04 Thread Alan Stern
On Mon, 4 Feb 2013, Roger Quadros wrote: Make use of devm_ioremap_resource() and correct comment. CC: Alan Stern st...@rowland.harvard.edu Signed-off-by: Roger Quadros rog...@ti.com --- drivers/usb/host/ehci-omap.c | 21 ++--- 1 files changed, 6 insertions(+), 15

Re: [PATCH 05/13] USB: ehci-omap: Get platform resources by index rather than by name

2013-02-04 Thread Alan Stern
On Mon, 4 Feb 2013, Roger Quadros wrote: Since there is only one resource per type we don't really need to use resource name to obtain it. This also also makes it easier for device tree adaptation. Signed-off-by: Roger Quadros rog...@ti.com Acked-by: Alan Stern st...@rowland.harvard.edu

Re: [PATCH 06/13] USB: ohci-omap3: Get platform resources by index rather than by name

2013-02-04 Thread Alan Stern
On Mon, 4 Feb 2013, Roger Quadros wrote: Since there is only one resource per type we don't really need to use resource name to obtain it. This also also makes it easier for device tree adaptation. Signed-off-by: Roger Quadros rog...@ti.com Acked-by: Alan Stern st...@rowland.harvard.edu

Re: [PATCH 07/13] USB: ohci-omap3: Add device tree support and binding information

2013-02-04 Thread Alan Stern
On Mon, 4 Feb 2013, Roger Quadros wrote: Allows the OHCI controller found in OMAP3 and later chips to be specified via device tree. Signed-off-by: Roger Quadros rog...@ti.com For the ohci-omap3 part: Acked-by: Alan Stern st...@rowland.harvard.edu -- To unsubscribe from this list: send

Re: [PATCH 08/13] USB: ehci-omap: Add device tree support and binding information

2013-02-04 Thread Alan Stern
On Mon, 4 Feb 2013, Roger Quadros wrote: Allows the OMAP EHCI controller to be specified via device tree. Signed-off-by: Roger Quadros rog...@ti.com For the ehci-omap part: Acked-by: Alan Stern st...@rowland.harvard.edu -- To unsubscribe from this list: send the line unsubscribe linux-usb

Re: [REVERT][v3.x.y] EHCI: Update qTD next pointer in QH overlay region during unlink

2013-02-04 Thread Alan Stern
On Fri, 1 Feb 2013, Joseph Salisbury wrote: Hi Alan, There is a tar file[0] attached to the bug report[1]. The tar file contains a few examples of failed and successful recording attempts while collecting usbmon traces. There is a readme.txt file available after extracting the files.

[PATCH] usb: phy: Add USB host phy support on Exyno4412

2013-02-04 Thread Dongjin Kim
This patch adds host phy support for Samsung's Exynos4412 SoC to samsung-usbphy driver and its device node. Cc: Praveen Paneri p.pan...@samsung.com Signed-off-by: Dongjin Kim tobet...@gmail.com --- arch/arm/boot/dts/exynos4412.dtsi | 13 drivers/usb/phy/samsung-usbphy.c | 156

Re: [PATCH] usb: phy: Add USB host phy support on Exyno4412

2013-02-04 Thread Kyungmin Park
Hi, Can split patch into two parts? One for USB tree, another for samsung tree. Thank you, Kyungmin Park On Tue, Feb 5, 2013 at 9:37 AM, Dongjin Kim tobet...@gmail.com wrote: This patch adds host phy support for Samsung's Exynos4412 SoC to samsung-usbphy driver and its device node. Cc:

[PATCH 1/2] usb: phy: Add USB host phy support on Exyno4412

2013-02-04 Thread Dongjin Kim
This patch adds host phy support for Samsung's Exynos4412 SoC to samsung-usbphy driver. This patch is created upon http://git.kernel.org/?p=linux/kernel/git/balbi/usb.git;a=commit;h=2564b526b8cf01e6c36285edfd40a438e683c2b8; Cc: Praveen Paneri p.pan...@samsung.com Signed-off-by: Dongjin Kim

RE: [PATCH 1/2] USB: storage: Define a new macro for USB storage match rules

2013-02-04 Thread Fangxiaozhi (Franko)
Dear Greg: OK,thank you very much. Best Regards, Franko Fang -Original Message- From: Greg KH [mailto:gre...@linuxfoundation.org] Sent: Tuesday, February 05, 2013 2:39 AM To: Fangxiaozhi (Franko) Cc: linux-usb@vger.kernel.org; linux-ker...@vger.kernel.org; Xueguiying

Re: [PATCH 02/13] USB: phy: nop: Defer probe if device needs VCC/RESET

2013-02-04 Thread kishon
On Monday 04 February 2013 09:28 PM, Roger Quadros wrote: Add 2 flags, needs_vcc and needs_reset to platform data. If the flag is set and the regulator couldn't be found then we bail out with -EPROBE_DEFER. For device tree boot we depend on presensce of vcc-supply/ reset-supply properties to

Re: [PATCH 04/13] mfd: omap-usb-tll: Add device tree support

2013-02-04 Thread kishon
On Monday 04 February 2013 09:28 PM, Roger Quadros wrote: Enable this driver to probe in device tree boot. CC: Samuel Ortiz sa...@linux.intel.com Signed-off-by: Roger Quadros rog...@ti.com --- .../devicetree/bindings/mfd/omap-usb-tll.txt | 17 +

Re: [PATCH 09/13] mfd: omap-usb-host: Add device tree support and binding information

2013-02-04 Thread kishon
On Monday 04 February 2013 09:28 PM, Roger Quadros wrote: Allows the OMAP HS USB host controller to be specified via device tree. CC: Samuel Ortiz sa...@linux.intel.com Signed-off-by: Roger Quadros rog...@ti.com --- .../devicetree/bindings/mfd/omap-usb-host.txt | 68

Re: [PATCH 10/13] ARM: dts: OMAP4: Add HS USB Host IP nodes

2013-02-04 Thread kishon
On Monday 04 February 2013 09:28 PM, Roger Quadros wrote: Adds device nodes for HS USB Host module, TLL module, OHCI and EHCI controllers. Signed-off-by: Roger Quadros rog...@ti.com --- arch/arm/boot/dts/omap4.dtsi | 30 ++ 1 files changed, 30 insertions(+), 0

Re: [PATCH v4 1/2] usb: phy: samsung: Common out the generic stuff

2013-02-04 Thread Vivek Gautam
Hi Kukjin, On Wed, Jan 30, 2013 at 11:26 AM, Kukjin Kim kgene@samsung.com wrote: Vivek Gautam wrote: Moving register and structure definitions to header file, and keeping the generic functions to be used across multiple PHYs in common file samsung-usbphy.c. Also renaming the usb 2.0

Re: [PATCH v4 2/2] usb: phy: samsung: Add PHY support for USB 3.0 controller

2013-02-04 Thread Vivek Gautam
Hi Kukjin, On Wed, Jan 30, 2013 at 11:31 AM, Kukjin Kim kgene@samsung.com wrote: Vivek Gautam wrote: Adding PHY driver support for USB 3.0 controller for Samsung's SoCs. Signed-off-by: Vivek Gautam gautam.vi...@samsung.com --- Changes from v3: - Making SAMSUNG_USB3PHY dependent on

Re: [PATCH 01/13] usb: phy: nop: Add device tree support and binding information

2013-02-04 Thread Felipe Balbi
Hi, On Mon, Feb 04, 2013 at 05:58:48PM +0200, Roger Quadros wrote: The PHY clock, clock rate, VCC regulator and RESET regulator can now be provided via device tree. Signed-off-by: Roger Quadros rog...@ti.com --- .../devicetree/bindings/usb/usb-nop-xceiv.txt | 34

Re: [PATCH 10/13] ARM: dts: OMAP4: Add HS USB Host IP nodes

2013-02-04 Thread Felipe Balbi
On Mon, Feb 04, 2013 at 05:58:57PM +0200, Roger Quadros wrote: Adds device nodes for HS USB Host module, TLL module, OHCI and EHCI controllers. Signed-off-by: Roger Quadros rog...@ti.com --- arch/arm/boot/dts/omap4.dtsi | 30 ++ 1 files changed, 30

Re: Linux USB file storage gadget with new UDC

2013-02-04 Thread victor yeo
Hi, How to set bh-state to BUF_STATE_EMPTY after the buffer is processed? It gets set to BUF_STATE_EMPTY in several different places, depending on the purpose the buffer was used for. See bulk_in_complete (your UDC driver should call this routine for every request over a bulk-IN endpoint,

Re: Linux USB file storage gadget with new UDC

2013-02-04 Thread Felipe Balbi
On Tue, Feb 05, 2013 at 03:49:22PM +0800, victor yeo wrote: Hi, How to set bh-state to BUF_STATE_EMPTY after the buffer is processed? It gets set to BUF_STATE_EMPTY in several different places, depending on the purpose the buffer was used for. See bulk_in_complete (your UDC driver

Re: Linux USB file storage gadget with new UDC

2013-02-04 Thread victor yeo
Hi, How to set bh-state to BUF_STATE_EMPTY after the buffer is processed? It gets set to BUF_STATE_EMPTY in several different places, depending on the purpose the buffer was used for. See bulk_in_complete (your UDC driver should call this routine for every request over a bulk-IN