devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] usb: chipidea: add CI_HDRC_TURN_VBUS_EARLY_ON for imx23
@ 2015-12-29 16:41 Stefan Wahren
       [not found] ` <1451407269-14905-1-git-send-email-stefan.wahren-eS4NqCHxEME@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Stefan Wahren @ 2015-12-29 16:41 UTC (permalink / raw)
  To: Peter Chen
  Cc: Fabio Estevam, Greg Kroah-Hartman, Rob Herring, Pawel Moll,
	Mark Rutland, linux-usb-u79uwXL29TY76Z2rM5mHXA,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	devicetree-u79uwXL29TY76Z2rM5mHXA, Stefan Wahren

Until now the imx23 uses the imx27 platform flag. But the
imx23 needs the flag CI_HDRC_TURN_VBUS_EARLY_ON, too. So
fix this by adding a separate platform flag.

Suggested-by: Peter Chen <peter.chen-3arQi8VN3Tc@public.gmane.org>
Signed-off-by: Stefan Wahren <stefan.wahren-eS4NqCHxEME@public.gmane.org>
---
 drivers/usb/chipidea/ci_hdrc_imx.c |    6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/drivers/usb/chipidea/ci_hdrc_imx.c b/drivers/usb/chipidea/ci_hdrc_imx.c
index f14f4ab..b4605dd 100644
--- a/drivers/usb/chipidea/ci_hdrc_imx.c
+++ b/drivers/usb/chipidea/ci_hdrc_imx.c
@@ -28,6 +28,11 @@ struct ci_hdrc_imx_platform_flag {
 	bool runtime_pm;
 };
 
+static const struct ci_hdrc_imx_platform_flag imx23_usb_data = {
+	.flags = CI_HDRC_TURN_VBUS_EARLY_ON |
+		CI_HDRC_DISABLE_STREAMING,
+};
+
 static const struct ci_hdrc_imx_platform_flag imx27_usb_data = {
 		CI_HDRC_DISABLE_STREAMING,
 };
@@ -66,6 +71,7 @@ static const struct ci_hdrc_imx_platform_flag imx7d_usb_data = {
 };
 
 static const struct of_device_id ci_hdrc_imx_dt_ids[] = {
+	{ .compatible = "fsl,imx23-usb", .data = &imx23_usb_data},
 	{ .compatible = "fsl,imx28-usb", .data = &imx28_usb_data},
 	{ .compatible = "fsl,imx27-usb", .data = &imx27_usb_data},
 	{ .compatible = "fsl,imx6q-usb", .data = &imx6q_usb_data},
-- 
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* [PATCH 2/2] dt-bindings: ci-hdrc-usb2: add missing compatibles
       [not found] ` <1451407269-14905-1-git-send-email-stefan.wahren-eS4NqCHxEME@public.gmane.org>
@ 2015-12-29 16:41   ` Stefan Wahren
       [not found]     ` <1451407269-14905-2-git-send-email-stefan.wahren-eS4NqCHxEME@public.gmane.org>
  2016-01-17 18:56   ` [PATCH 1/2] usb: chipidea: add CI_HDRC_TURN_VBUS_EARLY_ON for imx23 Stefan Wahren
  1 sibling, 1 reply; 5+ messages in thread
From: Stefan Wahren @ 2015-12-29 16:41 UTC (permalink / raw)
  To: Peter Chen
  Cc: Fabio Estevam, Greg Kroah-Hartman, Rob Herring, Pawel Moll,
	Mark Rutland, linux-usb-u79uwXL29TY76Z2rM5mHXA,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	devicetree-u79uwXL29TY76Z2rM5mHXA, Stefan Wahren

This patch adds the missing compatible strings from ci_hdrc_imx.

Signed-off-by: Stefan Wahren <stefan.wahren-eS4NqCHxEME@public.gmane.org>
---
 .../devicetree/bindings/usb/ci-hdrc-usb2.txt       |    7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.txt b/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.txt
index 781296b..1e83509 100644
--- a/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.txt
+++ b/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.txt
@@ -2,7 +2,14 @@
 
 Required properties:
 - compatible: should be one of:
+	"fsl,imx23-usb"
 	"fsl,imx27-usb"
+	"fsl,imx28-usb"
+	"fsl,imx6q-usb"
+	"fsl,imx6sl-usb"
+	"fsl,imx6sx-usb"
+	"fsl,imx6ul-usb"
+	"fsl,imx7d-usb"
 	"lsi,zevio-usb"
 	"qcom,ci-hdrc"
 	"chipidea,usb2"
-- 
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* Re: [PATCH 2/2] dt-bindings: ci-hdrc-usb2: add missing compatibles
       [not found]     ` <1451407269-14905-2-git-send-email-stefan.wahren-eS4NqCHxEME@public.gmane.org>
