Re: [PATCH,RFC] usb: add devicetree helpers for determining dr_mode and phy_type

2013-02-01 Thread Peter Chen
On Fri, Feb 01, 2013 at 07:58:34AM +0100, Sascha Hauer wrote: On Fri, Feb 01, 2013 at 09:11:54AM +0800, Peter Chen wrote: On Thu, Jan 31, 2013 at 11:29:13AM +0100, Sascha Hauer wrote: On Thu, Jan 31, 2013 at 10:05:44AM +0800, Peter Chen wrote: On Wed, Jan 30, 2013 at 03:00:15PM +0100

Re: [PATCH,RFC] usb: add devicetree helpers for determining dr_mode and phy_type

2013-01-31 Thread Peter Chen
On Thu, Jan 31, 2013 at 11:29:13AM +0100, Sascha Hauer wrote: On Thu, Jan 31, 2013 at 10:05:44AM +0800, Peter Chen wrote: On Wed, Jan 30, 2013 at 03:00:15PM +0100, Sascha Hauer wrote: On Wed, Jan 30, 2013 at 10:06:28AM +0800, Peter Chen wrote: On Tue, Jan 29, 2013 at 01:55:04PM +0200

Re: [PATCH,RFC] usb: add devicetree helpers for determining dr_mode and phy_type

2013-01-30 Thread Peter Chen
On Wed, Jan 30, 2013 at 03:00:15PM +0100, Sascha Hauer wrote: On Wed, Jan 30, 2013 at 10:06:28AM +0800, Peter Chen wrote: On Tue, Jan 29, 2013 at 01:55:04PM +0200, Alexander Shishkin wrote: Sascha Hauer s.ha...@pengutronix.de writes: From: Michael Grzeschik m.grzesc...@pengutronix.de

Re: [PATCH,RFC] usb: add devicetree helpers for determining dr_mode and phy_type

2013-01-29 Thread Peter Chen
of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html -- Best Regards, Peter Chen ___ devicetree-discuss mailing list devicetree-discuss@lists.ozlabs.org https://lists.ozlabs.org/listinfo/devicetree

[PATCH v4 1/1] ARM i.MX6: change mxs usbphy clock usage

2013-01-17 Thread Peter Chen
needs to enable it after system boots up. - usbphy1 and usbphy2 Usage reserved bit for this clock, in that case, the refcount will be updated, but without hardware changing. Signed-off-by: Peter Chen peter.c...@freescale.com --- Changes for v4: - Add usbphy1_gate and usbphy2_gate to binding doc Besides

Re: [PATCH v2 1/4] ARM i.MX6: use reserved bit for mxs phy clock gate

2013-01-15 Thread Peter Chen
On Wed, Jan 16, 2013 at 09:48:57AM +0800, Shawn Guo wrote: On Wed, Jan 16, 2013 at 09:18:46AM +0800, Peter Chen wrote: On Tue, Jan 15, 2013 at 07:33:16PM +0800, Shawn Guo wrote: On Tue, Jan 15, 2013 at 02:08:34PM +0800, Peter Chen wrote: For mxs-phy user i.mx6q, the PHY's clock

[PATCH v2 1/4] ARM i.MX6: use reserved bit for mxs phy clock gate

2013-01-14 Thread Peter Chen
if it is off or on. - Use reserved bit, in that case, clk_enable/disable will only update refcount, but without any hardware effects. Signed-off-by: Peter Chen peter.c...@freescale.com --- Changes for v2: - Use reserved bit for usb phy clk control arch/arm/mach-imx/clk-imx6q.c | 10 -- 1 files

[PATCH v2 2/4] usb: mxs-phy: change clock usage for i.mx6q

2013-01-14 Thread Peter Chen
for i.mx6q. Signed-off-by: Peter Chen peter.c...@freescale.com --- Changes for v2: - Only control gate bit for phy clk control - Only open the gate at probe, and close the gate at remove Documentation/devicetree/bindings/usb/mxs-phy.txt |2 + arch/arm/boot/dts/imx6q.dtsi |2

[PATCH v2 3/4] usb: mxs-phy: add set_suspend API

2013-01-14 Thread Peter Chen
It needs to call set_suspend during USB suspend/resume Signed-off-by: Peter Chen peter.c...@freescale.com --- drivers/usb/otg/mxs-phy.c | 20 1 files changed, 20 insertions(+), 0 deletions(-) diff --git a/drivers/usb/otg/mxs-phy.c b/drivers/usb/otg/mxs-phy.c index 49727dd

[PATCH v2 4/4] usb: chipidea: imx: Add system suspend/resume API

2013-01-14 Thread Peter Chen
During the system suspend/resume procedure, the USB also needs to go suspend/resume procedure, this patch adds related APIs. It is tested at i.mx6q sabrelite. Meanwhile, it fixes the bug that the USB will out of work after system suspend/resume. Signed-off-by: Peter Chen peter.c...@freescale.com

[PATCH 4/4] usb: chipidea: imx: Add system suspend/resume API

2013-01-10 Thread Peter Chen
During the system suspend/resume procedure, the USB also needs to go suspend/resume procedure, this patch adds related APIs. It is tested at i.mx6q sabrelite. Meanwhile, it fixes the bug that the USB will out of work after system suspend/resume. Signed-off-by: Peter Chen peter.c...@freescale.com

Re: [PATCH 6/9] usb: chipidea: add PTW and PTS handling

