linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] USB chipidea i.MX: use framework phy handling
@ 2013-01-31 11:32 Sascha Hauer
  2013-01-31 11:32 ` [PATCH 1/2] USB mxs-phy: Register phy with framework Sascha Hauer
                   ` (2 more replies)
  0 siblings, 3 replies; 15+ messages in thread
From: Sascha Hauer @ 2013-01-31 11:32 UTC (permalink / raw)
  To: linux-arm-kernel

This series switches the mxs phy and the i.MX chipidea support
from homegrew phy support to use usb_add_phy_dev/devm_usb_get_phy_by_phandle.

Based on

[PATCH v2] Add USB of helpers and use them in the chipidea driver

But I think this could also be applied separately if necessary.

Sascha

----------------------------------------------------------------
Sascha Hauer (2):
      USB mxs-phy: Register phy with framework
      USB chipidea i.MX: use devm_usb_get_phy_by_phandle to get phy

 drivers/usb/chipidea/ci13xxx_imx.c |   31 ++++++++++---------------------
 drivers/usb/otg/mxs-phy.c          |    9 +++++++++
 2 files changed, 19 insertions(+), 21 deletions(-)

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [PATCH 1/2] USB mxs-phy: Register phy with framework
  2013-01-31 11:32 [PATCH] USB chipidea i.MX: use framework phy handling Sascha Hauer
@ 2013-01-31 11:32 ` Sascha Hauer
  2013-01-31 14:14   ` kishon
                     ` (2 more replies)
  2013-01-31 11:32 ` [PATCH 2/2] USB chipidea i.MX: use devm_usb_get_phy_by_phandle to get phy Sascha Hauer
  2013-02-01  7:36 ` [PATCH] USB chipidea i.MX: use framework phy handling Sascha Hauer
  2 siblings, 3 replies; 15+ messages in thread
From: Sascha Hauer @ 2013-01-31 11:32 UTC (permalink / raw)
  To: linux-arm-kernel

We now have usb_add_phy_dev(), so use it to register with the framework
to be able to find the phy from the USB driver.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
 drivers/usb/otg/mxs-phy.c |    9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/drivers/usb/otg/mxs-phy.c b/drivers/usb/otg/mxs-phy.c
index 5158332..5b39885 100644
--- a/drivers/usb/otg/mxs-phy.c
+++ b/drivers/usb/otg/mxs-phy.c
@@ -127,6 +127,7 @@ static int mxs_phy_probe(struct platform_device *pdev)
 	void __iomem *base;
 	struct clk *clk;
 	struct mxs_phy *mxs_phy;
+	int ret;
 
 	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
 	if (!res) {
@@ -166,11 +167,19 @@ static int mxs_phy_probe(struct platform_device *pdev)
 
 	platform_set_drvdata(pdev, &mxs_phy->phy);
 
+	ret = usb_add_phy_dev(&mxs_phy->phy);
+	if (ret)
+		return ret;
+
 	return 0;
 }
 
 static int mxs_phy_remove(struct platform_device *pdev)
 {
+	struct mxs_phy *mxs_phy = platform_get_drvdata(pdev);
+
+	usb_remove_phy(&mxs_phy->phy);
+
 	platform_set_drvdata(pdev, NULL);
 
 	return 0;
-- 
1.7.10.4

^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [PATCH 2/2] USB chipidea i.MX: use devm_usb_get_phy_by_phandle to get phy
  2013-01-31 11:32 [PATCH] USB chipidea i.MX: use framework phy handling Sascha Hauer
  2013-01-31 11:32 ` [PATCH 1/2] USB mxs-phy: Register phy with framework Sascha Hauer