@ 2015-12-29 18:49       ` Rob Herring
  0 siblings, 0 replies; 5+ messages in thread
From: Rob Herring @ 2015-12-29 18:49 UTC (permalink / raw)
  To: Stefan Wahren
  Cc: Peter Chen, Fabio Estevam, Greg Kroah-Hartman, Pawel Moll,
	Mark Rutland, linux-usb-u79uwXL29TY76Z2rM5mHXA,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	devicetree-u79uwXL29TY76Z2rM5mHXA

On Tue, Dec 29, 2015 at 04:41:09PM +0000, Stefan Wahren wrote:
> This patch adds the missing compatible strings from ci_hdrc_imx.
> 
> Signed-off-by: Stefan Wahren <stefan.wahren-eS4NqCHxEME@public.gmane.org>
> ---
>  .../devicetree/bindings/usb/ci-hdrc-usb2.txt       |    7 +++++++
>  1 file changed, 7 insertions(+)

Acked-by: Rob Herring <robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* Re: [PATCH 1/2] usb: chipidea: add CI_HDRC_TURN_VBUS_EARLY_ON for imx23
       [not found] ` <1451407269-14905-1-git-send-email-stefan.wahren-eS4NqCHxEME@public.gmane.org>
  2015-12-29 16:41   ` [PATCH 2/2] dt-bindings: ci-hdrc-usb2: add missing compatibles Stefan Wahren
@ 2016-01-17 18:56   ` Stefan Wahren
       [not found]     ` <245634301.105525.a366f7cd-6533-4e6a-9506-5cc94a8288bd.open-xchange-7tX72C7vayboQLBSYMtkGA@public.gmane.org>
  1 sibling, 1 reply; 5+ messages in thread
From: Stefan Wahren @ 2016-01-17 18:56 UTC (permalink / raw)
  To: Peter Chen
  Cc: Greg Kroah-Hartman, Pawel Moll, Rob Herring,
	linux-usb-u79uwXL29TY76Z2rM5mHXA, Mark Rutland,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, Fabio Estevam,
	devicetree-u79uwXL29TY76Z2rM5mHXA

Hi Peter,

> Stefan Wahren <stefan.wahren-eS4NqCHxEME@public.gmane.org> hat am 29. Dezember 2015 um 17:41
> geschrieben:
>
>
> Until now the imx23 uses the imx27 platform flag. But the
> imx23 needs the flag CI_HDRC_TURN_VBUS_EARLY_ON, too. So
> fix this by adding a separate platform flag.
>
> Suggested-by: Peter Chen <peter.chen-3arQi8VN3Tc@public.gmane.org>
> Signed-off-by: Stefan Wahren <stefan.wahren-eS4NqCHxEME@public.gmane.org>
> ---
> drivers/usb/chipidea/ci_hdrc_imx.c | 6 ++++++
> 1 file changed, 6 insertions(+)
>

is the series okay?

Regards
Stefan
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* Re: [PATCH 1/2] usb: chipidea: add CI_HDRC_TURN_VBUS_EARLY_ON for imx23
       [not found]     ` <245634301.105525.a366f7cd-6533-4e6a-9506-5cc94a8288bd.open-xchange-7tX72C7vayboQLBSYMtkGA@public.gmane.org>
@ 2016-01-18  2:07       ` Peter Chen
  0 siblings, 0 replies; 5+ messages in thread
From: Peter Chen @ 2016-01-18  2:07 UTC (permalink / raw)
  To: Stefan Wahren
  Cc: Peter Chen, Greg Kroah-Hartman, Pawel Moll, Rob Herring,
	linux-usb-u79uwXL29TY76Z2rM5mHXA, Mark Rutland,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, Fabio Estevam,
	devicetree-u79uwXL29TY76Z2rM5mHXA

On Sun, Jan 17, 2016 at 07:56:31PM +0100, Stefan Wahren wrote:
> Hi Peter,
> 
> > Stefan Wahren <stefan.wahren-eS4NqCHxEME@public.gmane.org> hat am 29. Dezember 2015 um 17:41
> > geschrieben:
> >
> >
> > Until now the imx23 uses the imx27 platform flag. But the
> > imx23 needs the flag CI_HDRC_TURN_VBUS_EARLY_ON, too. So
> > fix this by adding a separate platform flag.
> >
> > Suggested-by: Peter Chen <peter.chen-3arQi8VN3Tc@public.gmane.org>
> > Signed-off-by: Stefan Wahren <stefan.wahren-eS4NqCHxEME@public.gmane.org>
> > ---
> > drivers/usb/chipidea/ci_hdrc_imx.c | 6 ++++++
> > 1 file changed, 6 insertions(+)
> >
> 
> is the series okay?

Yes, it is ok, already at my patch queue

-- 

Best Regards,
Peter Chen
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

end of thread, other threads:[~2016-01-18  2:07 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-29 16:41 [PATCH 1/2] usb: chipidea: add CI_HDRC_TURN_VBUS_EARLY_ON for imx23 Stefan Wahren
     [not found] ` <1451407269-14905-1-git-send-email-stefan.wahren-eS4NqCHxEME@public.gmane.org>
2015-12-29 16:41   ` [PATCH 2/2] dt-bindings: ci-hdrc-usb2: add missing compatibles Stefan Wahren
     [not found]     ` <1451407269-14905-2-git-send-email-stefan.wahren-eS4NqCHxEME@public.gmane.org>
2015-12-29 18:49       ` Rob Herring
2016-01-17 18:56   ` [PATCH 1/2] usb: chipidea: add CI_HDRC_TURN_VBUS_EARLY_ON for imx23 Stefan Wahren
     [not found]     ` <245634301.105525.a366f7cd-6533-4e6a-9506-5cc94a8288bd.open-xchange-7tX72C7vayboQLBSYMtkGA@public.gmane.org>
2016-01-18  2:07       ` 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).