2012-11-27 Thread Peter Chen
. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0| Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917- | -- Best Regards, Peter Chen

Re: [PATCH v4 0/6] support other fsl SoCs with usbmisc + small fixes

2012-11-27 Thread Peter Chen
this series: https://github.com/hzpeterchen/linux-usb.git I have tested it at i.mx6q sabrelite board, it works good. I have pushed your commit to my git, please cc me your coming chipidea patches, thanks. Alex, please add: Reviewed-by: Peter Chen peter.c...@freescale.com Tested-by: Peter Chen

Re: [PATCH 2/9] usb: chipidea: ci13xxx_imx: add 2nd and 3rd clock to support imx5x and newer

2012-11-26 Thread Peter Chen
Regards, Peter Chen ___ devicetree-discuss mailing list devicetree-discuss@lists.ozlabs.org https://lists.ozlabs.org/listinfo/devicetree-discuss

Re: [PATCH 4/9] usb: chipidea: ci13xxx-imx: add dr_mode property to device tree bindings

2012-11-26 Thread Peter Chen
majordomo info at http://vger.kernel.org/majordomo-info.html -- Best Regards, Peter Chen ___ devicetree-discuss mailing list devicetree-discuss@lists.ozlabs.org https://lists.ozlabs.org/listinfo/devicetree-discuss

Re: [PATCH 5/9] usb: add phy connection by phy-mode

2012-11-26 Thread Peter Chen
, + [USBPHY_INTERFACE_MODE_UTMIW] = utmiw, + [USBPHY_INTERFACE_MODE_ULPI]= ulpi, + [USBPHY_INTERFACE_MODE_SERIAL] = fsls, fsls? or should be serial? +}; + Best Regards, Peter Chen ___ devicetree-discuss mailing list devicetree-discuss

Re: [PATCH 6/9] usb: chipidea: add PTW and PTS handling

2012-11-26 Thread Peter Chen
ci13xxx_platform_data *pdata); + #endif -- 1.7.10.4 -- 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/majordomo-info.html -- Best Regards, Peter Chen

Re: [PATCH 2/9] usb: chipidea: ci13xxx_imx: add 2nd and 3rd clock to support imx5x and newer

2012-11-26 Thread Peter Chen
On Mon, Nov 26, 2012 at 11:22:32AM +0100, Sascha Hauer wrote: On Mon, Nov 26, 2012 at 05:29:31PM +0800, Peter Chen wrote: On Wed, Nov 14, 2012 at 05:19:03PM +0100, Michael Grzeschik wrote: This patch adds support for a second and third clock to the chipidea driver. On modern freescale

Re: [PATCH v3 6/7] usb: chipidea: usbmisc: add mx53 support

2012-11-25 Thread Peter Chen
On Fri, Nov 23, 2012 at 08:39:39AM +0100, Sascha Hauer wrote: On Fri, Nov 23, 2012 at 02:53:41PM +0800, Peter Chen wrote: On Wed, Nov 21, 2012 at 03:06:32PM +0100, Michael Grzeschik wrote: This adds mx53 as the next user of the usbmisc driver and makes it possible to disable

Re: [PATCH v3 6/7] usb: chipidea: usbmisc: add mx53 support

2012-11-25 Thread Peter Chen
On Fri, Nov 23, 2012 at 11:02:13AM +0100, Marc Kleine-Budde wrote: On 11/23/2012 07:53 AM, Peter Chen wrote: On Wed, Nov 21, 2012 at 03:06:32PM +0100, Michael Grzeschik wrote: This adds mx53 as the next user of the usbmisc driver and makes it possible to disable the overcurrent-detection

Re: [PATCH v3 5/7] usb: chipidea: usbmisc: add support for ahb, ipg and per clock

2012-11-25 Thread Peter Chen
| http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0| Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917- | -- Best Regards, Peter Chen ___ devicetree-discuss mailing list

Re: [PATCH v3 0/7] support other fsl SoCs with usbmisc + small fixes

2012-11-23 Thread Peter Chen
: usbmisc: add post handling and errata fix for mx25 Cc'ing Peter Chen, in case he didn't see this. Peter, can you have a look and give your Tested-by/Reviewed-by where appropriate? OK, I will have a look tomorrow or the beginning of next week. Regards, -- Alex -- Best Regards, Peter Chen

Re: [PATCH v3 3/7] usb: chipidea: usbmisc: fix a potential race condition

2012-11-23 Thread Peter Chen
; } -- 1.7.10.4 -- 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/majordomo-info.html -- Best Regards, Peter Chen ___ devicetree

Re: [PATCH v3 5/7] usb: chipidea: usbmisc: add support for ahb, ipg and per clock

2012-11-23 Thread Peter Chen
unsubscribe linux-usb in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html -- Best Regards, Peter Chen ___ devicetree-discuss mailing list devicetree-discuss@lists.ozlabs.org https

Re: [PATCH v3 6/7] usb: chipidea: usbmisc: add mx53 support

2012-11-23 Thread Peter Chen
-- Best Regards, Peter Chen ___ devicetree-discuss mailing list devicetree-discuss@lists.ozlabs.org https://lists.ozlabs.org/listinfo/devicetree-discuss

Re: [PATCH v3 7/7] usb: chipidea: usbmisc: add post handling and errata fix for mx25

2012-11-23 Thread Peter Chen
*/ } -- 1.7.10.4 -- 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/majordomo-info.html -- Best Regards, Peter Chen ___ devicetree