Re: [PATCH v2 2/3] usb: phy: add lubbock phy driver

2015-01-14 Thread Dmitry Eremin-Solenikov
Hello, 2015-01-13 9:10 GMT+03:00 Kishon Vijay Abraham I : > Hi, > > On Tuesday 13 January 2015 03:21 AM, Felipe Balbi wrote: >> On Sun, Jan 11, 2015 at 10:44:59PM +0400, Dmitry Eremin-Solenikov wrote: >>> Hello, >>> >>> 2015-01-08 19:58 GMT+03:00 Felipe

Re: [PATCH v2 2/3] usb: phy: add lubbock phy driver

2015-01-11 Thread Dmitry Eremin-Solenikov
Hello, 2015-01-08 19:58 GMT+03:00 Felipe Balbi : > On Sun, Nov 30, 2014 at 01:02:04AM +0300, Dmitry Eremin-Solenikov wrote: >> Extract lubbock-specific code from pxa25x_udc driver. As a bonus, phy >> driver determines connector/VBUS status by reading CPLD register. Also >> i

[PATCH v2 2/3] usb: phy: add lubbock phy driver

2014-11-29 Thread Dmitry Eremin-Solenikov
Extract lubbock-specific code from pxa25x_udc driver. As a bonus, phy driver determines connector/VBUS status by reading CPLD register. Also it uses a work to call into udc stack, instead of pinging vbus session right from irq handler. Signed-off-by: Dmitry Eremin-Solenikov --- drivers/usb/phy

[PATCH v2 1/3] ARM: pxa: lubbock: add declaration of vbus tranceiver

2014-11-29 Thread Dmitry Eremin-Solenikov
Add a declaration of lubbock-vbus device, used as UDC transceiver on Lubbock platform. Signed-off-by: Dmitry Eremin-Solenikov --- arch/arm/mach-pxa/lubbock.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/mach-pxa/lubbock.c b/arch/arm/mach-pxa/lubbock.c index d8a1be6

[PATCH v2 3/3] usb: gadget: drop lubbock-specific code from pxa25x_udc

2014-11-29 Thread Dmitry Eremin-Solenikov
Now, as there is a special phy for lubbock platforms, drop all lubbock-specific code from pxa25x udc driver. It should use phy instead. Signed-off-by: Dmitry Eremin-Solenikov --- drivers/usb/gadget/udc/pxa25x_udc.c | 61 - drivers/usb/gadget/udc/pxa25x_udc.h

[PATCH v2 0/3] ARM/usb: add PHY for Lubbock platform

2014-11-29 Thread Dmitry Eremin-Solenikov
lubbock-specific code from pxa25x_udc (2014-11-30 00:51:31 +0300) Dmitry Eremin-Solenikov (3): ARM: pxa: lubbock: add declaration of vbus tranceiver usb: phy: add lubbock phy driver usb: gadget: drop lubbock-specific

Re: Lubbock interrupts fix (was lubbock udc phy)

2014-11-26 Thread Dmitry Eremin-Solenikov
2014-11-27 1:38 GMT+03:00 Robert Jarzmik : > Dmitry Eremin-Solenikov writes: > >> 2014-11-27 1:12 GMT+03:00 Robert Jarzmik : >>> OK Dmitry, I pulled through, the interrupts are working back. >> >> What was the problem? Hardware issues? Firmware in CPLD being

Re: [PATCH V2 3/5] usb: gadget: pxa25x_udc: prepare/unprepare clocks in pxa-ssp

2014-11-26 Thread Dmitry Eremin-Solenikov
2014-11-27 1:12 GMT+03:00 Robert Jarzmik : > OK Dmitry, I pulled through, the interrupts are working back. What was the problem? Hardware issues? Firmware in CPLD being of old revision? > Actually one of the blockers I have is in pxa25x_udc, and it is also in your > phy-lubbock.c. The bottom of t

Re: [PATCH V2 3/5] usb: gadget: pxa25x_udc: prepare/unprepare clocks in pxa-ssp

2014-11-22 Thread Dmitry Eremin-Solenikov
2014-11-22 20:49 GMT+03:00 Robert Jarzmik : > Dmitry Eremin-Solenikov writes: > >> Hello, >> >> 2014-11-22 20:18 GMT+03:00 Robert Jarzmik : >>> Dmitry Eremin-Solenikov writes: >>> >>>> 2014-11-22 16:56 GMT+03:00 Robert Jarzmik : >>

Re: [PATCH V2 3/5] usb: gadget: pxa25x_udc: prepare/unprepare clocks in pxa-ssp

2014-11-22 Thread Dmitry Eremin-Solenikov
Hello, 2014-11-22 20:18 GMT+03:00 Robert Jarzmik : > Dmitry Eremin-Solenikov writes: > >> 2014-11-22 16:56 GMT+03:00 Robert Jarzmik : >>> Robert Jarzmik writes: >>>> Okay, now my ADSL line is repaired, thank you Mr farmer "I drive a tractor >>&g

Re: [PATCH V2 3/5] usb: gadget: pxa25x_udc: prepare/unprepare clocks in pxa-ssp

2014-11-22 Thread Dmitry Eremin-Solenikov
2014-11-22 16:56 GMT+03:00 Robert Jarzmik : > Robert Jarzmik writes: >> Okay, now my ADSL line is repaired, thank you Mr farmer "I drive a tractor >> but I >> don't care about telephone posts", I'll fetch your changes and make a >> test. Let's say I schedule this for saturday. > > Removed people