@ 2013-01-31 11:32 ` Sascha Hauer
  2013-01-31 14:13   ` kishon
  2013-02-01  7:36 ` [PATCH] USB chipidea i.MX: use framework phy handling Sascha Hauer
  2 siblings, 1 reply; 15+ messages in thread
From: Sascha Hauer @ 2013-01-31 11:32 UTC (permalink / raw)
  To: linux-arm-kernel

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
 drivers/usb/chipidea/ci13xxx_imx.c |   31 ++++++++++---------------------
 1 file changed, 10 insertions(+), 21 deletions(-)

diff --git a/drivers/usb/chipidea/ci13xxx_imx.c b/drivers/usb/chipidea/ci13xxx_imx.c
index b598bb8f..1df4b41 100644
--- a/drivers/usb/chipidea/ci13xxx_imx.c
+++ b/drivers/usb/chipidea/ci13xxx_imx.c
@@ -30,7 +30,6 @@
 	((struct usb_phy *)platform_get_drvdata(pdev))
 
 struct ci13xxx_imx_data {
-	struct device_node *phy_np;
 	struct usb_phy *phy;
 	struct platform_device *ci_pdev;
 	struct clk *clk;
@@ -90,12 +89,12 @@ static int ci13xxx_imx_probe(struct platform_device *pdev)
 {
 	struct ci13xxx_imx_data *data;
 	struct ci13xxx_platform_data *pdata;
-	struct platform_device *plat_ci, *phy_pdev;
-	struct device_node *phy_np;
+	struct platform_device *plat_ci;
 	struct resource *res;
 	struct regulator *reg_vbus;
 	struct pinctrl *pinctrl;
 	int ret;
+	struct usb_phy *phy;
 
 	if (of_find_property(pdev->dev.of_node, "fsl,usbmisc", NULL)
 		&& !usbmisc_ops)
@@ -147,18 +146,12 @@ static int ci13xxx_imx_probe(struct platform_device *pdev)
 		return ret;
 	}
 
-	phy_np = of_parse_phandle(pdev->dev.of_node, "fsl,usbphy", 0);
-	if (phy_np) {
-		data->phy_np = phy_np;
-		phy_pdev = of_find_device_by_node(phy_np);
-		if (phy_pdev) {
-			struct usb_phy *phy;
-			phy = pdev_to_phy(phy_pdev);
-			if (phy &&
-			    try_module_get(phy_pdev->dev.driver->owner)) {
-				usb_phy_init(phy);
-				data->phy = phy;
-			}
+	phy = devm_usb_get_phy_by_phandle(&pdev->dev, "fsl,usbphy", 0);
+	if (!IS_ERR(phy)) {
+		ret = usb_phy_init(phy);
+		if (ret) {
+			dev_err(&pdev->dev, "unable to init phy: %d\n", ret);
+			goto err_clk;
 		}
 	}
 
@@ -170,7 +163,7 @@ static int ci13xxx_imx_probe(struct platform_device *pdev)
 			dev_err(&pdev->dev,
 				"Failed to enable vbus regulator, err=%d\n",
 				ret);
-			goto put_np;
+			goto err_clk;
 		}
 		data->reg_vbus = reg_vbus;
 	} else {
@@ -222,9 +215,7 @@ static int ci13xxx_imx_probe(struct platform_device *pdev)
 err:
 	if (reg_vbus)
 		regulator_disable(reg_vbus);
-put_np:
-	if (phy_np)
-		of_node_put(phy_np);
+err_clk:
 	clk_disable_unprepare(data->clk);
 	return ret;
 }
@@ -244,8 +235,6 @@ static int ci13xxx_imx_remove(struct platform_device *pdev)
 		module_put(data->phy->dev->driver->owner);
 	}
 
-	of_node_put(data->phy_np);
-
 	clk_disable_unprepare(data->clk);
 
 	platform_set_drvdata(pdev, NULL);
-- 
1.7.10.4

^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [PATCH 2/2] USB chipidea i.MX: use devm_usb_get_phy_by_phandle to get phy
  2013-01-31 11:32 ` [PATCH 2/2] USB chipidea i.MX: use devm_usb_get_phy_by_phandle to get phy Sascha Hauer
@ 2013-01-31 14:13   ` kishon
  2013-02-01  1:16     ` Peter Chen
  0 siblings, 1 reply; 15+ messages in thread
From: kishon @ 2013-01-31 14:13 UTC (permalink / raw)
  To: linux-arm-kernel

Hi,

On Thursday 31 January 2013 05:02 PM, Sascha Hauer wrote:
> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Some maintainers don't accept patches without a commit message.

Apart from that you can add,
Reviewed-by: Kishon Vijay Abraham I <kishon@ti.com>

Thanks
Kishon

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [PATCH 1/2] USB mxs-phy: Register phy with framework
  2013-01-31 11:32 ` [PATCH 1/2] USB mxs-phy: Register phy with framework Sascha Hauer
@ 2013-01-31 14:14   ` kishon
  2013-02-01  1:16   ` Peter Chen
  2013-02-14 10:37   ` Felipe Balbi
  2 siblings, 0 replies; 15+ messages in thread
From: kishon @ 2013-01-31 14:14 UTC (permalink / raw)
  To: linux-arm-kernel

On Thursday 31 January 2013 05:02 PM, Sascha Hauer wrote:
> We now have usb_add_phy_dev(), so use it to register with the framework
> to be able to find the phy from the USB driver.
>
> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Reviewed-by: Kishon Vijay Abraham I <kishon@ti.com>
> ---
>   drivers/usb/otg/mxs-phy.c |    9 +++++++++
>   1 file changed, 9 insertions(+)
>
> diff --git a/drivers/usb/otg/mxs-phy.c b/drivers/usb/otg/mxs-phy.c
> index 5158332..5b39885 100644
> --- a/drivers/usb/otg/mxs-phy.c
> +++ b/drivers/usb/otg/mxs-phy.c
> @@ -127,6 +127,7 @@ static int mxs_phy_probe(struct platform_device *pdev)
>   	void __iomem *base;
>   	struct clk *clk;
>   	struct mxs_phy *mxs_phy;
> +	int ret;
>
>   	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
>   	if (!res) {
> @@ -166,11 +167,19 @@ static int mxs_phy_probe(struct platform_device *pdev)
>
>   	platform_set_drvdata(pdev, &mxs_phy->phy);
>
> +	ret = usb_add_phy_dev(&mxs_phy->phy);
> +	if (ret)
> +		return ret;
> +
>   	return 0;
>   }
>
>   static int mxs_phy_remove(struct platform_device *pdev)
>   {
> +	struct mxs_phy *mxs_phy = platform_get_drvdata(pdev);
> +
> +	usb_remove_phy(&mxs_phy->phy);
> +
>   	platform_set_drvdata(pdev, NULL);
>
>   	return 0;
>

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [PATCH 2/2] USB chipidea i.MX: use devm_usb_get_phy_by_phandle to get phy
  2013-01-31 14:13   ` kishon
@ 2013-02-01  1:16     ` Peter Chen
  0 siblings, 0 replies; 15+ messages in thread
From: Peter Chen @ 2013-02-01  1:16 UTC (permalink / raw)
  To: linux-arm-kernel

On Thu, Jan 31, 2013 at 07:43:27PM +0530, kishon wrote:
> Hi,
> 
> On Thursday 31 January 2013 05:02 PM, Sascha Hauer wrote:
> >Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
> Some maintainers don't accept patches without a commit message.
> 
> Apart from that you can add,
> Reviewed-by: Kishon Vijay Abraham I <kishon@ti.com>
Reviewed-by: Peter Chen <peter.chen@freescale.com>
> 
> Thanks
> Kishon
> 

-- 

Best Regards,
Peter Chen

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [PATCH 1/2] USB mxs-phy: Register phy with framework
  2013-01-31 11:32 ` [PATCH 1/2] USB mxs-phy: Register phy with framework Sascha Hauer
  2013-01-31 14:14   ` kishon
@ 2013-02-01  1:16   ` Peter Chen
  2013-02-14 10:37   ` Felipe Balbi
  2 siblings, 0 replies; 15+ messages in thread
From: Peter Chen @ 2013-02-01  1:16 UTC (permalink / raw)
  To: linux-arm-kernel

On Thu, Jan 31, 2013 at 12:32:16PM +0100, Sascha Hauer wrote:
> We now have usb_add_phy_dev(), so use it to register with the framework
> to be able to find the phy from the USB driver.
> 
> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
> ---
>  drivers/usb/otg/mxs-phy.c |    9 +++++++++
>  1 file changed, 9 insertions(+)
> 
> diff --git a/drivers/usb/otg/mxs-phy.c b/drivers/usb/otg/mxs-phy.c
> index 5158332..5b39885 100644
> --- a/drivers/usb/otg/mxs-phy.c
> +++ b/drivers/usb/otg/mxs-phy.c
> @@ -127,6 +127,7 @@ static int mxs_phy_probe(struct platform_device *pdev)
>  	void __iomem *base;
>  	struct clk *clk;
>  	struct mxs_phy *mxs_phy;
> +	int ret;
>  
>  	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
>  	if (!res) {
> @@ -166,11 +167,19 @@ static int mxs_phy_probe(struct platform_device *pdev)
>  
>  	platform_set_drvdata(pdev, &mxs_phy->phy);
>  
> +	ret = usb_add_phy_dev(&mxs_phy->phy);
> +	if (ret)
> +		return ret;
> +
>  	return 0;
>  }
>  
>  static int mxs_phy_remove(struct platform_device *pdev)
>  {
> +	struct mxs_phy *mxs_phy = platform_get_drvdata(pdev);
> +
> +	usb_remove_phy(&mxs_phy->phy);
> +
>  	platform_set_drvdata(pdev, NULL);
>  
>  	return 0;
Reviewed-by: Peter Chen <peter.chen@freescale.com>

-- 

Best Regards,
Peter Chen

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [PATCH] USB chipidea i.MX: use framework phy handling
  2013-01-31 11:32 [PATCH] USB chipidea i.MX: use framework phy handling Sascha Hauer
  2013-01-31 11:32 ` [PATCH 1/2] USB mxs-phy: Register phy with framework Sascha Hauer
  2013-01-31 11:32 ` [PATCH 2/2] USB chipidea i.MX: use devm_usb_get_phy_by_phandle to get phy Sascha Hauer
@ 2013-02-01  7:36 ` Sascha Hauer
  2013-02-01 12:38   ` Peter Chen
  2 siblings, 1 reply; 15+ messages in thread
From: Sascha Hauer @ 2013-02-01  7:36 UTC (permalink / raw)
  To: linux-arm-kernel

On Thu, Jan 31, 2013 at 12:32:15PM +0100, Sascha Hauer wrote:
> This series switches the mxs phy and the i.MX chipidea support
> from homegrew phy support to use usb_add_phy_dev/devm_usb_get_phy_by_phandle.
> 
> Based on
> 
> [PATCH v2] Add USB of helpers and use them in the chipidea driver
> 
> But I think this could also be applied separately if necessary.

Kishon, Peter,

Thanks for reviewing these, but I'm afraid I must send another iteration
for these. These patches do not handle -EPROBE_DEFER correctly.

Sascha

-- 
Pengutronix e.K.                           |                             |
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-5555 |

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [PATCH] USB chipidea i.MX: use framework phy handling
  2013-02-01  7:36 ` [PATCH] USB chipidea i.MX: use framework phy handling Sascha Hauer
@ 2013-02-01 12:38   ` Peter Chen
  0 siblings, 0 replies; 15+ messages in thread
From: Peter Chen @ 2013-02-01 12:38 UTC (permalink / raw)
  To: linux-arm-kernel

On Fri, Feb 01, 2013 at 08:36:14AM +0100, Sascha Hauer wrote:
> On Thu, Jan 31, 2013 at 12:32:15PM +0100, Sascha Hauer wrote:
> > This series switches the mxs phy and the i.MX chipidea support
> > from homegrew phy support to use usb_add_phy_dev/devm_usb_get_phy_by_phandle.
> > 
> > Based on
> > 
> > [PATCH v2] Add USB of helpers and use them in the chipidea driver
> > 
> > But I think this could also be applied separately if necessary.
> 
> Kishon, Peter,
> 
> Thanks for reviewing these, but I'm afraid I must send another iteration
> for these. These patches do not handle -EPROBE_DEFER correctly.
which patch you have added handle -EPROBE_DEFER at v3?
> 
> Sascha
> 
> -- 
> Pengutronix e.K.                           |                             |
> 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-5555 |
> 

-- 

Best Regards,
Peter Chen

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [PATCH 1/2] USB mxs-phy: Register phy with framework
  2013-01-31 11:32 ` [PATCH 1/2] USB mxs-phy: Register phy with framework Sascha Hauer
  2013-01-31 14:14   ` kishon
  2013-02-01  1:16   ` Peter Chen
@ 2013-02-14 10:37   ` Felipe Balbi
  2013-02-14 16:23     ` Sascha Hauer
  2 siblings, 1 reply; 15+ messages in thread
From: Felipe Balbi @ 2013-02-14 10:37 UTC (permalink / raw)
  To: linux-arm-kernel

Hi,

On Thu, Jan 31, 2013 at 12:32:16PM +0100, Sascha Hauer wrote:
> We now have usb_add_phy_dev(), so use it to register with the framework
> to be able to find the phy from the USB driver.
> 
> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>

Sascha, are you taking this through your tree or you want me to queue it
up ?

If you want to take it:

Acked-by: Felipe Balbi <balbi@ti.com>

-- 
balbi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20130214/3b0a8117/attachment.sig>

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [PATCH 1/2] USB mxs-phy: Register phy with framework
  2013-02-14 10:37   ` Felipe Balbi
@ 2013-02-14 16:23     ` Sascha Hauer
  2013-02-14 18:00       ` Felipe Balbi
  0 siblings, 1 reply; 15+ messages in thread
From: Sascha Hauer @ 2013-02-14 16:23 UTC (permalink / raw)
  To: linux-arm-kernel

On Thu, Feb 14, 2013 at 12:37:29PM +0200, Felipe Balbi wrote:
> Hi,
> 
> On Thu, Jan 31, 2013 at 12:32:16PM +0100, Sascha Hauer wrote:
> > We now have usb_add_phy_dev(), so use it to register with the framework
> > to be able to find the phy from the USB driver.
> > 
> > Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
> 
> Sascha, are you taking this through your tree or you want me to queue it
> up ?

I would prefer if either you could take it or Alexander Shishkin along
with the other patches in:

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

Could you have a look at them? Alexander is asking for an ack for 1/9,
2/9, 3/9, 8/9. I just realized you are not on Cc for these. I could
bounce you the patches in case you don't have them in your mailbox.

Thanks
 Sascha

-- 
Pengutronix e.K.                           |                             |
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-5555 |

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [PATCH 1/2] USB mxs-phy: Register phy with framework
  2013-02-14 16:23     ` Sascha Hauer
@ 2013-02-14 18:00       ` Felipe Balbi
  2013-02-14 18:43         ` Sascha Hauer
  0 siblings, 1 reply; 15+ messages in thread
From: Felipe Balbi @ 2013-02-14 18:00 UTC (permalink / raw)
  To: linux-arm-kernel

Hi,

On Thu, Feb 14, 2013 at 05:23:37PM +0100, Sascha Hauer wrote:
> On Thu, Feb 14, 2013 at 12:37:29PM +0200, Felipe Balbi wrote:
> > Hi,
> > 
> > On Thu, Jan 31, 2013 at 12:32:16PM +0100, Sascha Hauer wrote:
> > > We now have usb_add_phy_dev(), so use it to register with the framework
> > > to be able to find the phy from the USB driver.
> > > 
> > > Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
> > 
> > Sascha, are you taking this through your tree or you want me to queue it
> > up ?
> 
> I would prefer if either you could take it or Alexander Shishkin along
> with the other patches in:
> 
> [PATCH v4] USB: add devicetree helpers for determining dr_mode and phy_type
> 
> Could you have a look at them? Alexander is asking for an ack for 1/9,
> 2/9, 3/9, 8/9. I just realized you are not on Cc for these. I could
> bounce you the patches in case you don't have them in your mailbox.

Ok, I'll look at them, no need to bounce. You _do_ realize, however,
that Greg has already closed all his trees for v3.9, right ? So anything
from now on will be queued for v3.10.

-- 
balbi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20130214/4b0d1f36/attachment.sig>

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [PATCH 1/2] USB mxs-phy: Register phy with framework
  2013-02-14 18:00       ` Felipe Balbi
@ 2013-02-14 18:43         ` Sascha Hauer
  2013-02-27  8:10           ` Felipe Balbi
  0 siblings, 1 reply; 15+ messages in thread
From: Sascha Hauer @ 2013-02-14 18:43 UTC (permalink / raw)
  To: linux-arm-kernel

On Thu, Feb 14, 2013 at 08:00:11PM +0200, Felipe Balbi wrote:
> Hi,
> 
> On Thu, Feb 14, 2013 at 05:23:37PM +0100, Sascha Hauer wrote:
> > On Thu, Feb 14, 2013 at 12:37:29PM +0200, Felipe Balbi wrote:
> > > Hi,
> > > 
> > > On Thu, Jan 31, 2013 at 12:32:16PM +0100, Sascha Hauer wrote:
> > > > We now have usb_add_phy_dev(), so use it to register with the framework
> > > > to be able to find the phy from the USB driver.
> > > > 
> > > > Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
> > > 
> > > Sascha, are you taking this through your tree or you want me to queue it
> > > up ?
> > 
> > I would prefer if either you could take it or Alexander Shishkin along
> > with the other patches in:
> > 
> > [PATCH v4] USB: add devicetree helpers for determining dr_mode and phy_type
> > 
> > Could you have a look at them? Alexander is asking for an ack for 1/9,
> > 2/9, 3/9, 8/9. I just realized you are not on Cc for these. I could
> > bounce you the patches in case you don't have them in your mailbox.
> 
> Ok, I'll look at them, no need to bounce. You _do_ realize, however,
> that Greg has already closed all his trees for v3.9, right ? So anything
> from now on will be queued for v3.10.

I'm fine with that. I'm just a bit insistent because the chipidea patches are
floating around for half a year now. Once I have the warm feeling that
the patches are handled I have time ;)

Thanks
 Sascha


-- 
Pengutronix e.K.                           |                             |
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-5555 |

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [PATCH 1/2] USB mxs-phy: Register phy with framework
  2013-02-14 18:43         ` Sascha Hauer
@ 2013-02-27  8:10           ` Felipe Balbi
  2013-02-27  9:22             ` Marc Kleine-Budde
  0 siblings, 1 reply; 15+ messages in thread
From: Felipe Balbi @ 2013-02-27  8:10 UTC (permalink / raw)
  To: linux-arm-kernel

On Thu, Feb 14, 2013 at 07:43:54PM +0100, Sascha Hauer wrote:
> On Thu, Feb 14, 2013 at 08:00:11PM +0200, Felipe Balbi wrote:
> > Hi,
> > 
> > On Thu, Feb 14, 2013 at 05:23:37PM +0100, Sascha Hauer wrote:
> > > On Thu, Feb 14, 2013 at 12:37:29PM +0200, Felipe Balbi wrote:
> > > > Hi,
> > > > 
> > > > On Thu, Jan 31, 2013 at 12:32:16PM +0100, Sascha Hauer wrote:
> > > > > We now have usb_add_phy_dev(), so use it to register with the framework
> > > > > to be able to find the phy from the USB driver.
> > > > > 
> > > > > Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
> > > > 
> > > > Sascha, are you taking this through your tree or you want me to queue it
> > > > up ?
> > > 
> > > I would prefer if either you could take it or Alexander Shishkin along
> > > with the other patches in:
> > > 
> > > [PATCH v4] USB: add devicetree helpers for determining dr_mode and phy_type
> > > 
> > > Could you have a look at them? Alexander is asking for an ack for 1/9,
> > > 2/9, 3/9, 8/9. I just realized you are not on Cc for these. I could
> > > bounce you the patches in case you don't have them in your mailbox.
> > 
> > Ok, I'll look at them, no need to bounce. You _do_ realize, however,
> > that Greg has already closed all his trees for v3.9, right ? So anything
> > from now on will be queued for v3.10.
> 
> I'm fine with that. I'm just a bit insistent because the chipidea patches are
> floating around for half a year now. Once I have the warm feeling that
> the patches are handled I have time ;)

I'm getting ready to queue patches but, when looking at this thread, it
seems like another version should've been sent. I'll skip this and look
at the other chipidea threads,

cheers

-- 
balbi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20130227/7fbb38c0/attachment.sig>

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [PATCH 1/2] USB mxs-phy: Register phy with framework
  2013-02-27  8:10           ` Felipe Balbi
@ 2013-02-27  9:22             ` Marc Kleine-Budde
  0 siblings, 0 replies; 15+ messages in thread
From: Marc Kleine-Budde @ 2013-02-27  9:22 UTC (permalink / raw)
  To: linux-arm-kernel

On 02/27/2013 09:10 AM, Felipe Balbi wrote:
> On Thu, Feb 14, 2013 at 07:43:54PM +0100, Sascha Hauer wrote:
>> On Thu, Feb 14, 2013 at 08:00:11PM +0200, Felipe Balbi wrote:
>>> Hi,
>>>
>>> On Thu, Feb 14, 2013 at 05:23:37PM +0100, Sascha Hauer wrote:
>>>> On Thu, Feb 14, 2013 at 12:37:29PM +0200, Felipe Balbi wrote:
>>>>> Hi,
>>>>>
>>>>> On Thu, Jan 31, 2013 at 12:32:16PM +0100, Sascha Hauer wrote:
>>>>>> We now have usb_add_phy_dev(), so use it to register with the framework
>>>>>> to be able to find the phy from the USB driver.
>>>>>>
>>>>>> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
>>>>>
>>>>> Sascha, are you taking this through your tree or you want me to queue it
>>>>> up ?
>>>>
>>>> I would prefer if either you could take it or Alexander Shishkin along
>>>> with the other patches in:
>>>>
>>>> [PATCH v4] USB: add devicetree helpers for determining dr_mode and phy_type
>>>>
>>>> Could you have a look at them? Alexander is asking for an ack for 1/9,
>>>> 2/9, 3/9, 8/9. I just realized you are not on Cc for these. I could
>>>> bounce you the patches in case you don't have them in your mailbox.
>>>
>>> Ok, I'll look at them, no need to bounce. You _do_ realize, however,
>>> that Greg has already closed all his trees for v3.9, right ? So anything
>>> from now on will be queued for v3.10.
>>
>> I'm fine with that. I'm just a bit insistent because the chipidea patches are
>> floating around for half a year now. Once I have the warm feeling that
>> the patches are handled I have time ;)
> 
> I'm getting ready to queue patches but, when looking at this thread, it
> seems like another version should've been sent. I'll skip this and look
> at the other chipidea threads,

I'm currently rebasing Saschas patches to Greg's usb-net.

Marc

---
Pengutronix e.K.                  | Marc Kleine-Budde           |
Industrial Linux Solutions        | Phone: +49-231-2826-924     |
Vertretung West/Dortmund          | Fax:   +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686  | http://www.pengutronix.de   |

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 263 bytes
Desc: OpenPGP digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20130227/2b8b8b74/attachment.sig>

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2013-02-27  9:22 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-31 11:32 [PATCH] USB chipidea i.MX: use framework phy handling Sascha Hauer
2013-01-31 11:32 ` [PATCH 1/2] USB mxs-phy: Register phy with framework Sascha Hauer
2013-01-31 14:14   ` kishon
2013-02-01  1:16   ` Peter Chen
2013-02-14 10:37   ` Felipe Balbi
2013-02-14 16:23     ` Sascha Hauer
2013-02-14 18:00       ` Felipe Balbi
2013-02-14 18:43         ` Sascha Hauer
2013-02-27  8:10           ` Felipe Balbi
2013-02-27  9:22             ` Marc Kleine-Budde
2013-01-31 11:32 ` [PATCH 2/2] USB chipidea i.MX: use devm_usb_get_phy_by_phandle to get phy Sascha Hauer
2013-01-31 14:13   ` kishon
2013-02-01  1:16     ` Peter Chen
2013-02-01  7:36 ` [PATCH] USB chipidea i.MX: use framework phy handling Sascha Hauer
2013-02-01 12:38   ` Peter Chen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).