Re: [PATCH V2 3/5] usb: gadget: pxa25x_udc: prepare/unprepare clocks in pxa-ssp

2014-11-19 Thread Dmitry Eremin-Solenikov
2014-11-19 23:29 GMT+03:00 Robert Jarzmik : > Dmitry Eremin-Solenikov writes: > >> I have sketched a compile-tested only PHY for the Lubbock platform. Could you >> please take a look and test. >> git://git.infradead.org/users/dbaryshkov/zaurus.git lubbock > > Okay

Re: [PATCH V2 3/5] usb: gadget: pxa25x_udc: prepare/unprepare clocks in pxa-ssp

2014-11-17 Thread Dmitry Eremin-Solenikov
2014-11-17 23:05 GMT+03:00 Dmitry Eremin-Solenikov : > 2014-11-17 21:44 GMT+03:00 Robert Jarzmik : >> Guess what, Russell's remark on i2c and serial made me cross-check. And >> there >> is a case where this will be called in irq context too ... >> >> See :

Re: [PATCH V2 3/5] usb: gadget: pxa25x_udc: prepare/unprepare clocks in pxa-ssp

2014-11-17 Thread Dmitry Eremin-Solenikov
Hello, 2014-11-17 21:44 GMT+03:00 Robert Jarzmik : > Dmitry Eremin-Solenikov writes: > >> Change clk_enable/disable() calls to clk_prepare_enable() and >> clk_disable_unprepare(). >> >> Signed-off-by: Dmitry Eremin-Solenikov >> --- >> drivers/usb/gadge

[PATCH V2 2/5] i2c: pxa: prepare/unprepare clocks

2014-11-17 Thread Dmitry Eremin-Solenikov
Change clk_enable/disable() calls to clk_prepare_enable() and clk_disable_unprepare(). Signed-off-by: Dmitry Eremin-Solenikov --- drivers/i2c/busses/i2c-pxa.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/i2c/busses/i2c-pxa.c b/drivers/i2c/busses/i2c-pxa.c

[PATCH V2 1/5] serial: pxa: prepare/unprepare clocks

2014-11-17 Thread Dmitry Eremin-Solenikov
Change clk_enable/disable() calls to clk_prepare_enable() and clk_disable_unprepare(). Signed-off-by: Dmitry Eremin-Solenikov --- drivers/tty/serial/pxa.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/tty/serial/pxa.c b/drivers/tty/serial/pxa.c index 21b7d8b8

[PATCH V2 3/5] usb: gadget: pxa25x_udc: prepare/unprepare clocks in pxa-ssp

2014-11-17 Thread Dmitry Eremin-Solenikov
Change clk_enable/disable() calls to clk_prepare_enable() and clk_disable_unprepare(). Signed-off-by: Dmitry Eremin-Solenikov --- drivers/usb/gadget/udc/pxa25x_udc.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/usb/gadget/udc/pxa25x_udc.c b/drivers/usb

[PATCH V2 4/5] mfd: t7l66xb: prepare/unprepare clocks

2014-11-17 Thread Dmitry Eremin-Solenikov
Change clk_enable/disable() calls to clk_prepare_enable() and clk_disable_unprepare(). Signed-off-by: Dmitry Eremin-Solenikov --- drivers/mfd/t7l66xb.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/mfd/t7l66xb.c b/drivers/mfd/t7l66xb.c index 9e04a74

[PATCH V2 5/5] mfd: tc6387xb: prepare/unprepare clocks

2014-11-17 Thread Dmitry Eremin-Solenikov
Change clk_enable/disable() calls to clk_prepare_enable() and clk_disable_unprepare(). Signed-off-by: Dmitry Eremin-Solenikov --- drivers/mfd/tc6387xb.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/mfd/tc6387xb.c b/drivers/mfd/tc6387xb.c index e71f880

[PATCH 1/2] usb: gadget: pxa25x_udc: prepare/unprepare clocks in pxa-ssp

2014-11-15 Thread Dmitry Eremin-Solenikov
Change clk_enable/disable() calls to clk_prepare_enable() and clk_disable_unrepapre(). Signed-off-by: Dmitry Eremin-Solenikov --- drivers/usb/gadget/udc/pxa25x_udc.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/usb/gadget/udc/pxa25x_udc.c b/drivers/usb

[PATCH 2/2] usb: gadget: pxa27x_udc: prepare/unprepare clocks in pxa-ssp

2014-11-15 Thread Dmitry Eremin-Solenikov
Change clk_enable/disable() calls to clk_prepare_enable() and clk_disable_unrepapre(). Signed-off-by: Dmitry Eremin-Solenikov --- drivers/usb/gadget/udc/pxa27x_udc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/usb/gadget/udc/pxa27x_udc.c b/drivers/usb/gadget

Re: host/ohci-tmio.c:104: possible novice coding error ?

2014-07-10 Thread Dmitry Eremin-Solenikov
Hello, On Thu, Jul 10, 2014 at 7:53 PM, Alan Stern wrote: > On Thu, 10 Jul 2014, David Binderman wrote: > >> Hello there, >> >> [linux-3.16-rc4/drivers/usb/host/ohci-tmio.c:104]: (warning) Redundant >> bitwise operation on 'pm' in 'switch' statement. 'break;' missing? >> >> switch (ohci->num